PoC Monitor
← All CVEs
CVE-2025-39682published 5 Sep 2025 17:20 UTCData: JSON · API

Linux

tls: fix handling of zero-length records on the rx_list

In the Linux kernel, the following vulnerability has been resolved: tls: fix handling of zero-length records on the rx_list Each recvmsg() call must process either - only contiguous DATA records (any number of them) - one non-DATA record If the next record has different type than what has already been processed we break out of the main processing loop. If the record has already been decrypted (which may be the case for TLS 1.3 where we don't know type until decryption) we queue the pending record to the rx_list. Next recvmsg() will pick it up from there. Queuing the skb to rx_list after zero-copy decrypt is not possible, since in that case we decrypted directly to the user space buffer, and we don't have an skb to queue (darg.skb points to the ciphertext skb for access to metadata like length). Only data records are allowed zero-copy, and we break the processing loop after each non-data record. So we should never zero-copy and then find out that the record type has changed. The corner case we missed is when the initial record comes from rx_list, and it's zero length.

First public PoC 39 daysafter publication · 14 Oct 2025
Public PoCs22 on GitHub
CVSS9.8critical · scored by CNA · CWE-754
CISA KEV 18 Sep 20261.0 years after publication

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Linux Linux
  • >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 2902c3ebcca52ca845c03182000e8d71d3a5196f
  • >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < c09dd3773b5950e9cfb6c9b9a5f6e36d06c62677
  • >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 3439c15ae91a517cf3c650ea15a8987699416ad9
  • >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 29c0ce3c8cdb6dc5d61139c937f34cb888a6f42e
  • >= 84c61fe1a75b4255df1e1e7c054c9e6d048da417, < 62708b9452f8eb77513115b17c4f8d1a22ebf843

Fixed in 2902c3ebcca52ca845c03182000e8d71d3a5196f, c09dd3773b5950e9cfb6c9b9a5f6e36d06c62677, 3439c15ae91a517cf3c650ea15a8987699416ad9, 29c0ce3c8cdb6dc5d61139c937f34cb888a6f42e, 62708b9452f8eb77513115b17c4f8d1a22ebf843

Linux Linux
  • 6.0

Fixed in 0, 6.1.149, 6.6.103, 6.12.44, 6.16.4, 6.17

Mitigation

Upgrade Linux to 2902c3ebcca52ca845c03182000e8d71d3a5196f or c09dd3773b5950e9cfb6c9b9a5f6e36d06c62677 or 3439c15ae91a517cf3c650ea15a8987699416ad9 or 29c0ce3c8cdb6dc5d61139c937f34cb888a6f42e or 62708b9452f8eb77513115b17c4f8d1a22ebf843 or later.

Upgrade Linux to 0 or 6.1.149 or 6.6.103 or 6.12.44 or 6.16.4 or 6.17 or later.

Timeline

Days relative to CVE publication
t=0+60+120+180+240+300+360CVE published5 Sep 2025 · t = 0First public PoC14 Oct 2025 · t+39dAdded to CISA KEV18 Sep 2026 · t+1.0y

First public PoC 39 days after publication; added to CISA KEV 1.0 years after publication. First PoC: khoatran107/cve-2025-39682 (created 14 Oct 2025, found by us: backfilled).

PoC repositories

Found on GitHub.

2 PoCs

PoCs 2
RepositoryCreatedStarsAssessment
khoatran107/cve-2025-39682 14 Oct 2025 +39 d 6 PoC
suominen/CVE-2025-39682 20 Sep 2026 +1.0 y 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 2 PoC repos

GET /madison

Query
package=linux s=sid,forky,trixie,bookworm,bullseye text=on
Ports
1313
Seen in
1 repo: suominen/CVE-2025-39682
Evidence
suominen/CVE-2025-39682/CLAUDE.md:524 suominen/CVE-2025-39682/scripts/auto-update-prompt.txt:109

GET /mr/package/linux/{var}/srcfiles

Query
fileinfo=1
Ports
1313
Seen in
1 repo: suominen/CVE-2025-39682
Evidence
suominen/CVE-2025-39682/CLAUDE.md:531

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /
(?i)^/\?(?:.*&)?delimiter=/.*prefix=.*marker=
GET /dev/null
(?i)^/dev/null(?:[?#].*)?$
GET /madison
(?i)^/madison\?(?:.*&)?package=linux.*s=sid,forky,trixie,bookworm,bullseye.*text=on
GET /mr/package/linux/{var}/srcfiles
(?i)^/mr/package/linux/[^/?#]*/srcfiles\?(?:.*&)?fileinfo=1
GET /tracker/data/json
(?i)^/tracker/data/json(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /
alert http any any -> $HOME_NET [1313] (msg:"GG PoC-Monitor CVE-2025-39682 Linux Linux exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"delimiter=/"; http.uri; content:"prefix="; http.uri; content:"marker="; reference:url,poc.griffinguard.io/cve/CVE-2025-39682; classtype:web-application-attack; sid:9136353; rev:1;)
GET /dev/null
alert http any any -> $HOME_NET [1313] (msg:"GG PoC-Monitor CVE-2025-39682 Linux Linux exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/dev/null"; reference:url,poc.griffinguard.io/cve/CVE-2025-39682; classtype:web-application-attack; sid:9784708; rev:1;)
GET /madison
alert http any any -> $HOME_NET [1313] (msg:"GG PoC-Monitor CVE-2025-39682 Linux Linux exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/madison"; http.uri; content:"package=linux"; http.uri; content:"s=sid,forky,trixie,bookworm,bullseye"; http.uri; content:"text=on"; reference:url,poc.griffinguard.io/cve/CVE-2025-39682; classtype:web-application-attack; sid:9443004; rev:1;)
GET /mr/package/linux/{var}/srcfiles
alert http any any -> $HOME_NET [1313] (msg:"GG PoC-Monitor CVE-2025-39682 Linux Linux exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/mr/package/linux/"; http.uri; content:"/srcfiles"; http.uri; content:"fileinfo=1"; reference:url,poc.griffinguard.io/cve/CVE-2025-39682; classtype:web-application-attack; sid:9206538; rev:1;)
GET /tracker/data/json
alert http any any -> $HOME_NET [1313] (msg:"GG PoC-Monitor CVE-2025-39682 Linux Linux exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/tracker/data/json"; reference:url,poc.griffinguard.io/cve/CVE-2025-39682; classtype:web-application-attack; sid:9128739; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /
title: Linux Linux exploit attempt (CVE-2025-39682)
id: gg-pocmon-cve-2025-39682-9136353
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-39682. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-39682
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-query|contains|all:
      - 'delimiter=/'
      - 'prefix='
      - 'marker='
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.39682
GET /dev/null
title: Linux Linux exploit attempt (CVE-2025-39682)
id: gg-pocmon-cve-2025-39682-9784708
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-39682. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-39682
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/dev/null'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.39682
GET /madison
title: Linux Linux exploit attempt (CVE-2025-39682)
id: gg-pocmon-cve-2025-39682-9443004
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-39682. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-39682
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/madison'
    cs-uri-query|contains|all:
      - 'package=linux'
      - 's=sid,forky,trixie,bookworm,bullseye'
      - 'text=on'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.39682
GET /mr/package/linux/{var}/srcfiles
title: Linux Linux exploit attempt (CVE-2025-39682)
id: gg-pocmon-cve-2025-39682-9206538
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-39682. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-39682
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/mr/package/linux/'
      - '/srcfiles'
    cs-uri-query|contains|all:
      - 'fileinfo=1'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.39682
GET /tracker/data/json
title: Linux Linux exploit attempt (CVE-2025-39682)
id: gg-pocmon-cve-2025-39682-9128739
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-39682. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-39682
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/tracker/data/json'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.39682