{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139433",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.933Z",
        "datePublished": "2026-11-30T13:34:42.742Z",
        "dateUpdated": "2026-11-30T13:34:42.742Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:34:42.742Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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->fs_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->fs_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. ]"
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/btrfs/volumes.c"
                    ],
                    "versions": [
                        {
                            "version": "2b82032c34ec40515d3c45c36cd1961f37977de8",
                            "lessThan": "cad71cd6e45ca7268109d945c302cee9fb7c1de7",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2b82032c34ec40515d3c45c36cd1961f37977de8",
                            "lessThan": "3a660bffa0ea6151f01b76f8a4f55c842a7b3a9a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2b82032c34ec40515d3c45c36cd1961f37977de8",
                            "lessThan": "98b03534b8f98ecac03dda2f366b70f8a845844a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2b82032c34ec40515d3c45c36cd1961f37977de8",
                            "lessThan": "f5166f53b60b4d1ee9957c0baccd3b09735001d4",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/btrfs/volumes.c"
                    ],
                    "versions": [
                        {
                            "version": "2.6.29",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "2.6.29",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.120",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.65",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.6",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.29",
                                    "versionEndExcluding": "6.12.120"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.29",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.29",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.6.29",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/cad71cd6e45ca7268109d945c302cee9fb7c1de7"
                },
                {
                    "url": "https://git.kernel.org/stable/c/3a660bffa0ea6151f01b76f8a4f55c842a7b3a9a"
                },
                {
                    "url": "https://git.kernel.org/stable/c/98b03534b8f98ecac03dda2f366b70f8a845844a"
                },
                {
                    "url": "https://git.kernel.org/stable/c/f5166f53b60b4d1ee9957c0baccd3b09735001d4"
                }
            ],
            "title": "btrfs: roll back sprout setup after device add failure",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}