CVE-2022-50042

MEDIUM EPSS 10.5%
Published Jun 18, 20251y ago · Modified Jun 17, 20261w ago
5.5 CVSS 3.1
Medium
Find Similar
Published Jun 18, 2025 1y ago
Last Modified Jun 17, 2026 1w ago

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.

CVSS Details

Base Score
5.5
Exploitability
1.8
Impact
3.6
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High

Threat Intelligence

EPSS Exploit Probability
10.5% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-401

Affected Products 4

VendorProductVersionRange
linuxlinux_kernel*≥5.10  –  <5.10.138
linuxlinux_kernel*≥5.11  –  <5.15.63
linuxlinux_kernel*≥5.16  –  <5.19.4
linuxlinux_kernel6.0any

References 4

  • git.kernel.org https://git.kernel.org/stable/c/249801360db3dec4f73768c502192020bfddeacc
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/26b6acd365823e99e46be3b27500f5dc235dda5e
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/83411c9f05d5a8b637293b3389eca3d378197c04
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/b0672895d8be5d19d4b05ac83f807026fc791037
    Patch

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/249801360db3dec4f73768c502192020bfddeacc
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/26b6acd365823e99e46be3b27500f5dc235dda5e
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/83411c9f05d5a8b637293b3389eca3d378197c04
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/b0672895d8be5d19d4b05ac83f807026fc791037
    Patch