CVE-2025-71295
fs/buffer: add alert in try_to_free_buffers() for folios without buffers
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.
INFO
Published Date :
May 6, 2026, 12:16 p.m.
Last Modified :
Nov. 5, 2026, 10:17 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update the Linux kernel to the latest version.
- Apply the patch for the try_to_free_buffers() vulnerability.
- Review folio release configurations for potential misconfigurations.
- Verify system stability after applying updates.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-71295.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-71295 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-71295
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-71295 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-71295 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 05, 2026
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/1b111a69a6e33a922622bf9870e4e63fb2b649c8 Added Reference https://git.kernel.org/stable/c/42c32d7571ccd8ef32351cac506f00b0fae99fd2 Added Reference https://git.kernel.org/stable/c/727e5140e0cf83b4ce6a11b89bb73bff5d96f8f3 Added Reference https://git.kernel.org/stable/c/b68f91ef3b3fe82ad78c417de71b675699a8467c Added Reference https://git.kernel.org/stable/c/c1b6227555c52781178132b7a06466711855795c Added Reference https://git.kernel.org/stable/c/c6246ca15999053d2632fbcc7b86e6eef7f077cb Removed Reference https://git.kernel.org/stable/c/1b111a69a6e33a922622bf9870e4e63fb2b649c8 Removed Reference https://git.kernel.org/stable/c/42c32d7571ccd8ef32351cac506f00b0fae99fd2 Removed Reference https://git.kernel.org/stable/c/727e5140e0cf83b4ce6a11b89bb73bff5d96f8f3 Removed Reference https://git.kernel.org/stable/c/b68f91ef3b3fe82ad78c417de71b675699a8467c Removed Reference https://git.kernel.org/stable/c/c1b6227555c52781178132b7a06466711855795c Removed Reference https://git.kernel.org/stable/c/c6246ca15999053d2632fbcc7b86e6eef7f077cb Removed Reference Type https://git.kernel.org/stable/c/1b111a69a6e33a922622bf9870e4e63fb2b649c8 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/42c32d7571ccd8ef32351cac506f00b0fae99fd2 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/727e5140e0cf83b4ce6a11b89bb73bff5d96f8f3 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/b68f91ef3b3fe82ad78c417de71b675699a8467c Types: Patch Removed Reference Type https://git.kernel.org/stable/c/c1b6227555c52781178132b7a06466711855795c Types: Patch Removed Reference Type https://git.kernel.org/stable/c/c6246ca15999053d2632fbcc7b86e6eef7f077cb Types: Patch -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Nov. 05, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2025-71295', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-11-05T21:16:40.207679Z'} -
CVE Translated by [email protected]
Oct. 14, 2026
Action Type Old Value New Value Added Translation Title: Linux, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: fs/buffer: añadir alerta en try_to_free_buffers() para folios sin búferes try_to_free_buffers() puede ser llamada en folios sin búferes adjuntos cuando filemap_release_folio() es invocada en un folio perteneciente a un mapeo con AS_RELEASE_ALWAYS establecido pero sin operación release_folio definida. En tales casos, folio_needs_release() devuelve verdadero debido a la bandera AS_RELEASE_ALWAYS, pero el folio no tiene datos de búfer privados. Esto causa que try_to_free_buffers() llame a drop_buffers() en un folio sin búferes, lo que lleva a una desreferencia de puntero nulo. Añadiendo una comprobación en try_to_free_buffers() para retornar anticipadamente si el folio no tiene búferes adjuntos, con WARN_ON_ONCE() para alertar sobre la mala configuración. Esto proporciona un endurecimiento defensivo. -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'd0eafc763135508be118dac208887a26c0adb74d', 'lessThan': '1b111a69a6e33a922622bf9870e4e63fb2b649c8', 'versionType': 'git'}, {'status': 'affected', 'version': 'b4fa966f03b7401ceacd4ffd7227197afb2b8376', 'lessThan': 'c1b6227555c52781178132b7a06466711855795c', 'versionType': 'git'}, {'status': 'affected', 'version': 'b4fa966f03b7401ceacd4ffd7227197afb2b8376', 'lessThan': '727e5140e0cf83b4ce6a11b89bb73bff5d96f8f3', 'versionType': 'git'}, {'status': 'affected', 'version': 'b4fa966f03b7401ceacd4ffd7227197afb2b8376', 'lessThan': '42c32d7571ccd8ef32351cac506f00b0fae99fd2', 'versionType': 'git'}, {'status': 'affected', 'version': 'b4fa966f03b7401ceacd4ffd7227197afb2b8376', 'lessThan': 'c6246ca15999053d2632fbcc7b86e6eef7f077cb', 'versionType': 'git'}, {'status': 'affected', 'version': 'b4fa966f03b7401ceacd4ffd7227197afb2b8376', 'lessThan': 'b68f91ef3b3fe82ad78c417de71b675699a8467c', 'versionType': 'git'}, {'status': 'affected', 'version': '6.1.72', 'lessThan': '6.1.165', 'versionType': 'semver'}], 'programFiles': ['fs/buffer.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.6'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.6', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.1.165', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.128', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.75', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.16', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '6.19.6', 'versionType': 'semver', 'lessThanOrEqual': '6.19.*'}, {'status': 'unaffected', 'version': '7.0', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['fs/buffer.c'], 'defaultStatus': 'affected'}] -
Initial Analysis by [email protected]
May. 12, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-476 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.128 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.12.75 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.16 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 6.19.6 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.1.72 up to (excluding) 6.1.165 Added Reference Type kernel.org: https://git.kernel.org/stable/c/1b111a69a6e33a922622bf9870e4e63fb2b649c8 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/42c32d7571ccd8ef32351cac506f00b0fae99fd2 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/727e5140e0cf83b4ce6a11b89bb73bff5d96f8f3 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/b68f91ef3b3fe82ad78c417de71b675699a8467c Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/c1b6227555c52781178132b7a06466711855795c Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/c6246ca15999053d2632fbcc7b86e6eef7f077cb Types: Patch -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 06, 2026
Action Type Old Value New Value Added 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. Added Reference https://git.kernel.org/stable/c/1b111a69a6e33a922622bf9870e4e63fb2b649c8 Added Reference https://git.kernel.org/stable/c/42c32d7571ccd8ef32351cac506f00b0fae99fd2 Added Reference https://git.kernel.org/stable/c/727e5140e0cf83b4ce6a11b89bb73bff5d96f8f3 Added Reference https://git.kernel.org/stable/c/b68f91ef3b3fe82ad78c417de71b675699a8467c Added Reference https://git.kernel.org/stable/c/c1b6227555c52781178132b7a06466711855795c Added Reference https://git.kernel.org/stable/c/c6246ca15999053d2632fbcc7b86e6eef7f077cb