CVE-2025-21811nilfs2: protect access to buffers with no active references
- 7.8HighCVSS base score
- 0.26%Exploitation in 30 daysEPSS · top 83% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: nilfs2: protect access to buffers with no active references nilfs_lookup_dirty_data_buffers(), which iterates through the buffers attached to dirty data folios/pages, accesses the attached buffers without locking the folios/pages. For data cache, nilfs_clear_folio_dirty() may be called asynchronously when the file system degenerates to read only, so nilfs_lookup_dirty_data_buffers() still has the potential to cause use after free issues when buffers lose the protection of their dirty state midway due to this asynchronous clearing and are unintentionally freed by try_to_free_buffers(). Eliminate this race issue by adjusting the lock section in this function.
Timeline
ID reserved
By Linux
- 2 months later
· 2 months later
Published
- 17 months later
· 17 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CISA-ADPADP (enrichment) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.26% · top 83% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
- affected 8c26c4e2694a163d525976e804d81cd955bbb40c – < e1fc4a90a90ea8514246c45435662531975937d9
- affected 8c26c4e2694a163d525976e804d81cd955bbb40c – < 72cf688d0ce7e642b12ddc9b2a42524737ec1b4a
- affected 8c26c4e2694a163d525976e804d81cd955bbb40c – < d8ff250e085a4c4cdda4ad1cdd234ed110393143
- affected 8c26c4e2694a163d525976e804d81cd955bbb40c – < 58c27fa7a610b6e8d44e6220e7dbddfbaccaf439
- affected 8c26c4e2694a163d525976e804d81cd955bbb40c – < 8e1b9201c9a24638cf09c6e1c9f224157328010b
- affected 8c26c4e2694a163d525976e804d81cd955bbb40c – < 4b08d23d7d1917bef4fbee8ad81372f49b006656
- affected 8c26c4e2694a163d525976e804d81cd955bbb40c – < c437dfac9f7a5a46ac2a5e6d6acd3059e9f68188
- affected 8c26c4e2694a163d525976e804d81cd955bbb40c – < 367a9bffabe08c04f6d725032cce3d891b2b9e1a
- affected 3.10
- unaffected < 3.10
- unaffected 5.4.291 – ≤ 5.4.*
- unaffected 5.10.235 – ≤ 5.10.*
- unaffected 5.15.179 – ≤ 5.15.*
- unaffected 6.1.129 – ≤ 6.1.*
- unaffected 6.6.76 – ≤ 6.6.*
- unaffected 6.12.13 – ≤ 6.12.*
- unaffected 6.13.2 – ≤ 6.13.*
- unaffected 6.14 – ≤ *
References
References10
- https://git.kernel.org/stable/c/e1fc4a90a90ea8514246c45435662531975937d9 (opens in a new tab)
- https://git.kernel.org/stable/c/72cf688d0ce7e642b12ddc9b2a42524737ec1b4a (opens in a new tab)
- https://git.kernel.org/stable/c/d8ff250e085a4c4cdda4ad1cdd234ed110393143 (opens in a new tab)
- https://git.kernel.org/stable/c/58c27fa7a610b6e8d44e6220e7dbddfbaccaf439 (opens in a new tab)
- https://git.kernel.org/stable/c/8e1b9201c9a24638cf09c6e1c9f224157328010b (opens in a new tab)
- https://git.kernel.org/stable/c/4b08d23d7d1917bef4fbee8ad81372f49b006656 (opens in a new tab)
- https://git.kernel.org/stable/c/c437dfac9f7a5a46ac2a5e6d6acd3059e9f68188 (opens in a new tab)
- https://git.kernel.org/stable/c/367a9bffabe08c04f6d725032cce3d891b2b9e1a (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-5976 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-21811)Record last updated .