Skip to content
Heist/ feed
Back to feed
HighFix available

apparmor: fix refcount leak when updating the sk_ctx

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: apparmor: fix refcount leak when updating the sk_ctx Currently update_sk_ctx() transfers the plabel reference, unfortunately it is also unconditionally put in the caller. Ideally we would make the caller conditionally put the reference based on whether it was transferred but for now just fix the bug by getting a reference.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.18.40, 7.1.5
CVEs
CVE-2026-72461
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 13:26 UTC · Revision 1

Source evidence

apparmor: fix refcount leak when updating the sk_ctx

core-osv · Original source

Published 15 Aug 2026, 05:57 UTC

In the Linux kernel, the following vulnerability has been resolved: apparmor: fix refcount leak when updating the sk_ctx Currently update_sk_ctx() transfers the plabel reference, unfortunately it is also unconditionally put in the caller. Ideally we would make the caller conditionally put the reference based on whether it was transferred but for now just fix the bug by getting a reference.

osv:CVE-2026-72461

Kernel

Fixed versions: 6.18.40, 7.1.5

Complete source record
{
  "id": "f7c3ba681724979d0511a38dac7ea7be7ef1715fbcb4b2764a9203830ba5999d",
  "url": "https://osv.dev/vulnerability/CVE-2026-72461",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "apparmor: fix refcount leak when updating the sk_ctx",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: apparmor: fix refcount leak when updating the sk_ctx Currently update_sk_ctx() transfers the plabel reference, unfortunately it is also unconditionally put in the caller. Ideally we would make the caller conditionally put the reference based on whether it was transferred but for now just fix the bug by getting a reference.",
    "evidence": "osv:CVE-2026-72461",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.18.40",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.1.5",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-72461",
      "aliases": [
        "CVE-2026-72461"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "88fec3526e84123997ecebd6bb6778eb4ce779b7"
                },
                {
                  "fixed": "045dbe89ac31709abd73390d0805d52fece7ef39"
                },
                {
                  "fixed": "b8642f1478982a97ca2eb59f70f631a9de42ae11"
                },
                {
                  "fixed": "6d25e7b47616cb2db43351210929c8f19dc305a3"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-72461.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.17.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-72461.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:50.728297953Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/045dbe89ac31709abd73390d0805d52fece7ef39",
        "https://git.kernel.org/stable/c/6d25e7b47616cb2db43351210929c8f19dc305a3",
        "https://git.kernel.org/stable/c/b8642f1478982a97ca2eb59f70f631a9de42ae11",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72461.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-72461",
        "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-72461.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-72461",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 519452,
  "published_at": "2026-08-15T05:57:06.042+00:00"
}