CVE-2025-39964 is a race condition in the Linux kernel crypto AF_ALG subsystem. The af_alg_sendmsg operation permits concurrent writes to the same AF_ALG socket. The writes can interleave input data unpredictably and leave the socket’s internal state inconsistent, affecting cryptographic operation processing. The flaw was present from Linux kernel 2.6.38 and is corrected by enforcing exclusive write ownership through a context write-state field.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.
This repository contains a Linux kernel local privilege escalation exploit written in C. The main file, exploit.c, is a sophisticated exploit that leverages kernel memory manipulation, socket operations, and thread spraying to achieve arbitrary kernel memory write. The exploit's goal is to overwrite the /proc/sys/kernel/core_pattern file, which controls the program executed when a process crashes and generates a core dump. By overwriting this file to point to a file descriptor containing the attacker's own binary, and then triggering a crash, the exploit causes the kernel to execute the attacker's code as root, resulting in a root shell. The exploit uses advanced techniques such as KASLR bypass (reading /proc/kallsyms), memory mapping, and thread synchronization. It interacts with several fingerprintable endpoints, notably /proc/sys/kernel/core_pattern, /proc/self/exe, and /proc/kallsyms. The Makefile is simple and compiles the exploit statically. The exploit is operational and provides a working root shell payload if the target is vulnerable. No network endpoints are involved; the attack vector is purely local.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
40 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A Linux kernel AF_ALG socket race condition (CVSS 7.8) allowing concurrent writes that can crash systems or corrupt cryptographic-operation results, causing denial of service or data-integrity issues.
A Linux kernel vulnerability in the crypto af_alg interface where concurrent writes to the same af_alg socket can interleave data unpredictably and create inconsistencies in internal socket state.
A Linux kernel AF_ALG crypto socket flaw where concurrent writes to the same socket can unpredictably interleave data and create inconsistent internal socket state. The fix adds exclusive write ownership through a ctx->write field.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.