CVE-2025-21691

MEDIUM

Linux Kernel 6.5-6.6.74, 6.7-6.12.11, 6.13 - Unauthenticated Information Disclosure via cachestat() Permission Bypass

Title source: llm
STIX 2.1

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

Scores

CVSS v3 5.5
EPSS 0.0020
EPSS Percentile 9.9%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

Status published
Products (15)
linux/Kernel 6.13.0 - 6.13.1linux
linux/Kernel 6.5.0 - 6.6.75linux
linux/Kernel 6.7.0 - 6.12.12linux
Linux/Linux < 6.5
Linux/Linux 6.12.12 - 6.12.*
Linux/Linux 6.13.1 - 6.13.*
Linux/Linux 6.14
Linux/Linux 6.5
Linux/Linux 6.6.75 - 6.6.*
Linux/Linux cf264e1329fb0307e044f7675849f9f38b44c11a - 5f537664e705b0bf8b7e329861f20128534f6a83
... and 5 more
Published Feb 10, 2025
Tracked Since Feb 18, 2026