{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-72460",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-08-09T03:40:39.932Z",
        "datePublished": "2026-08-15T05:57:05.404Z",
        "dateUpdated": "2026-08-17T05:44:26.306Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-17T05:44:26.306Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\napparmor: check label build before no_new_privs test\n\naa_change_profile() builds a replacement label with\nfn_label_build_in_scope() before the no_new_privs subset check. The build\nhelper can fail and return NULL or an ERR_PTR, but the result was passed\nto aa_label_is_unconfined_subset() before the existing IS_ERR_OR_NULL()\ncheck.\n\nReuse the existing target-label build failure handling immediately after\nthe build. This preserves the current audit handling while preventing the\nsubset helper from dereferencing an invalid label."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H",
                        "baseScore": 7.1,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - The flaw is reached only through a local write to /proc/self/attr/current or /proc/self/attr/exec (changeprofile/exec), which flows through proc_pid_attr_write and the AppArmor setprocattr hook into aa_change_profile(); there is no network, adjacent-radio, or physical-device entry point.\nAC:L - Once a confined task with policy-granted changeprofile and PR_SET_NO_NEW_PRIVS calls the interface, fn_label_build_in_scope() failure (e.g., GFP_KERNEL ENOMEM from memory pressure) is reliably attacker-influenced and immediately triggers the invalid dereference without races or victim-dependent timing.\nPR:L - Exploitation requires a local unprivileged process confined by AppArmor whose policy permits changeprofile/onexec to the requested target; prctl(PR_SET_NO_NEW_PRIVS) is self-settable and does not require real root or init-namespace capabilities.\nUI:N - The attacker triggers the bug by writing to their own process attribute file; no separate victim action such as opening a file, mounting a filesystem, or clicking a link is required.\nS:U - The vulnerable AppArmor kernel code and the resulting kernel oops/panic affect the same OS security authority; this is not a VM escape, IOMMU bypass, or cross-authority sandbox breakout as defined by CVSS scope.\nC:H - aa_label_is_unconfined_subset() dereferences the failed label pointer (NULL or ERR_PTR) to read aa_label fields such as size/vec; ERR_PTR values are non-NULL kernel-range addresses, so the fault path includes an invalid kernel-memory read that can leak data before oops under worst-case layout.\nI:N - The bug performs invalid reads through a bad label pointer and does not write memory, corrupt adjacent objects, or complete an unauthorized aa_replace_current_label(); failed builds are still rejected later, so integrity impact is limited to the read-side fault rather than modification or code execution.\nA:H - Dereferencing NULL or ERR_PTR labels in aa_label_is_unconfined_subset() causes a kernel BUG/oops/panic, yielding host-wide denial of service on AppArmor-enabled systems and repeatable crashes from the same procattr write."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "security/apparmor/domain.c"
                    ],
                    "versions": [
                        {
                            "version": "e00b02bb6ac2a1893227ce8014b649028d6425d2",
                            "lessThan": "a29f06db44b4c94597ded58f639eed3e21781ac3",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e00b02bb6ac2a1893227ce8014b649028d6425d2",
                            "lessThan": "cfc224866530a6842b6c2d2d30ef6a9b0e64bb9c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e00b02bb6ac2a1893227ce8014b649028d6425d2",
                            "lessThan": "31cb109db5e6322ed22304fd5c0dedbaa438d6d3",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e00b02bb6ac2a1893227ce8014b649028d6425d2",
                            "lessThan": "b7c45c05a396a017c49ac7949de240a0dfc0ac4e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e00b02bb6ac2a1893227ce8014b649028d6425d2",
                            "lessThan": "d84bb195d208adbf77f012ca2a96e11163f6def1",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e00b02bb6ac2a1893227ce8014b649028d6425d2",
                            "lessThan": "d82160132345688a09cbaa648cfdd16bb32e8ea2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e00b02bb6ac2a1893227ce8014b649028d6425d2",
                            "lessThan": "ec926b2a351eeeb31e6c9aee02e0c32f94b5588f",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e00b02bb6ac2a1893227ce8014b649028d6425d2",
                            "lessThan": "a58cafd38b46fb1a2220e2fbbcfe291ea75fa147",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "security/apparmor/domain.c"
                    ],
                    "versions": [
                        {
                            "version": "4.13",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.13",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.261",
                            "lessThanOrEqual": "5.10.*",
                            "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": "4.13",
                                    "versionEndExcluding": "5.10.261"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.13",
                                    "versionEndExcluding": "5.15.212"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.13",
                                    "versionEndExcluding": "6.1.178"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.13",
                                    "versionEndExcluding": "6.6.145"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.13",
                                    "versionEndExcluding": "6.12.97"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.13",
                                    "versionEndExcluding": "6.18.40"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.13",
                                    "versionEndExcluding": "7.1.5"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.13",
                                    "versionEndExcluding": "7.2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/a29f06db44b4c94597ded58f639eed3e21781ac3"
                },
                {
                    "url": "https://git.kernel.org/stable/c/cfc224866530a6842b6c2d2d30ef6a9b0e64bb9c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/31cb109db5e6322ed22304fd5c0dedbaa438d6d3"
                },
                {
                    "url": "https://git.kernel.org/stable/c/b7c45c05a396a017c49ac7949de240a0dfc0ac4e"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d84bb195d208adbf77f012ca2a96e11163f6def1"
                },
                {
                    "url": "https://git.kernel.org/stable/c/d82160132345688a09cbaa648cfdd16bb32e8ea2"
                },
                {
                    "url": "https://git.kernel.org/stable/c/ec926b2a351eeeb31e6c9aee02e0c32f94b5588f"
                },
                {
                    "url": "https://git.kernel.org/stable/c/a58cafd38b46fb1a2220e2fbbcfe291ea75fa147"
                }
            ],
            "title": "apparmor: check label build before no_new_privs test",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}