CVE-2025-71295
Last modified
CVE-2025-71295 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: fs/buffer: add alert in try_to_free_buffers() for folios without buffers try_to_free_buffers() can be called on folios with no buffers attached when filemap_release_folio() is invoked on a folio belonging to a mapping with AS_RELEASE_ALWAYS set but no release_folio operation defined. In such cases, folio_needs_release() returns true because of the AS_RELEASE_ALWAYS flag, but the folio has no private buffer data. This causes try_to_free_buffers() to call drop_buffers() on a folio with no buffers, leading to a null pointer dereference. Adding a check in try_to_free_buffers() to return early if the folio has no buffers attached, with WARN_ON_ONCE() to alert about the misconfiguration. This provides defensive hardening.. EPSS estimates a 0.12% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: fs/buffer: add alert in try_to_free_buffers() for folios without buffers try_to_free_buffers() can be called on folios with no buffers attached when filemap_release_folio() is invoked on a folio belonging to a mapping with AS_RELEASE_ALWAYS set but no release_folio operation defined. In such cases, folio_needs_release() returns true because of the AS_RELEASE_ALWAYS flag, but the folio has no private buffer data. This causes try_to_free_buffers() to call drop_buffers() on a folio with no buffers, leading to a null pointer dereference. Adding a check in try_to_free_buffers() to return early if the folio has no buffers attached, with WARN_ON_ONCE() to alert about the misconfiguration. This provides defensive hardening.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.1.72, < 6.1.165 |
| Linux | Linux Kernel | >= 6.2, < 6.6.128 |
| Linux | Linux Kernel | >= 6.7, < 6.12.75 |
| Linux | Linux Kernel | >= 6.13, < 6.18.16 |
| Linux | Linux Kernel | >= 6.19, < 6.19.6 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-71295?
How severe is CVE-2025-71295?
How do I fix CVE-2025-71295?
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-7129A vulnerability was found in Campcodes Payroll Management Sy…9.8
- CVE-2025-71290In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-71291In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-71292In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-71293In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-71294In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-71296In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-71297In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-71298In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-71299In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-7130A vulnerability was found in Campcodes Payroll Management Sy…9.8
- CVE-2025-71300In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2025-71295?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
