Skip to main content
VulnerabilityPublished Updated

CVE-2025-39866: Linux kernel · fs: writeback: fix use-after-free in __mark_inode_dirty()

Affects Linux kernelSource CVE Database V5

0
Compare

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

CVSS 3.1 base score
7.8High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (Linux)CVSS 3.17.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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 19 Sep 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ 0747259d13febfcc838980a63c414c9b920cea6f, < e63052921f1b25a836feb1500b841bff7a4a0456
Fixed in
  • e63052921f1b25a836feb1500b841bff7a4a0456
LinuxLinuxAffected
  • ≥ 0747259d13febfcc838980a63c414c9b920cea6f, < e2a14bbae5d8bacaa301362744a110e2be40a3a3
Fixed in
  • e2a14bbae5d8bacaa301362744a110e2be40a3a3
LinuxLinuxAffected
  • ≥ 0747259d13febfcc838980a63c414c9b920cea6f, < d02d2c98d25793902f65803ab853b592c7a96b29
Fixed in
  • d02d2c98d25793902f65803ab853b592c7a96b29
LinuxLinuxAffected
  • ≥ 0747259d13febfcc838980a63c414c9b920cea6f, < c8c14adf80bd1a6e4a1d7ee9c2a816881c26d17a
Fixed in
  • c8c14adf80bd1a6e4a1d7ee9c2a816881c26d17a
LinuxLinuxAffected
  • ≥ 0747259d13febfcc838980a63c414c9b920cea6f, < bf89b1f87c72df79cf76203f71fbf8349cd5c9de
Fixed in
  • bf89b1f87c72df79cf76203f71fbf8349cd5c9de
LinuxLinuxAffected
  • ≥ 0747259d13febfcc838980a63c414c9b920cea6f, < b187c976111960e6e54a6b1fff724f6e3d39406c
Fixed in
  • b187c976111960e6e54a6b1fff724f6e3d39406c

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

Community reviews

Loading reviews…