CVE-2025-21811: nilfs2: protect access to buffers with no active references
Vulnerability summary
CVE-2025-21811 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 18.2% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 51 · Related 50Timeline
- 27-02-2025PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.26%
Chance of exploitation in the next 30 days
Percentile
18%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.26% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu137 products
- linuxAll versions (No fix recorded) | < 4.4.0-276.310 | < 4.15.0-245.257 | < 5.4.0-216.236 | < 5.15.0-140.150 | < 6.8.0-64.67
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 4.4.0-1150.156 | < 4.4.0-1188.203 | < 4.15.0-1187.200 | < 5.4.0-1146.156 | < 5.15.0-1084.91 | < 6.8.0-1032.34
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 8c26c4e2694a163d525976e804d81cd955bbb40c, < e1fc4a90a90ea8514246c45435662531975937d9 | ≥ 8c26c4e2694a163d525976e804d81cd955bbb40c, < 72cf688d0ce7e642b12ddc9b2a42524737ec1b4a | ≥ 8c26c4e2694a163d525976e804d81cd955bbb40c, < d8ff250e085a4c4cdda4ad1cdd234ed110393143 | ≥ 8c26c4e2694a163d525976e804d81cd955bbb40c, < 58c27fa7a610b6e8d44e6220e7dbddfbaccaf439 | ≥ 8c26c4e2694a163d525976e804d81cd955bbb40c, < 8e1b9201c9a24638cf09c6e1c9f224157328010b | ≥ 8c26c4e2694a163d525976e804d81cd955bbb40c, < 4b08d23d7d1917bef4fbee8ad81372f49b006656 | ≥ 8c26c4e2694a163d525976e804d81cd955bbb40c, < c437dfac9f7a5a46ac2a5e6d6acd3059e9f68188 | ≥ 8c26c4e2694a163d525976e804d81cd955bbb40c, < 367a9bffabe08c04f6d725032cce3d891b2b9e1a | 3.10
- linux_kernel≥ 3.10, < 5.4.291 | ≥ 5.5, < 5.10.235 | ≥ 5.11, < 5.15.179 | ≥ 5.16, < 6.1.129 | ≥ 6.2, < 6.6.76 | ≥ 6.7, < 6.12.13 | ≥ 6.13, < 6.13.2
Debian1 product
- linux< 6.1.129-1 | < 6.12.13-1
3 vendors · 140 products