CVE-2026-64593
Patch priority
RegularFix with the next regular update.
- CVSS
- –
- Severity
- –
- EPSS
- 0.1 %
- Percentile
- 2
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Everyone who uses Linux-Kernel.
How dangerous is it?
- How an attack works has not been rated yet.
What to do?
- Include it in your next regular update.
- Install your distribution’s kernel update and reboot – the new kernel only runs after a restart.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDIn the Linux kernel, the following vulnerability has been resolved: btrfs: do not trim a device which is not writeable [BUG] There is a bug report that btrfs/242 can randomly fail with the following NULL pointer dereference: run fstests btrfs/242 at 2026-06-01 10:25:08 BTRFS: device fsid d4d7f234-487c-4787-88e4-47a8b68c9874 devid 1 transid 9 /dev/sdc (8:32) scanned by mount (122609) BTRFS info (device sdc): first mount of filesystem d4d7f234-487c-4787-88e4-47a8b68c9874 BTRFS info (device sdc): using crc32c checksum algorithm BTRFS warning (device sdc): devid 2 uuid fbe72d72-3272-482d-80fb-ab88ed398192 is missing BTRFS warning (device sdc): devid 2 uuid fbe72d72-3272-482d-80fb-ab88ed398192 is missing BTRFS info (device sdc): allowing degraded mounts BTRFS info (device sdc): turning on async discard BTRFS info (device sdc): enabling free space tree Unable to handle kernel NULL pointer dereference at virtual address 0000000000000018 user pgtable: 4k pages, 48-bit VAs, pgdp=000000013fd6b000 CPU: 4 UID: 0 PID: 122625 Comm: fstrim Not tainted 7.0.10-2-default #1 PREEMPT(full) openSUSE Tumbleweed e9a5f6b24978fba3bf015a992f865837fdfff3dd Hardware name: QEMU KVM Virtual Machine, BIOS edk2-20250812-19.fc42 08/12/2025 pstate: 01400005 (nzcv daif +PAN -UAO -TCO +DIT -SSBS BTYPE=--) pc : btrfs_trim_fs+0x34c/0xa00 [btrfs] lr : btrfs_trim_fs+0x1f0/0xa00 [btrfs] Call trace: btrfs_trim_fs+0x34c/0xa00 [btrfs f02c1d570ceea621c69d302ba75dd61868083840] (P) btrfs_ioctl_fitrim+0xe8/0x178 [btrfs f02c1d570ceea621c69d302ba75dd61868083840] btrfs_ioctl+0xdd4/0x2bd8 [btrfs f02c1d570ceea621c69d302ba75dd61868083840] __arm64_sys_ioctl+0xac/0x108 invoke_syscall.constprop.0+0x5c/0xd0 el0_svc_common.constprop.0+0x40/0xf0 do_el0_svc+0x24/0x40 el0_svc+0x40/0x1d0 el0t_64_sync_handler+0xa0/0xe8 el0t_64_sync+0x1b0/0x1b8 Code: 17ffff83 f94017e0 f9002be0 f9402ea0 (f9400c00) ---[ end trace 0000000000000000 ]--- Also the reporter is very kind to test the following ASSERT() added to btrfs_trim_free_extents_throttle(): ASSERT(device->bdev, "devid=%llu path=%s dev_state=0x%lx\n", device->devid, btrfs_dev_name(device), device->dev_state); And it shows the following output: assertion failed: device->bdev, in extent-tree.c:6630 (devid=2 path=/dev/sdd dev_state=0x82) Which means the device->bdev is NULL, and the dev_state is BTRFS_DEV_STATE_IN_FS_METADATA | BTRFS_DEV_STATE_ITEM_FOUND, without BTRFS_DEV_STATE_WRITEABLE flag set. [CAUSE] The pc points to the following call chain: btrfs_trim_fs() |- btrfs_trim_free_extents() |- btrfs_trim_free_extents_throttle() |- bdev_max_discard_sectors(device->bdev) So the NULL pointer dereference is caused by device->bdev being NULL. This looks impossible by a quick glance, as just before calling btrfs_trim_free_extents_throttle(), we have skipped any device that has BTRFS_DEV_STATE_MISSING flag set. However in this particular case, there is a window where the missing device is later re-scanned, causing btrfs to remove the BTRFS_DEV_STATE_MISSING flag: btrfs_control_ioctl() |- btrfs_scan_one_device() |- device_list_add() |- rcu_assign_pointer(device->name, name); | This updates the missing device's path to the new good path. | |- clear_bit(BTRFS_DEV_STATE_MISSING, &device->dev_state) This removes the BTRFS_DEV_STATE_MISSING flag. This allows the missing device to re-appear and clear the BTRFS_DEV_STATE_MISSING flag. However the device still does not have the BTRFS_DEV_STATE_WRITEABLE flag set, nor is its bdev pointer updated. The bdev pointer remains NULL, triggering the crash later. [FIX] This is a big de-synchronization between BTRFS_DEV_STATE_MISSING and device->bdev pointer, and shows a gap in btrfs's re-appearing-device handling. The proper handling of re-appearing device will need quite some extra work, which is out of the context of this small ---truncated---
- Published
- 06.08.2026
- Modified
- 30.11.2026
- Status
- Undergoing Analysis
Vendor updates
48- Ubuntu: USN-9192-1 – Linux kernel (NVIDIA) vulnerabilities 24.11.2026 · Critical · Patch day
- Ubuntu: USN-9091-1 – Linux kernel (NVIDIA Tegra) vulnerabilities 13.11.2026 · Critical · Patch day
- Ubuntu: USN-9066-1 – Linux kernel (HWE) vulnerabilities 12.11.2026 · Critical · Patch day
- Ubuntu: USN-9040-1 – Linux kernel (Low Latency NVIDIA) vulnerabilities 11.11.2026 · Critical · Patch day
- Ubuntu: USN-9024-1 – Linux kernel vulnerabilities 10.11.2026 · Critical · Patch day
- Ubuntu: USN-9025-1 – Linux kernel vulnerabilities 10.11.2026 · Critical · Patch day
- Ubuntu: USN-9026-1 – Linux kernel (Azure) vulnerabilities 10.11.2026 · Critical · Patch day
- Ubuntu: USN-9029-1 – Linux kernel (Raspberry Pi) vulnerabilities 10.11.2026 · Critical · Patch day
- Ubuntu: USN-8963-1 – Linux kernel (NVIDIA Tegra) vulnerabilities 03.11.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:4892-1 – Security update for the Linux Kernel 23.10.2026 · Critical · Patch day
- Ubuntu: USN-8918-1 – Linux kernel (Azure) vulnerabilities 13.10.2026 · Critical · Patch day
- Ubuntu: USN-8917-1 – Linux kernel vulnerabilities 13.10.2026 · Critical · Patch day
- Ubuntu: USN-8875-2 – Linux kernel (NVIDIA) vulnerabilities 09.10.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:4595-1 – Security update for the Linux Kernel 08.10.2026 · Critical · Patch day
- Ubuntu: USN-8875-1 – Linux kernel vulnerabilities 06.10.2026 · Critical · Patch day
- Ubuntu: USN-8879-1 – Linux kernel (Oracle) vulnerabilities 06.10.2026 · Critical · Patch day
- Ubuntu: USN-8878-1 – Linux kernel (GCP) vulnerabilities 06.10.2026 · Critical · Patch day
- Ubuntu: USN-8877-1 – Linux kernel (GCP) vulnerabilities 06.10.2026 · Critical · Patch day
- Ubuntu: USN-8876-1 – Linux kernel (Azure CVM) vulnerabilities 06.10.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23897-1 – Security update for the Linux Kernel 29.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23902-1 – Security update for the Linux Kernel 29.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23881-1 – Security update for the Linux Kernel 29.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23887-1 – Security update for the Linux Kernel 29.09.2026 · Critical · Patch day
- Ubuntu: USN-8728-3 – Linux kernel (Oracle) vulnerabilities 29.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:4369-1 – Security update for the Linux Kernel 28.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:4347-1 – Security update for the Linux Kernel 24.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:4284-1 – Security update for the Linux Kernel 22.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:4279-1 – Security update for the Linux Kernel 22.09.2026 · Critical · Patch day
- Ubuntu: USN-8728-2 – Linux kernel (Azure) vulnerabilities 22.09.2026 · Critical · Patch day
- Ubuntu: USN-8726-4 – Linux kernel vulnerabilities 22.09.2026 · Critical · Patch day
- Ubuntu: USN-8760-2 – Linux kernel (NVIDIA) vulnerabilities 22.09.2026 · Critical · Patch day
- Ubuntu: USN-8800-1 – Linux kernel (NVIDIA BaseOS) vulnerabilities 22.09.2026 · Critical · Patch day
- Ubuntu: USN-8726-3 – Linux kernel (IBM) vulnerabilities 21.09.2026 · Critical · Patch day
- Ubuntu: USN-8726-2 – Linux kernel (Raspberry Pi) vulnerabilities 18.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:4254-1 – Security update for the Linux Kernel 17.09.2026 · Critical · Patch day
- Ubuntu: USN-8760-1 – Linux kernel (NVIDIA) vulnerabilities 15.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23510-1 – Security update for the Linux Kernel 11.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23528-1 – Security update for the Linux Kernel 11.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23529-1 – Security update for the Linux Kernel 11.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:4120-1 – Security update for the Linux Kernel 10.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23477-1 – Security update for the Linux Kernel 09.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23481-1 – Security update for the Linux Kernel 09.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23490-1 – Security update for the Linux Kernel 09.09.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:23491-1 – Security update for the Linux Kernel 09.09.2026 · Critical · Patch day
- Ubuntu: USN-8728-1 – Linux kernel (GCP) vulnerabilities 07.09.2026 · Critical · Patch day
- Ubuntu: USN-8727-1 – Linux kernel (OEM) vulnerabilities 07.09.2026 · Critical · Patch day
- Ubuntu: USN-8726-1 – Linux kernel vulnerabilities 07.09.2026 · Critical · Patch day
- Microsoft: Mariner 14.08.2026 · High · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.