cve.bz

CVE-2022-50042 linux linux kernel

5.5 mediumEPSS 0.3%Fix available

Medium (5.5) in linux linux kernel. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 18th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-11-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-401 Missing Release of Memory after Effective Lifetime
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-50042 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-50042?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-50042?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-50042 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linux5.10 and later

Fixed in

ProductRelease lineFixed in
Linux5.105.10.138
Linux5.155.15.63
Linux5.195.19.4
Linuxlater releases6.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux6.0.2-1DEBIAN-CVE-2022-50042
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2022-50042
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2022-50042
Ubuntu20.04:LTSlinux-aws-5.15, linux-riscv-5.155.15.0-1023.27~20.04.1UBUNTU-CVE-2022-50042
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1023.29~20.04.1UBUNTU-CVE-2022-50042
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1022.29~20.04.1UBUNTU-CVE-2022-50042
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 26 moreno fix listedUBUNTU-CVE-2022-50042
Ubuntu20.04:LTSlinux-hwe-5.15, linux-lowlatency-hwe-5.155.15.0-53.59~20.04.1UBUNTU-CVE-2022-50042
Ubuntu20.04:LTSlinux-intel-iotg-5.155.15.0-1018.23~20.04.1UBUNTU-CVE-2022-50042
Ubuntu20.04:LTSlinux-oracle-5.155.15.0-1022.28~20.04.1UBUNTU-CVE-2022-50042
Ubuntu22.04:LTSlinux, linux-lowlatency5.15.0-53.59UBUNTU-CVE-2022-50042
Ubuntu22.04:LTSlinux-aws5.15.0-1023.27UBUNTU-CVE-2022-50042
Ubuntu22.04:LTSlinux-azure5.15.0-1023.29UBUNTU-CVE-2022-50042
13 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-348.el8RHSA-2021:4356
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-348.el8RHSA-2021:4356
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 24 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::appstream, enterprise_linux:9::crb, enterprise_linux:9::nfv and 1 morebpftool-debuginfo0:7.2.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::baseosbpftool, bpftool-debuginfo0:7.2.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 41 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 12 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 20 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-core, perf-debuginfo and 18 more0:5.14.0-362.8.1.el9_3RHSA-2023:6583
Red Hatrhel_eus:9.2::appstreamperf, rtla, kernel-doc and 22 more0:5.14.0-284.40.1.el9_2RHSA-2023:7370
Red Hatrhel_eus:9.2::appstream, rhel_eus:9.2::crbbpftool-debuginfo0:7.0.0-284.40.1.el9_2RHSA-2023:7370
Red Hatrhel_eus:9.2::baseosbpftool, bpftool-debuginfo0:7.0.0-284.40.1.el9_2RHSA-2023:7370
2 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This issue has been fixed in Red Hat Enterprise Linux 8.5, 9.2 and 9.3 via RHSA-2021:4356 [1], RHSA-2023:7370 [2] and RHSA-2023:6583 [3], respectively.

[1]. https://access.redhat.com/errata/RHSA-2021:4356

[2]. https://access.redhat.com/errata/RHSA-2023:7370

[3]. https://access.redhat.com/errata/RHSA-2023:6583

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8kernel-0:4.18.0-348.el8Fixed 2021-11-09RHSA-2021:4356
Red Hat Enterprise Linux 9.2 Extended Update Supportkernel-0:5.14.0-284.40.1.el9_2Fixed 2023-11-21RHSA-2023:7370
Red Hat Enterprise Linux 10kernelNot affected
Red Hat Enterprise Linux 6kernelOut of support scope
Red Hat Enterprise Linux 7kernelOut of support scope
Red Hat Enterprise Linux 7kernel-rtOut of support scope
Red Hat Enterprise Linux 8kernel-rtOut of support scope
Red Hat Enterprise Linux 9kernelFix deferred
Red Hat Enterprise Linux 9kernel-rtFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-50042.

References

Check your stackJSON