{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "a2de733c78fa7af51ba9670482fa7d392aa67c57"
            },
            {
              "fixed": "298319ceee5ce66191b311b6b6d02c2fa0f6502a"
            },
            {
              "fixed": "8690b22c1cdb1d8656f1aee14025b642c93bd522"
            },
            {
              "fixed": "d2b84032dddadbfcaf6818bfc890e7064c2ba692"
            },
            {
              "fixed": "93099408648282c4e0bc4f8b7311215a15e7e3b4"
            },
            {
              "fixed": "679600b3b1460aa715ffbe0c7570bdd5f7b4fde9"
            },
            {
              "fixed": "bda65e5115fe66ee0d8cf4ade11807f9fca4f0e1"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "3.0.0"
            },
            {
              "fixed": "5.10.276"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.227"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.12.120"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.66"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143379.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: scrub: fix lost wakeup and hang when cancelling a scrub that is finishing\n\nWhen scrub finishes, it does a wakeup on the fs_info-\u003escrub_pause_wait\nwait queue and then sets dev-\u003escrub_sctx to NULL. On the other hand the\nscrub cancel code (btrfs_scrub_cancel_dev()) waits on that wait queue\nfor dev-\u003escrub_sctx to be NULL. So this means if btrfs_scrub_cancel_dev()\nis called right when scrub is finishing and sees the wakeup before the\nNULL is assigned to dev-\u003escrub_sctx by btrfs_scrub_dev(), it hangs.\n\nFix this by doing the wakeup in btrfs_scrub_dev() after setting\ndev-\u003escrub_sctx to NULL.",
  "id": "CVE-2026-143379",
  "modified": "2026-12-03T10:45:47.898177936Z",
  "published": "2026-12-03T09:22:26.452Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/298319ceee5ce66191b311b6b6d02c2fa0f6502a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/679600b3b1460aa715ffbe0c7570bdd5f7b4fde9"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/8690b22c1cdb1d8656f1aee14025b642c93bd522"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/93099408648282c4e0bc4f8b7311215a15e7e3b4"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/bda65e5115fe66ee0d8cf4ade11807f9fca4f0e1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d2b84032dddadbfcaf6818bfc890e7064c2ba692"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143379.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-143379"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "btrfs: scrub: fix lost wakeup and hang when cancelling a scrub that is finishing"
}