CVE-2025-37999: Linux kernel · fs/erofs/fileio: call erofs_onlinefolio_split() after bio_add_folio()
Source GCVE Database
Not known to be exploited · CVSS 5.5 High.
Data as of 13 Nov 2026, 18:51 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 29 May 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 13 Nov 2026.
What to do
AI-suggested
A fix is available that changes the code to call erofs_onlinefolio_split() only after bio_add_folio() has succeeded. Users should update their Linux kernel to a version containing this fix. No other mitigations are indicated or required.
Description
CVE-2025-37999 is a medium-severity vulnerability in the Linux kernel's EROFS filesystem code. It involves improper handling of folio references when bio_add_folio() fails, leading to a folio being locked indefinitely. This causes processes waiting on the folio to hang, resulting in a denial of service. The issue was introduced by a commit supporting unencoded inodes and became exploitable after a later commit reduced bio array capacity. The fix involves calling erofs_onlinefolio_split() only after bio_add_folio() succeeds to ensure proper folio reference counting.
References
- nvd.nist.gov/vuln/detail/CVE-2025-37999 (opens in a new tab)
- git.kernel.org/stable/c/61e0fc3312309867e5a3495329dad0286d2a5703 (opens in a new tab)
- git.kernel.org/stable/c/bbfe756dc3062c1e934f06e5ba39c239aa953b92 (opens in a new tab)
- git.kernel.org/stable/c/c26076197df348c84cc23e5962d61902e072a0f5 (opens in a new tab)