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 aapolicy is not valid slab object, but a subset of that, it can not be freed by kfreesensitive(), use aapolicydestroy() to fix it.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50860.json",
"cna_assigner": "Linux"
}