NULL pointer dereference in Linux kernel - CVE-2025-71295
Published: May 7, 2026
Linux kernel
Detailed vulnerability description
The vulnerability allows a local user to cause a denial of service.
The vulnerability exists due to a null pointer dereference in try_to_free_buffers() when releasing a folio belonging to a mapping with AS_RELEASE_ALWAYS set but no release_folio operation defined. A local user can trigger this code path to cause a denial of service.
The issue occurs when the folio has no buffers attached.
How to mitigate CVE-2025-71295
Sources
- https://git.kernel.org/stable/c/1b111a69a6e33a922622bf9870e4e63fb2b649c8
- https://git.kernel.org/stable/c/42c32d7571ccd8ef32351cac506f00b0fae99fd2
- https://git.kernel.org/stable/c/727e5140e0cf83b4ce6a11b89bb73bff5d96f8f3
- https://git.kernel.org/stable/c/b68f91ef3b3fe82ad78c417de71b675699a8467c
- https://git.kernel.org/stable/c/c1b6227555c52781178132b7a06466711855795c
- https://git.kernel.org/stable/c/c6246ca15999053d2632fbcc7b86e6eef7f077cb