Linux
crypto: af_alg - Disallow concurrent writes in af_alg_sendmsg
In the Linux kernel, the following vulnerability has been resolved: crypto: af_alg - Disallow concurrent writes in af_alg_sendmsg Issuing two writes to the same af_alg socket is bogus as the data will be interleaved in an unpredictable fashion. Furthermore, concurrent writes may create inconsistencies in the internal socket state. Disallow this by adding a new ctx->write field that indiciates exclusive ownership for writing.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, < 0f28c4adbc4a97437874c9b669fd7958a8c6d6ce
- >= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, < e4c1ec11132ec466f7362a95f36a506ce4dc08c9
- >= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, < 1f323a48e9b5ebfe6dc7d130fdf5c3c0e92a07c8
- >= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, < 7c4491b5644e3a3708f3dbd7591be0a570135b84
- >= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, < 9aee87da5572b3a14075f501752e209801160d3d
- >= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, < 45bcf60fe49b37daab1acee57b27211ad1574042
- >= 8ff590903d5fc7f5a0a988c38267a3d08e6393a2, < 1b34cbbf4f011a121ef7b2d7d6e6920a036d5285
Fixed in 0f28c4adbc4a97437874c9b669fd7958a8c6d6ce, e4c1ec11132ec466f7362a95f36a506ce4dc08c9, 1f323a48e9b5ebfe6dc7d130fdf5c3c0e92a07c8, 7c4491b5644e3a3708f3dbd7591be0a570135b84, 9aee87da5572b3a14075f501752e209801160d3d, 45bcf60fe49b37daab1acee57b27211ad1574042, 1b34cbbf4f011a121ef7b2d7d6e6920a036d5285
- 2.6.38
Fixed in 0, 5.10.245, 5.15.194, 6.1.154, 6.6.108, 6.12.49, 6.16.9, 6.17
Mitigation
Upgrade Linux to 0f28c4adbc4a97437874c9b669fd7958a8c6d6ce or e4c1ec11132ec466f7362a95f36a506ce4dc08c9 or 1f323a48e9b5ebfe6dc7d130fdf5c3c0e92a07c8 or 7c4491b5644e3a3708f3dbd7591be0a570135b84 or 9aee87da5572b3a14075f501752e209801160d3d or 45bcf60fe49b37daab1acee57b27211ad1574042 or 1b34cbbf4f011a121ef7b2d7d6e6920a036d5285 or later.
Upgrade Linux to 0 or 5.10.245 or 5.15.194 or 6.1.154 or 6.6.108 or 6.12.49 or 6.16.9 or 6.17 or later.
Timeline
Days relative to CVE publicationFirst public PoC 31 days after publication; added to CISA KEV 340 days after publication. First PoC: n1k0oowang/CVE-2025-39964_EXP (created 13 Nov 2025, found by us: backfilled).
PoC repositories
Found on GitHub.3 PoCs
PoCs 3
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| n1k0oowang/CVE-2025-39964_EXP | 13 Nov 2025 +31 d | 3 | PoC |
| OBLIVION-EDGE-VR-LLC/Archimedes | 11 Jan 2026 +90 d | 0 | PoC via PoC Index |
| suominen/CVE-2025-39964 | 20 Sep 2026 +342 d | 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 3 PoC reposGET /
- Query
delimiter=/prefix=marker=- Ports
- 1313
- Seen in
- 1 repo: suominen/CVE-2025-39964
- Evidence
- suominen/CVE-2025-39964/scripts/nixos-first-shipped:108 suominen/CVE-2025-39964/scripts/nixos-first-shipped:174
GET /dev/null
- Ports
- 1313
- Seen in
- 1 repo: suominen/CVE-2025-39964
- Evidence
- suominen/CVE-2025-39964/scripts/nixos-first-shipped:206
GET /madison
- Query
package=linuxs=sid,forky,trixie,bookworm,bullseyetext=on- Ports
- 1313
- Seen in
- 1 repo: suominen/CVE-2025-39964
- Evidence
- suominen/CVE-2025-39964/CLAUDE.md:482 suominen/CVE-2025-39964/scripts/auto-update-prompt.txt:111
GET /mr/package/linux/{var}/srcfiles
- Query
fileinfo=1- Ports
- 1313
- Seen in
- 1 repo: suominen/CVE-2025-39964
- Evidence
- suominen/CVE-2025-39964/CLAUDE.md:492
GET /tracker/data/json
- Ports
- 1313
- Seen in
- 1 repo: suominen/CVE-2025-39964
- Evidence
- suominen/CVE-2025-39964/CLAUDE.md:474 suominen/CVE-2025-39964/scripts/auto-update-prompt.txt:109
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/\?(?:.*&)?delimiter=/.*prefix=.*marker=
(?i)^/dev/null(?:[?#].*)?$
(?i)^/madison\?(?:.*&)?package=linux.*s=sid,forky,trixie,bookworm,bullseye.*text=on
(?i)^/mr/package/linux/[^/?#]*/srcfiles\?(?:.*&)?fileinfo=1
(?i)^/tracker/data/json(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [1313] (msg:"GG PoC-Monitor CVE-2025-39964 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-39964; classtype:web-application-attack; sid:9305396; rev:1;)
alert http any any -> $HOME_NET [1313] (msg:"GG PoC-Monitor CVE-2025-39964 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-39964; classtype:web-application-attack; sid:9610457; rev:1;)
alert http any any -> $HOME_NET [1313] (msg:"GG PoC-Monitor CVE-2025-39964 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-39964; classtype:web-application-attack; sid:9220619; rev:1;)
alert http any any -> $HOME_NET [1313] (msg:"GG PoC-Monitor CVE-2025-39964 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-39964; classtype:web-application-attack; sid:9357201; rev:1;)
alert http any any -> $HOME_NET [1313] (msg:"GG PoC-Monitor CVE-2025-39964 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-39964; classtype:web-application-attack; sid:9429256; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Linux Linux exploit attempt (CVE-2025-39964)
id: gg-pocmon-cve-2025-39964-9305396
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-39964. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-39964
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-query|contains|all:
- 'delimiter=/'
- 'prefix='
- 'marker='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.39964
title: Linux Linux exploit attempt (CVE-2025-39964)
id: gg-pocmon-cve-2025-39964-9610457
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-39964. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-39964
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/dev/null'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.39964
title: Linux Linux exploit attempt (CVE-2025-39964)
id: gg-pocmon-cve-2025-39964-9220619
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-39964. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-39964
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: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.39964
title: Linux Linux exploit attempt (CVE-2025-39964)
id: gg-pocmon-cve-2025-39964-9357201
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-39964. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-39964
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: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.39964
title: Linux Linux exploit attempt (CVE-2025-39964)
id: gg-pocmon-cve-2025-39964-9429256
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-39964. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-39964
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/tracker/data/json'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.39964