CVE-2025-39866 is a use-after-free vulnerability in the Linux kernel writeback subsystem, specifically in __mark_inode_dirty(). The flaw is caused by a race condition during bdi_writeback switching for an inode. In the vulnerable sequence, __mark_inode_dirty() obtains and later uses inode->i_wb while another worker concurrently switches the inode to a new writeback structure and releases the old one. As a result, wb_wakeup_delayed() can access a bdi_writeback object that has already been freed. The issue was observed along a normal file-write path involving generic_update_time(), file_modified(), and filesystem write handlers such as ext4 buffered writes. The upstream fix resolves the race by holding the inode spinlock until wb_wakeup_delayed() has completed, preventing the stale writeback structure from being freed while still in use.
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 proof-of-concept (POC) exploit for CVE-2025-39866, a use-after-free (UAF) vulnerability in the Linux kernel (versions prior to 6.12.16) due to a missing spinlock in the writeback subsystem. The exploit is implemented as a Linux kernel module (poc.c) that, when loaded, creates two threads: one manipulates the writeback (wb) structure of a file inode, while the other schedules a work item that frees the same structure, creating a race condition. If successful, this results in a kernel panic or crash (denial of service). The exploit does not provide privilege escalation or a shell; it is strictly a POC for triggering the vulnerability. The only code file is 'poc.c', which contains the kernel module logic. The README.md provides detailed build and usage instructions, as well as background on the vulnerability and mitigation strategies. The exploit interacts with the '/tmp' directory and creates a file '/tmp/file.txt' as part of its operation. No network endpoints are involved; the attack vector is local, requiring the ability to load kernel modules.
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.
22 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
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.