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

Currently unrated

CVE-2026-143379

Key Information:

Vendor

Linux

Status
CVE ID
CVE ID:
CVE-2026-143379
Vendor
CVE Published:
3 December 2026
Fixed in
Fixed in:
5.10.276, 5.15.227, 6.12.120 +3 more

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Unknown: Exploitability over the network not rated
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Monitor

Low risk for most. Patch in your normal cycle.

What to do

1Update to a fixed version

Several version ranges are affected; the full list is under Affected Version(s).

Install the Linux release that fixes your version line, or later:

5.10.2765.15.2276.12.1206.18.667.3.77.4-rc2
2Why it's rated "Monitor"
  • No exploitation signals have been recorded.

What is CVE-2026-143379?

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.

Affected Version(s)

Linux a2de733c78fa… < 298319ceee5c…

Linux a2de733c78fa… < 8690b22c1cdb…

Linux a2de733c78fa…

References

Memory Ordering Flaw in Linux Kernel

CVE-2026-99676
LinuxLinux😄9.8CRITICAL

Linux Kernel Vulnerability in SCTP Control Chunk Migration

CVE-2026-99582
LinuxLinux7.8HIGH

Data Copy Vulnerability in Linux Kernel

CVE-2026-99370
LinuxLinux9.4CRITICAL
View more Linux vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

.