Lost wakeup hangs cancelled btrfs scrub in Linux kernel
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Partial Red Hat: 4 without a fix
No CVSS vector from any source. Fix status from CNA and Red Hat.
Summary
The Linux kernel btrfs scrub code, from 3.0 onward, can hang when a scrub cancel runs while a scrub is finishing. Scrub wakes waiters before it clears its context pointer, so a cancel that catches the wakeup waits for a pointer that is set to NULL only later.
Written with Claude Haiku 5.5 from the sources below · 2026-12-03
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Install a fixed Linux kernel version: 5.10.276, 5.15.227, 6.12.120, 6.18.66, 7.3.7 or 7.4-rc2. Red Hat Enterprise Linux 6 has no fix planned, and Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 10 and Red Hat OpenShift Container Platform 5 have no fix available.
Written with Claude Haiku 5.5 from the sources below · 2026-12-03
- Fix · CNA Linux (Linux) Fixed in 5.10.276, 5.15.227, 6.12.120, 6.18.66, 7.3.7, 7.4-rc2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet: Fix deferred |
Not affected: 4 products
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
Timeline
- 2026-12-03 Threatist record created from CVE-2026-143379
- 2026-12-03 Alias added: GHSA-2h36-gq9q-wh3q
- 2026-12-03 Affected versions changed · Red Hat
- 2026-12-03 CVSS score added · Red Hat
References
Other 6
- https://git.kernel.org/stable/c/298319ceee5ce66191b311b6b6d02c2fa0f6502a
- https://git.kernel.org/stable/c/8690b22c1cdb1d8656f1aee14025b642c93bd522
- https://git.kernel.org/stable/c/d2b84032dddadbfcaf6818bfc890e7064c2ba692
- https://git.kernel.org/stable/c/93099408648282c4e0bc4f8b7311215a15e7e3b4
- https://git.kernel.org/stable/c/679600b3b1460aa715ffbe0c7570bdd5f7b4fde9
- https://git.kernel.org/stable/c/bda65e5115fe66ee0d8cf4ade11807f9fca4f0e1
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-143379 · CVE Program
- CVE-2026-143379 · NVD
- FIRST EPSS
- GHSA-2h36-gq9q-wh3q · GitHub Advisory Database · CC BY 4.0
- CVE-2026-143379 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences