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.
References
Configurations
Configuration 1 (hide)
|
History
No history.
Information
Published : 2025-06-18 11:15
Updated : 2025-11-13 18:58
NVD link : CVE-2022-50042
Mitre link : CVE-2022-50042
CVE.ORG link : CVE-2022-50042
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-401
Missing Release of Memory after Effective Lifetime
