CVE-2026-143379
NVD
Vulnerability Summary
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.
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.
Affected & Patched Versions
- Linux >= a2de733c78fa7af51ba9670482fa7d392aa67c57 and < 298319ceee5ce66191b311b6b6d02c2fa0f6502a
- Linux >= a2de733c78fa7af51ba9670482fa7d392aa67c57 and < 8690b22c1cdb1d8656f1aee14025b642c93bd522
- Linux >= a2de733c78fa7af51ba9670482fa7d392aa67c57 and < d2b84032dddadbfcaf6818bfc890e7064c2ba692
- Linux >= a2de733c78fa7af51ba9670482fa7d392aa67c57 and < 93099408648282c4e0bc4f8b7311215a15e7e3b4
- Linux >= a2de733c78fa7af51ba9670482fa7d392aa67c57 and < 679600b3b1460aa715ffbe0c7570bdd5f7b4fde9
- Linux >= a2de733c78fa7af51ba9670482fa7d392aa67c57 and < bda65e5115fe66ee0d8cf4ade11807f9fca4f0e1
- Linux 3.0
- Linux 298319ceee5ce66191b311b6b6d02c2fa0f6502a
- Linux 8690b22c1cdb1d8656f1aee14025b642c93bd522
- Linux d2b84032dddadbfcaf6818bfc890e7064c2ba692
- Linux 93099408648282c4e0bc4f8b7311215a15e7e3b4
- Linux 679600b3b1460aa715ffbe0c7570bdd5f7b4fde9
- Linux bda65e5115fe66ee0d8cf4ade11807f9fca4f0e1
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run Linux and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Dec 3, 2026Published
- Dec 3, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Linux CVEsYou are reading CVE-2026-143379. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Referencehttps://git.kernel.org/stable/c/298319ceee5ce66191b311b6b6d02c2fa0f6502a
- Referencehttps://git.kernel.org/stable/c/679600b3b1460aa715ffbe0c7570bdd5f7b4fde9
- Referencehttps://git.kernel.org/stable/c/8690b22c1cdb1d8656f1aee14025b642c93bd522
- Referencehttps://git.kernel.org/stable/c/93099408648282c4e0bc4f8b7311215a15e7e3b4
- Referencehttps://git.kernel.org/stable/c/bda65e5115fe66ee0d8cf4ade11807f9fca4f0e1
- Referencehttps://git.kernel.org/stable/c/d2b84032dddadbfcaf6818bfc890e7064c2ba692
Data last checked: Dec 5, 2026 09:35 UTC