What’s Vulnerable › Vulnerabilities

CVE-2022-50860: apparmor: Fix memleak in alloc_ns()

Description

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 products

How to fix

Upgrade to a fixed version: Linux kernel 6.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-50860 or the next vulnerability affects your stack