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.

Published · last modified .

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.

EPSS exploit prediction

EPSS 0.003, 18.6th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 50a896cf2d6f34e884a00139d6e6012c9833ace3, 5.10, 0
  • Linux Kernel — versions 6.0

Weakness classification (CWE)

References