0.0
NA
CVE-2026-143379
btrfs: scrub: fix lost wakeup and hang when cancelling a scrub that is finishing
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.

INFO

Published Date :

Dec. 3, 2026, 10:18 a.m.

Last Modified :

Dec. 3, 2026, 10:18 a.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-143379 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
Fix a race condition in btrfs scrub by reordering operations during scrub completion.
  • Apply the Linux kernel patch for btrfs scrub.
  • Ensure scrub wakeup occurs after context is nullified.
  • Update the Linux kernel to a fixed version.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-143379 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-143379 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-143379 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-143379 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Dec. 03, 2026

    Action Type Old Value New Value
    Added 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.
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/143xxx/CVE-2026-143379.json">CVE-2026-143379</a>
    Added Reference https://git.kernel.org/stable/c/298319ceee5ce66191b311b6b6d02c2fa0f6502a
    Added Reference https://git.kernel.org/stable/c/679600b3b1460aa715ffbe0c7570bdd5f7b4fde9
    Added Reference https://git.kernel.org/stable/c/8690b22c1cdb1d8656f1aee14025b642c93bd522
    Added Reference https://git.kernel.org/stable/c/93099408648282c4e0bc4f8b7311215a15e7e3b4
    Added Reference https://git.kernel.org/stable/c/bda65e5115fe66ee0d8cf4ade11807f9fca4f0e1
    Added Reference https://git.kernel.org/stable/c/d2b84032dddadbfcaf6818bfc890e7064c2ba692
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.