NULL pointer dereference in Linux kernel - CVE-2026-64593
Published: August 7, 2026
Vulnerability details
The vulnerability allows a local user to cause a denial of service.
The vulnerability exists due to a NULL pointer dereference in btrfs_trim_free_extents in the Btrfs filesystem when processing a FITRIM ioctl on a rescanned device that is not writeable. A local user can issue a trim request to trigger a kernel crash and cause a denial of service.
The issue occurs when a previously missing device is rescanned, clearing the missing-device state while the block device pointer remains NULL.
Affected software
Ubuntu
linux (Ubuntu package)
linux-gcp-7.0 (Ubuntu package)
linux-oem-7.0 (Ubuntu package)
How to mitigate CVE-2026-64593
linux (Ubuntu package) - addressed in versions 7.0.0-31.31, 7.0.0-31.31.1, 7.0.0-31.31~24.04.1, 7.0.0-1006.7, 7.0.0-1011.11~24.04.1, 7.0.0-1012.12, 7.0.0-1012.12~24.04.1
linux-gcp-7.0 (Ubuntu package) - update to 7.0.0-1011.11~24.04.1
linux-oem-7.0 (Ubuntu package) - update to 7.0.0-1013.13
External References
- https://git.kernel.org/stable/c/02c903fc6fc7e16c5d1f22d18784f1208acf43e3
- https://git.kernel.org/stable/c/1b1937eb08f51319bf71575484cde2b8c517aedc
- https://git.kernel.org/stable/c/210af872eafa0cf572a84cb303c0f9d2914c1226
- https://git.kernel.org/stable/c/3d8fa4b828a86b33c60858e58aaab6df273ede05
- https://git.kernel.org/stable/c/7a64521802997257b144e6edfb4e278dbeb972dd
- https://git.kernel.org/stable/c/9c894159c5b8adc84072e3af0e55b0473a69564e
- https://git.kernel.org/stable/c/b4af31b898a948e29861cb0bae734058f9a49d9b
- https://git.kernel.org/stable/c/f41ae7e6664f3c4361129728f2c4d5f3ed995251