Review reviewHigh

CVE-2022-50860

Linux

In the Linux kernel, the following vulnerability has been resolved: apparmor: Fix memleak in alloc_ns() After changes in commit a1bd627b46d1 ("apparmor: share profile name on replacement"), the hname member of struct aa_policy is not valid slab object, but a subset of that, it can not be freed by kfree_sensitive(), use aa_policy_destroy() to fix it.

CVSS
7.8
EPSS
-
- percentile
CISA KEV
Not listed
Published
2025.12.30
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability-
Technical severityCVSS 7.8

Vulnerability overview

In the Linux kernel, the following vulnerability has been resolved: apparmor: Fix memleak in alloc_ns() After changes in commit a1bd627b46d1 ("apparmor: share profile name on replacement"), the hname member of struct aa_policy is not valid slab object, but a subset of that, it can not be freed by kfree_sensitive(), use aa_policy_destroy() to fix it.

Affected product and versions

Product
Linux
Affected versions
>= a1bd627b46d169268a0ee5960899fb5be960a317 < 9a32aa87a25d800b2c6f47bc2749a7bfd9a486f3, >= a1bd627b46d169268a0ee5960899fb5be960a317 < 5f509fa740b17307f0cba412485072f632d5af36, >= a1bd627b46d169268a0ee5960899fb5be960a317 < 0250cf8d37bb5201a117177afd24dc73a1c81657, >= a1bd627b46d169268a0ee5960899fb5be960a317 < 12695b4b76d437b9c0182a6f7dfb2248013a9daf, >= a1bd627b46d169268a0ee5960899fb5be960a317 < e9e6fa49dbab6d84c676666f3fe7d360497fd65b, >= 4.13
Fixed versions
No verified fixed-version field is available yet

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE
Not available