Linux kernel Btrfs scrub wakeup race causes hang (CVE-2026-143379)
CVE-2026-143379 Published on December 3, 2026
btrfs: scrub: fix lost wakeup and hang when cancelling a scrub that is finishing
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.
Products Associated with CVE-2026-143379
Want to know whenever a new CVE is published for Linux Kernel? stack.watch will email you.
Affected Versions
Linux:- Version a2de733c78fa7af51ba9670482fa7d392aa67c57 and below 298319ceee5ce66191b311b6b6d02c2fa0f6502a is affected.
- Version a2de733c78fa7af51ba9670482fa7d392aa67c57 and below 8690b22c1cdb1d8656f1aee14025b642c93bd522 is affected.
- Version a2de733c78fa7af51ba9670482fa7d392aa67c57 and below d2b84032dddadbfcaf6818bfc890e7064c2ba692 is affected.
- Version a2de733c78fa7af51ba9670482fa7d392aa67c57 and below 93099408648282c4e0bc4f8b7311215a15e7e3b4 is affected.
- Version a2de733c78fa7af51ba9670482fa7d392aa67c57 and below 679600b3b1460aa715ffbe0c7570bdd5f7b4fde9 is affected.
- Version a2de733c78fa7af51ba9670482fa7d392aa67c57 and below bda65e5115fe66ee0d8cf4ade11807f9fca4f0e1 is affected.
- Version 3.0 is affected.
- Before 3.0 is unaffected.
- Version 5.10.276, <= 5.10.* is unaffected.
- Version 5.15.227, <= 5.15.* is unaffected.
- Version 6.12.120, <= 6.12.* is unaffected.
- Version 6.18.66, <= 6.18.* is unaffected.
- Version 7.3.7, <= 7.3.* is unaffected.
- Version 7.4-rc2, <= * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.