CVE-2022-50042

MEDIUM

Linux Kernel 5.10-5.10.138, 5.11-5.15.63, 5.16-5.19.4 - Use-After-Free in Netlink Policy Dumping

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0021
EPSS Percentile 10.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-401
Status published
Products (15)
linux/Kernel 5.10.0 - 5.10.138linux
linux/Kernel 5.11.0 - 5.15.63linux
linux/Kernel 5.16.0 - 5.19.4linux
Linux/Linux < 5.10
Linux/Linux 5.10
Linux/Linux 5.10.138 - 5.10.*
Linux/Linux 5.15.63 - 5.15.*
Linux/Linux 5.19.4 - 5.19.*
Linux/Linux 50a896cf2d6f34e884a00139d6e6012c9833ace3 - 249801360db3dec4f73768c502192020bfddeacc
Linux/Linux 50a896cf2d6f34e884a00139d6e6012c9833ace3 - 26b6acd365823e99e46be3b27500f5dc235dda5e
... and 5 more
Published Jun 18, 2025
Tracked Since Feb 18, 2026