Memory leak in Linux kernel - CVE-2022-50860
Published: December 30, 2025 / Updated: December 31, 2025
Vulnerability identifier: #VU120676
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2022-50860
CWE-ID: CWE-401
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vendor: Linux Foundation
Affected software:
Linux kernel
Linux kernel
Detailed vulnerability description
The vulnerability allows a local user to perform a denial of service (DoS) attack.
The vulnerability exists due to memory leak within the alloc_ns() function in security/apparmor/policy_ns.c. A local user can perform a denial of service (DoS) attack.
How to mitigate CVE-2022-50860
Install update from vendor's repository.
Sources
- https://git.kernel.org/stable/c/0250cf8d37bb5201a117177afd24dc73a1c81657
- https://git.kernel.org/stable/c/12695b4b76d437b9c0182a6f7dfb2248013a9daf
- https://git.kernel.org/stable/c/5f509fa740b17307f0cba412485072f632d5af36
- https://git.kernel.org/stable/c/9a32aa87a25d800b2c6f47bc2749a7bfd9a486f3
- https://git.kernel.org/stable/c/e9e6fa49dbab6d84c676666f3fe7d360497fd65b
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.10.163
- https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.86
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.0.16
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.2
- https://mirrors.edge.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.2