CVE-2025-21811
Last modified
CVE-2025-21811 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 3.10, < 5.4.291 |
| Linux | Linux Kernel | >= 5.5, < 5.10.235 |
| Linux | Linux Kernel | >= 5.11, < 5.15.179 |
| Linux | Linux Kernel | >= 5.16, < 6.1.129 |
| Linux | Linux Kernel | >= 6.2, < 6.6.76 |
| Linux | Linux Kernel | >= 6.7, < 6.12.13 |
| Linux | Linux Kernel | >= 6.13, < 6.13.2 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-21811?
How severe is CVE-2025-21811?
How do I fix CVE-2025-21811?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-21806In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21807In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21808In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21809In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-2181A sensitive information disclosure vulnerability in Palo Alt…5.9
- CVE-2025-21810In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21812In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-21813In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21814In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21815In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-21816In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21817In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2025-21811?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
