Skip to main content
Network Thinking Solutions Logo

CVE-2025-21691

Linux kernel: cachestat: fix page cache statistics permission checking

All CVEs
CVE-2025-21691Published 2/10/2025

Linux kernel: cachestat: fix page cache statistics permission checking

Vendor advisory
CVSS5.5Medium

Overview

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).

Published
2/10/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 6.5, < 6.6.75

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.12

Verify advisory

Source
linux kernel
linux
6.13

Verify advisory

Source
Linux
Linux
≥ cf264e1329fb0307e044f7675849f9f38b44c11a, < 7d6405c13b0d8a8367cd8df63f118b619a3f0dd2

Verify advisory

Source
Linux
Linux
≥ cf264e1329fb0307e044f7675849f9f38b44c11a, < 780ab8329672464984cf1344bd5c3993af0226c7

Verify advisory

Source
Linux
Linux
≥ cf264e1329fb0307e044f7675849f9f38b44c11a, < 97153a05077f618f7471f50a78158602badccb30

Verify advisory

Source
Linux
Linux
≥ cf264e1329fb0307e044f7675849f9f38b44c11a, < 5f537664e705b0bf8b7e329861f20128534f6a83

Verify advisory

Source
Linux
Linux
6.5

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.