Skip to content
Heist/ feed
Back to feed
HighFix available

apparmor: check label build before no_new_privs test

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: apparmor: check label build before no_new_privs test aa_change_profile() builds a replacement label with fn_label_build_in_scope() before the no_new_privs subset check. The build helper can fail and return NULL or an ERR_PTR, but the result was passed to aa_label_is_unconfined_subset() before the existing IS_ERR_OR_NULL() check. Reuse the existing target-label build failure handling immediately after the build. This preserves the current audit handling while preventing the subset helper from dereferencing an invalid label.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.261, 5.15.212, 6.1.178, 6.12.97, 6.18.40, 6.6.145, 7.1.5
CVEs
CVE-2026-72460
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 01:02 UTC · Revision 1

Source evidence

apparmor: check label build before no_new_privs test

core-osv · Original source

Published 15 Aug 2026, 05:57 UTC

In the Linux kernel, the following vulnerability has been resolved: apparmor: check label build before no_new_privs test aa_change_profile() builds a replacement label with fn_label_build_in_scope() before the no_new_privs subset check. The build helper can fail and return NULL or an ERR_PTR, but the result was passed to aa_label_is_unconfined_subset() before the existing IS_ERR_OR_NULL() check. Reuse the existing target-label build failure handling immediately after the build. This preserves the current audit handling while preventing the subset helper from dereferencing an invalid label.

osv:CVE-2026-72460

Kernel

Fixed versions: 5.10.261, 5.15.212, 6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.5

Complete source record
{
  "id": "43530ff584e120da846657dafd209bba5b868178697c9b220885ce7d61c99494",
  "url": "https://osv.dev/vulnerability/CVE-2026-72460",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "apparmor: check label build before no_new_privs test",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: apparmor: check label build before no_new_privs test aa_change_profile() builds a replacement label with fn_label_build_in_scope() before the no_new_privs subset check. The build helper can fail and return NULL or an ERR_PTR, but the result was passed to aa_label_is_unconfined_subset() before the existing IS_ERR_OR_NULL() check. Reuse the existing target-label build failure handling immediately after the build. This preserves the current audit handling while preventing the subset helper from dereferencing an invalid label.",
    "evidence": "osv:CVE-2026-72460",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.261",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.212",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.178",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.145",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.97",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.40",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.1.5",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-72460",
      "aliases": [
        "CVE-2026-72460"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e00b02bb6ac2a1893227ce8014b649028d6425d2"
                },
                {
                  "fixed": "a29f06db44b4c94597ded58f639eed3e21781ac3"
                },
                {
                  "fixed": "cfc224866530a6842b6c2d2d30ef6a9b0e64bb9c"
                },
                {
                  "fixed": "31cb109db5e6322ed22304fd5c0dedbaa438d6d3"
                },
                {
                  "fixed": "b7c45c05a396a017c49ac7949de240a0dfc0ac4e"
                },
                {
                  "fixed": "d84bb195d208adbf77f012ca2a96e11163f6def1"
                },
                {
                  "fixed": "d82160132345688a09cbaa648cfdd16bb32e8ea2"
                },
                {
                  "fixed": "ec926b2a351eeeb31e6c9aee02e0c32f94b5588f"
                },
                {
                  "fixed": "a58cafd38b46fb1a2220e2fbbcfe291ea75fa147"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72460.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.13.0"
                },
                {
                  "fixed": "5.10.261"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.212"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.178"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.145"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.97"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.40"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.1.5"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72460.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:41.191593193Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/31cb109db5e6322ed22304fd5c0dedbaa438d6d3",
        "https://git.kernel.org/stable/c/a29f06db44b4c94597ded58f639eed3e21781ac3",
        "https://git.kernel.org/stable/c/a58cafd38b46fb1a2220e2fbbcfe291ea75fa147",
        "https://git.kernel.org/stable/c/b7c45c05a396a017c49ac7949de240a0dfc0ac4e",
        "https://git.kernel.org/stable/c/cfc224866530a6842b6c2d2d30ef6a9b0e64bb9c",
        "https://git.kernel.org/stable/c/d82160132345688a09cbaa648cfdd16bb32e8ea2",
        "https://git.kernel.org/stable/c/d84bb195d208adbf77f012ca2a96e11163f6def1",
        "https://git.kernel.org/stable/c/ec926b2a351eeeb31e6c9aee02e0c32f94b5588f",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72460.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-72460",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72460.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-72460",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 508868,
  "published_at": "2026-08-15T05:57:05.404+00:00"
}