CVE-2025-39866: Linux kernel · fs: writeback: fix use-after-free in __mark_inode_dirty()
Affects Linux kernelSource CVE Database V5
Not known to be exploited · CVSS 7.8 High · fixed in e63052921f1b25a836feb1500b841bff7a4a0456 : patch Linux kernel soon.
Data as of 10 Nov 2026, 12:49 UTC
Thin evidence
One scorer or none| CNA (Linux) | CVSS 3.1 | 7.8 |
|---|
- CISA SSVC
- Exploitation
- No evidence of active exploitation and no public proof of concept
- Automatable
- Attackers cannot reliably automate steps 1–4 of the kill chain
- Technical impact
- Total control over the software or total information disclosure
CISA SSVC assessment, 2026-10-15.
- Patch
- Available – fixed in e63052921f1b25a836feb1500b841bff7a4a0456, e2a14bbae5d8bacaa301362744a110e2be40a3a3, d02d2c98d25793902f65803ab853b592c7a96b29 +4
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 19 Sep 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 10 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
AI-suggested
A fix for this vulnerability is available and has been incorporated in several Linux kernel commits following version 4.2. Users and administrators should update their Linux kernel to a version that includes these fixes to mitigate the issue. Since this is not a cloud service, manual patching is required. No additional mitigations are indicated by the vendor advisory.
Description
CVE-2025-39866 is a use-after-free vulnerability in the Linux kernel's __mark_inode_dirty() function related to the writeback mechanism. The flaw arises from a race condition when __mark_inode_dirty() accesses a bdi_writeback structure that is being switched, leading to potential memory corruption. This issue affects Linux kernel version 4.2 and has been fixed in subsequent commits. The vulnerability has a high severity rating with a CVSS score of 7.8, impacting confidentiality, integrity, and availability.
References
- git.kernel.org/stable/c/e2a14bbae5d8bacaa301362744a110e2be40a3a3 (opens in a new tab)
- git.kernel.org/stable/c/b187c976111960e6e54a6b1fff724f6e3d39406c (opens in a new tab)
- git.kernel.org/stable/c/1edc2feb9c759a9883dfe81cb5ed231412d8b2e4 (opens in a new tab)
- git.kernel.org/stable/c/bf89b1f87c72df79cf76203f71fbf8349cd5c9de (opens in a new tab)
- git.kernel.org/stable/c/e63052921f1b25a836feb1500b841bff7a4a0456 (opens in a new tab)
- git.kernel.org/stable/c/c8c14adf80bd1a6e4a1d7ee9c2a816881c26d17a (opens in a new tab)
- git.kernel.org/stable/c/d02d2c98d25793902f65803ab853b592c7a96b29 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/10/msg00008.html (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-082556.html (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-032379.html (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-019113.html (opens in a new tab)
- cert-portal.siemens.com/productcert/html/ssa-457936.html (opens in a new tab)