{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "2b82032c34ec40515d3c45c36cd1961f37977de8"
            },
            {
              "fixed": "cad71cd6e45ca7268109d945c302cee9fb7c1de7"
            },
            {
              "fixed": "3a660bffa0ea6151f01b76f8a4f55c842a7b3a9a"
            },
            {
              "fixed": "98b03534b8f98ecac03dda2f366b70f8a845844a"
            },
            {
              "fixed": "f5166f53b60b4d1ee9957c0baccd3b09735001d4"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.6.29"
            },
            {
              "fixed": "6.12.120"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.65"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139433.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: roll back sprout setup after device add failure\n\nbtrfs_init_new_device() calls btrfs_setup_sprout() before creating the\nfirst writable chunks for a seed filesystem. That moves the seed devices\nout of fs_info-\u003efs_devices, clears the seeding state and installs a new\nfsid for the sprout filesystem.\n\nIf a later step fails, the error path removes the new device but leaves\nfs_info-\u003efs_devices in the partially initialized sprout state.  The\nmounted filesystem can then be left with no open devices after the\nfailed device add.\n\nAdd the inverse of btrfs_setup_sprout() and use it from the error path\nso the mounted seed filesystem is restored before the temporary\nseed_devices copy is released.\n\n[ Fix a conflict with per-profile available space, revert sprout before\n  updating per-profile available space estimation. ]",
  "id": "CVE-2026-139433",
  "modified": "2026-11-30T14:45:48.640059682Z",
  "published": "2026-11-30T13:34:42.742Z",
  "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/3a660bffa0ea6151f01b76f8a4f55c842a7b3a9a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/98b03534b8f98ecac03dda2f366b70f8a845844a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/cad71cd6e45ca7268109d945c302cee9fb7c1de7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f5166f53b60b4d1ee9957c0baccd3b09735001d4"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139433.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139433"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "btrfs: roll back sprout setup after device add failure"
}