CVE-2026-143379

Not scored yetLast modified Dec 3, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

btrfs: scrub: fix lost wakeup and hang when cancelling a scrub that is finishing

When scrub finishes, it does a wakeup on the fs_info->scrub_pause_wait wait queue and then sets dev->scrub_sctx to NULL. On the other hand the scrub cancel code (btrfs_scrub_cancel_dev()) waits on that wait queue for dev->scrub_sctx to be NULL. So this means if btrfs_scrub_cancel_dev() is called right when scrub is finishing and sees the wakeup before the NULL is assigned to dev->scrub_sctx by btrfs_scrub_dev(), it hangs.

Fix this by doing the wakeup in btrfs_scrub_dev() after setting dev->scrub_sctx to NULL.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Dec 3, 2026
Last modified
Dec 3, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-143380In the Linux kernel, the following vulnerability has been resolved: btrfs: scrub: fix lost error return value when scrubbing raid56 parity CVE-2026-143381In the Linux kernel, the following vulnerability has been resolved: x86/ftrace: Mark jmp mode by clearing bit 63 of trampoline address SinCVE-2026-143382In the Linux kernel, the following vulnerability has been resolved: seg6: fix transport header for inner IPv4 with IP options The End.DT4,CVE-2026-143383In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: set MSDU payload correctly ath12k_dp_mon_rx_merg_msdus()CVE-2026-143384In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: fix IRQ disable imbalance in AHB ext interrupt handler OCVE-2026-143385In the Linux kernel, the following vulnerability has been resolved: 9p: fall back to the normal open path for non-regular files v9fs_vfs_aCVE-2026-143386In the Linux kernel, the following vulnerability has been resolved: scsi: core: Balance the pseudo target reap reference With memory allocCVE-2026-143387In the Linux kernel, the following vulnerability has been resolved: scsi: scsi_debug: Drain target cleanup before module exit Target destrCVE-2026-143388In the Linux kernel, the following vulnerability has been resolved: dma-buf: Restore the scatterlist entry count before freeing dma_buf_phCVE-2026-143389In the Linux kernel, the following vulnerability has been resolved: ntfs: Fix error handling in __ntfs_create() In __ntfs_create(), if ntfCVE-2026-143390In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: Fix failure to create ath12k_dp_peer on MLO reconnect InCVE-2026-143391In the Linux kernel, the following vulnerability has been resolved: fsnotify: preserve 64-bit pre-content ranges vfs_fallocate() and remap
CVE-2026-143379: Unscored | Vulnix