CVE-2022-50042 Details
Description
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.
A memory leak vulnerability has been addressed in the Linux kernel's generic netlink policy dumping process. The issue arose when the array of policies failed to record non-first policies, leading to a memory leak. The netlink_policy_dump_add_policy() function also required modification, as it currently fails to log the allocated pointer in the pstate pointer upon encountering an error.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/249801360db3dec4f73768c502192020bfddeacc | kernel.org | Patch |
| https://git.kernel.org/stable/c/26b6acd365823e99e46be3b27500f5dc235dda5e | kernel.org | Patch |
| https://git.kernel.org/stable/c/83411c9f05d5a8b637293b3389eca3d378197c04 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b0672895d8be5d19d4b05ac83f807026fc791037 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.10, < 5.10.138 >= 5.11, < 5.15.63 >= 5.16, < 5.19.4 6.0 rc1 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 5, 2026 | CVE Modified | kernel.org |
| Nov 5, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 13, 2025 | Initial Analysis | [email protected] |
| Jun 18, 2025 | New CVE Received | kernel.org |