{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-99756",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-25T10:25:14.432Z",
        "datePublished": "2026-11-20T05:51:25.263Z",
        "dateUpdated": "2026-11-23T08:07:03.043Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-23T08:07:03.043Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbtrfs: prevent deleting the wrong subvolume by ID\n\nWhen deleting a subvolume by ID, btrfs_ioctl_snap_destroy() first\nresolves the requested ID to a name, then looks up that name again\nunder the parent directory lock.\n\nA concurrent rename can change which subvolume is associated with\nthe name between these operations. Since the deletion path does not\nverify the ID of the resolved subvolume, it can delete a different\nsubvolume while leaving the requested one intact.\n\nThis was reproduced by repeatedly exchanging the names of two\nsubvolumes using renameat2(RENAME_EXCHANGE) while deleting one of\nthem by ID. The wrong subvolume was deleted in 9 out of 14 independent\ntests.\n\nFix this by checking that the resolved subvolume ID matches the\nrequested ID while holding the parent directory lock. Return -EAGAIN\non a mismatch so that userspace can retry the operation instead of\nbeing told that the requested subvolume does not exist."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/btrfs/ioctl.c"
                    ],
                    "versions": [
                        {
                            "version": "949964c928430a42e0d4f514d888a58a201b6fcb",
                            "lessThan": "d75be841c195dd64bab6a8a28cde944ba1670ae0",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "949964c928430a42e0d4f514d888a58a201b6fcb",
                            "lessThan": "d70a57571d9b248c36830329c36a17a87e130485",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "949964c928430a42e0d4f514d888a58a201b6fcb",
                            "lessThan": "bd5fe32d98fd2a09753034c867a138bd0699d57d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "949964c928430a42e0d4f514d888a58a201b6fcb",
                            "lessThan": "4bdb2a0ccd2aa93e81fcf13c43f2265f60cfe9a4",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "949964c928430a42e0d4f514d888a58a201b6fcb",
                            "lessThan": "9e7dda14b480bf4c515a6eecc516277f290ff2ee",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "949964c928430a42e0d4f514d888a58a201b6fcb",
                            "lessThan": "8e64f41414a2e0ec767dfb317103b931b4be0d64",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "949964c928430a42e0d4f514d888a58a201b6fcb",
                            "lessThan": "db399899dbac590d7d124b6896bd113916e7ab09",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "949964c928430a42e0d4f514d888a58a201b6fcb",
                            "lessThan": "1960146913b31b288ed2cd607d103ee3b41681d4",
                            "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/ioctl.c"
                    ],
                    "versions": [
                        {
                            "version": "5.7",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.7",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.275",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.226",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.119",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.65",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.5",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc2",
                            "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": "5.7",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.7",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.7",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.7",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.7",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.7",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.7",
                                    "versionEndExcluding": "7.3.5"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.7",
                                    "versionEndExcluding": "7.4-rc2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/d75be841c195dd64bab6a8a28cde944ba1670ae0"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d70a57571d9b248c36830329c36a17a87e130485"
                },
                {
                    "url": "https://git.kernel.org/stable/c/bd5fe32d98fd2a09753034c867a138bd0699d57d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/4bdb2a0ccd2aa93e81fcf13c43f2265f60cfe9a4"
                },
                {
                    "url": "https://git.kernel.org/stable/c/9e7dda14b480bf4c515a6eecc516277f290ff2ee"
                },
                {
                    "url": "https://git.kernel.org/stable/c/8e64f41414a2e0ec767dfb317103b931b4be0d64"
                },
                {
                    "url": "https://git.kernel.org/stable/c/db399899dbac590d7d124b6896bd113916e7ab09"
                },
                {
                    "url": "https://git.kernel.org/stable/c/1960146913b31b288ed2cd607d103ee3b41681d4"
                }
            ],
            "title": "btrfs: prevent deleting the wrong subvolume by ID",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}