CVE-2025-71295 json
fs/buffer: add alert in try_to_free_buffers() for folios without buffers
published 2026-05-06 6 mo ago modified 2026-11-05 3 d ago also EUVD-2025-209685
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.1%
- EPSS 0.1% chance of exploitation in 30 days, percentile 2%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 6.1.165, 6.6.128, 6.12.75, 6.18.16, 6.19.6, 7.0
- linux Debian 12 6.1.170-1
- linux Debian 13 6.12.85-1
- linux Debian 14 6.19.6-1
debian advisories DEBIAN-CVE-2025-71295
- linux Ubuntu 24.04 LTS 6.8.0-134.134
- linux-aws Ubuntu 24.04 LTS 6.8.0-1060.63
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1063.69
- linux-gke Ubuntu 24.04 LTS 6.8.0-1058.64
- linux-ibm Ubuntu 24.04 LTS 6.8.0-1060.61
- linux-azure Ubuntu 24.04 LTS 6.8.0-1063.71
- linux-gkeop Ubuntu 24.04 LTS 6.8.0-1045.48
- linux-raspi Ubuntu 24.04 LTS 6.8.0-1060.64
ubuntu advisories UBUNTU-CVE-2025-71295
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- git.kernel.org/stable/c/1b111a69a6e33a922622bf9870e4e63fb2b649c8 commit
- git.kernel.org/stable/c/c1b6227555c52781178132b7a06466711855795c commit
- git.kernel.org/stable/c/727e5140e0cf83b4ce6a11b89bb73bff5d96f8f3 commit
- git.kernel.org/stable/c/42c32d7571ccd8ef32351cac506f00b0fae99fd2 commit
- git.kernel.org/stable/c/c6246ca15999053d2632fbcc7b86e6eef7f077cb commit
- git.kernel.org/stable/c/b68f91ef3b3fe82ad78c417de71b675699a8467c commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-71295 updated cvss 5.5
kernel: fs/buffer: add alert in try_to_free_buffers() for folios without buffers
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 moreaffected: no fix available “Fix deferred”
-
Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 moreaffected: no fix available, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelaffected: no fix planned “Out of support scope”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 3 d ago
Exploit prediction
0.12% chance of exploitation in the next 30 days, higher than 2% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
- Technology feeds
References
-
git.kernel.org
/stable/c/1b111a69a6e33a922622bf9870e4e63fb2b649c8
patch
-
git.kernel.org
/stable/c/c1b6227555c52781178132b7a06466711855795c
patch
-
git.kernel.org
/stable/c/727e5140e0cf83b4ce6a11b89bb73bff5d96f8f3
patch
-
git.kernel.org
/stable/c/42c32d7571ccd8ef32351cac506f00b0fae99fd2
patch
-
git.kernel.org
/stable/c/c6246ca15999053d2632fbcc7b86e6eef7f077cb
patch
-
git.kernel.org
/stable/c/b68f91ef3b3fe82ad78c417de71b675699a8467c
patch
Sources
- CVE List CVE-2025-71295
- NVD CVE-2025-71295
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.