CVE-2025-40233: Linux kernel · ocfs2: clear extent cache after moving/defragmenting extents
Source GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 4% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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 4 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: 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 26 Oct 2026.
What to do
AI-suggested
The described fix involves clearing the extent map cache after extent move or defragment operations. Users should monitor official Linux kernel advisories for patches addressing CVE-2025-40233 and apply updates when available.
Description
A vulnerability in the Linux kernel's ocfs2 filesystem occurs due to stale extent map cache after moving or defragmenting extents. This stale cache causes a mismatch between cached extent flags and the actual flags on disk, triggering a kernel BUG_ON condition. The issue arises specifically when reflinked extents are moved or defragmented without invalidating the extent map cache. The vulnerability has been resolved by clearing the extent map cache after each extent move or defragment operation to ensure fresh data is read from disk.
References
- nvd.nist.gov/vuln/detail/CVE-2025-40233 (opens in a new tab)
- git.kernel.org/stable/c/78a63493f8e352296dbc7cb7b3f4973105e8679e (opens in a new tab)
- git.kernel.org/stable/c/93166bc53c0e3587058327a4121daea34b4fecd5 (opens in a new tab)
- git.kernel.org/stable/c/93b1ab422f1966b71561158e1aedce4ec100f357 (opens in a new tab)
- git.kernel.org/stable/c/a21750df2f6169af6e039a3bb4893d6c9564e48d (opens in a new tab)
- git.kernel.org/stable/c/a7ee72286efba1d407c6f15a0528e43593fb7007 (opens in a new tab)
- git.kernel.org/stable/c/aa6a21409dd6221bb268b56bb410e031c632ff9a (opens in a new tab)
- git.kernel.org/stable/c/bb69928ed578f881e68d26aaf1a8f6e7faab3b44 (opens in a new tab)
- git.kernel.org/stable/c/e92af7737a94a729225d2a5d180eaaa77fe0bbc1 (opens in a new tab)