CVE-2025-21691
Last modified
CVE-2025-21691 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: cachestat: fix page cache statistics permission checking When the 'cachestat()' system call was added in commit cf264e1329fb ("cachestat: implement cachestat syscall"), it was meant to be a much more convenient (and performant) version of mincore() that didn't need mapping things into the user virtual address space in order to work. But it ended up missing the "check for writability or ownership" fix for mincore(), done in commit 134fca9063ad ("mm/mincore.c: make mincore() more conservative"). This just adds equivalent logic to 'cachestat()', modified for the file context (rather than vma).. EPSS estimates a 0.19% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: cachestat: fix page cache statistics permission checking When the 'cachestat()' system call was added in commit cf264e1329fb ("cachestat: implement cachestat syscall"), it was meant to be a much more convenient (and performant) version of mincore() that didn't need mapping things into the user virtual address space in order to work. But it ended up missing the "check for writability or ownership" fix for mincore(), done in commit 134fca9063ad ("mm/mincore.c: make mincore() more conservative"). This just adds equivalent logic to 'cachestat()', modified for the file context (rather than vma).
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.5, < 6.6.75 |
| Linux | Linux Kernel | >= 6.7, < 6.12.12 |
| Linux | Linux Kernel | 6.13 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-21691?
How severe is CVE-2025-21691?
How do I fix CVE-2025-21691?
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-21686Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2025-21687In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-21688In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2025-21689In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-2169The The WPCS – WordPress Currency Switcher Professional plug…7.3
- CVE-2025-21690In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21692In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-21693In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-21694In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21695In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2025-21696In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21697In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2025-21691?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
