Vulnerability in Linux
CVE-2022-50042
In the Linux kernel, the following vulnerability has been resolved: net: genl: fix error path memory leak in policy dumping If construction of the array of policies fails when recording non-first policy we need to unwind. netlink_policy_dump_add_policy() itself also needs fixing as it currently gives up on error without recording the allocated pointer in the pstate pointer.
EPSS: 0.002 (11.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Linux — versions 50a896cf2d6f34e884a00139d6e6012c9833ace3, 5.10, 0
- Linux Linux_kernel — versions 6.0
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2022-50042?
- CVE-2022-50042 is a medium-severity vulnerability in Linux, classified under Missing Release of Memory after Effective Lifetime. CVSS score: 5.5/10. Published 2025-06-18.
- How severe is CVE-2022-50042?
- Medium severity. CVSS v3 base score is 5.5 out of 10.