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

Wed, 12 Feb 2025 13:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-863
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H'}

threat_severity

Moderate


Mon, 10 Feb 2025 16:15:00 +0000

Type Values Removed Values Added
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).
Title cachestat: fix page cache statistics permission checking
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2025-02-10T15:58:47.219Z

Updated: 2025-03-24T15:38:57.946Z

Reserved: 2024-12-29T08:45:45.742Z

Link: CVE-2025-21691

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2025-02-10T16:15:38.660

Modified: 2025-02-10T16:15:38.660

Link: CVE-2025-21691

cve-icon Redhat

Severity : Moderate

Publid Date: 2025-02-10T00:00:00Z

Links: CVE-2025-21691 - Bugzilla