CVE-2022-50042net: genl: fix error path memory leak in policy dumping
- 5.5MediumCVSS base score
- 0.27%Exploitation in 30 daysEPSS · top 81% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
Published
- 17 months later
· 17 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.27% · top 81% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 50a896cf2d6f34e884a00139d6e6012c9833ace3 – < 83411c9f05d5a8b637293b3389eca3d378197c04
- affected 50a896cf2d6f34e884a00139d6e6012c9833ace3 – < b0672895d8be5d19d4b05ac83f807026fc791037
- affected 50a896cf2d6f34e884a00139d6e6012c9833ace3 – < 26b6acd365823e99e46be3b27500f5dc235dda5e
- affected 50a896cf2d6f34e884a00139d6e6012c9833ace3 – < 249801360db3dec4f73768c502192020bfddeacc
- affected 5.10
- unaffected < 5.10
- unaffected 5.10.138 – ≤ 5.10.*
- unaffected 5.15.63 – ≤ 5.15.*
- unaffected 5.19.4 – ≤ 5.19.*
- unaffected 6.0 – ≤ *
References
References4
- https://git.kernel.org/stable/c/83411c9f05d5a8b637293b3389eca3d378197c04 (opens in a new tab)
- https://git.kernel.org/stable/c/b0672895d8be5d19d4b05ac83f807026fc791037 (opens in a new tab)
- https://git.kernel.org/stable/c/26b6acd365823e99e46be3b27500f5dc235dda5e (opens in a new tab)
- https://git.kernel.org/stable/c/249801360db3dec4f73768c502192020bfddeacc (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-55313 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2022-50042)Record last updated .