{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-72371",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-08-09T03:40:39.922Z",
        "datePublished": "2026-08-15T05:56:07.299Z",
        "dateUpdated": "2026-08-17T05:43:24.298Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-17T05:43:24.298Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nafs: Fix the volume AFS_VOLUME_RM_TREE is set on\n\nFix afs_insert_volume_into_cell() to set AFS_VOLUME_RM_TREE on the volume\nreplaced, not the new volume, as it's now removed from the cell's volume\ntree.  This will cause the old volume to be removed from the tree twice and\nthe new volume never to be removed."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 7.8,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - The wrong AFS_VOLUME_RM_TREE assignment is only reached from afs_insert_volume_into_cell() during local AFS mount/automount (mount/fsopen→afs_get_tree→afs_validate_fc→afs_create_volume), not from unsolicited inbound RxRPC callback packet handling alone.\nAC:L - An attacker can reliably win the refcount-zero replacement race by running concurrent threads that repeatedly mount or automount the same AFS volume while forcing concurrent teardown/expiry, controlling both the failing afs_try_get_volume() and the rb_replace_node_rcu() path.\nPR:L - Exploitation requires mounting or automounting AFS volumes, available to unprivileged users on typical kAFS clients with world-accessible /afs dynroot/automount paths, or via CAP_SYS_ADMIN inside a user/mount namespace; init-namespace root is not required.\nUI:N - No victim interaction is required beyond the attacker (or any local user on the shared kAFS client) issuing the mount/automount and concurrency operations that drive the volume-tree race.\nS:U - Impact is kernel heap/RB-tree corruption and use-after-free within the host kernel, enabling standard privilege escalation rather than crossing VM, container, or IOMMU security boundaries.\nC:H - Incorrect RM_TREE handling leaves freed afs_volume objects in cell->volumes or corrupts the RB-tree, producing slab use-after-free reads during volume lookups (the same UAF class as the original 9a6b294 race fix).\nI:H - RB-tree corruption and dangling volume entries provide attacker-influenced heap metadata corruption primitives that can be developed into arbitrary kernel writes or control-flow hijack, not merely a benign error return.\nA:H - The fault causes kernel oops/panic via use-after-free or corrupted RB-tree traversal during volume lookup/removal, and can be retriggered by repeated mount/automount races or subsequent callback-driven lookups."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/afs/volume.c"
                    ],
                    "versions": [
                        {
                            "version": "98fb5eaade749e9d366fdd1f622d560ad68bdedd",
                            "lessThan": "6fa9a8a73e16aa22fce6e41cc00d59c767f0a540",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9b4c95a63e2dfe5ea73d92fb82ec34c3efa76284",
                            "lessThan": "c421bc6b957e56e45e12dbaeaf70a60db20d6465",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "c3215484ca1f64b6b8af03847856499e5364e65a",
                            "lessThan": "1607075220cf57161d9116512994c159eacefc0d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9a6b294ab496650e9f270123730df37030911b55",
                            "lessThan": "d154c20837f379343f192d4b8d9dd4ef145562e6",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9a6b294ab496650e9f270123730df37030911b55",
                            "lessThan": "158c5a0b1dfc0e6a419efe18404047a4d2dff59e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9a6b294ab496650e9f270123730df37030911b55",
                            "lessThan": "d0c8ad418b47891a03426c5e02ebb0537f8d68f8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "9a6b294ab496650e9f270123730df37030911b55",
                            "lessThan": "56b4e4b26f84411d880f968a539207b0a8889c8c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5.15.146",
                            "lessThan": "5.15.212",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.70",
                            "lessThan": "6.1.178",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.9",
                            "lessThan": "6.6.145",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/afs/volume.c"
                    ],
                    "versions": [
                        {
                            "version": "6.7",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.7",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.212",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.178",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.145",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.97",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.40",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.1.5",
                            "lessThanOrEqual": "7.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2",
                            "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.15.146",
                                    "versionEndExcluding": "5.15.212"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.1.70",
                                    "versionEndExcluding": "6.1.178"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.6.9",
                                    "versionEndExcluding": "6.6.145"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.7",
                                    "versionEndExcluding": "6.12.97"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.7",
                                    "versionEndExcluding": "6.18.40"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.7",
                                    "versionEndExcluding": "7.1.5"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.7",
                                    "versionEndExcluding": "7.2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/6fa9a8a73e16aa22fce6e41cc00d59c767f0a540"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c421bc6b957e56e45e12dbaeaf70a60db20d6465"
                },
                {
                    "url": "https://git.kernel.org/stable/c/1607075220cf57161d9116512994c159eacefc0d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d154c20837f379343f192d4b8d9dd4ef145562e6"
                },
                {
                    "url": "https://git.kernel.org/stable/c/158c5a0b1dfc0e6a419efe18404047a4d2dff59e"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d0c8ad418b47891a03426c5e02ebb0537f8d68f8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/56b4e4b26f84411d880f968a539207b0a8889c8c"
                }
            ],
            "title": "afs: Fix the volume AFS_VOLUME_RM_TREE is set on",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}