CVE-2025-21691
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
10/02/2025
Last modified:
15/10/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
cachestat: fix page cache statistics permission checking<br />
<br />
When the &#39;cachestat()&#39; system call was added in commit cf264e1329fb<br />
("cachestat: implement cachestat syscall"), it was meant to be a much<br />
more convenient (and performant) version of mincore() that didn&#39;t need<br />
mapping things into the user virtual address space in order to work.<br />
<br />
But it ended up missing the "check for writability or ownership" fix for<br />
mincore(), done in commit 134fca9063ad ("mm/mincore.c: make mincore()<br />
more conservative").<br />
<br />
This just adds equivalent logic to &#39;cachestat()&#39;, modified for the file<br />
context (rather than vma).
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.5 (including) | 6.6.75 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (including) | 6.12.12 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.13:*:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



