cve.bz

CVE-2022-49086 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: openvswitch: fix leak of nested actions While parsing user-provided actions, openvswitch module may dynamically allocate memory and store pointers in the internal copy of the actions. So this memory has to be freed while destroying the actions. Currently there are only two such actions: ct() and set(). However, there are many actions that can hold nested lists of actions and ovs_nla_free_flow_actions() just jumps over them leaking the memory. For example, removal of the flow with the following actions will lead to a leak of the memory allocated by nf_ct_tmpl_alloc(): actions:clone(ct(commit),0) Non-freed set() action may also leak the 'dst' structure for the tunnel info including device references. Under certain conditions with a high rate of flow rotation that may cause significant memory leak problem (2MB per second in reporter's case). The problem is also hard to mitigate, because the user doesn't have direct control over the datapath flows generated by OVS. Fix that by iterating over all the nested actions and freeing everything that needs to be freed recursively. New build time assertion should protect us from this problem if new actions will be added in the future. Unfortunately, openvswitch module doesn't use NLA_F_NESTED, so all attributes has to be explicitly checked. sample() and clone() actions are mixing extra attributes into the user-provided action list. That prevents some code generalization too.

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; 19th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
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-49086 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-49086?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-49086?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-49086 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
Linux4.3 and later

Fixed in

ProductRelease lineFixed in
Linux4.194.19.249
Linux5.45.4.200
Linux5.105.10.111
Linux5.155.15.34
Linux5.165.16.20
Linux5.175.17.3
Linuxlater releases5.18

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux5.17.3-1DEBIAN-CVE-2022-49086
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2022-49086
Ubuntu18.04:LTSlinux-aws-5.45.4.0-1085.92~18.04.1UBUNTU-CVE-2022-49086
Ubuntu18.04:LTSlinux-azure-5.45.4.0-1091.96~18.04.1UBUNTU-CVE-2022-49086
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2022-49086
Ubuntu18.04:LTSlinux-gcp-5.45.4.0-1089.97~18.04.1UBUNTU-CVE-2022-49086
Ubuntu18.04:LTSlinux-hwe-5.45.4.0-126.142~18.04.1UBUNTU-CVE-2022-49086
Ubuntu18.04:LTSlinux-ibm-5.45.4.0-1033.37~18.04.1UBUNTU-CVE-2022-49086
Ubuntu18.04:LTSlinux-oracle-5.45.4.0-1083.91~18.04.1UBUNTU-CVE-2022-49086
Ubuntu18.04:LTSlinux-raspi-5.45.4.0-1070.80~18.04.1UBUNTU-CVE-2022-49086
Ubuntu20.04:LTSlinux5.4.0-126.142UBUNTU-CVE-2022-49086
Ubuntu20.04:LTSlinux-aws5.4.0-1085.92UBUNTU-CVE-2022-49086
Ubuntu20.04:LTSlinux-azure5.4.0-1091.96UBUNTU-CVE-2022-49086
34 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-425.3.1.el8RHSA-2022:7683
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-425.3.1.el8RHSA-2022:7683
Red Hatenterprise_linux:9::appstreamperf, kernel-doc, kernel-devel and 16 more0:5.14.0-162.6.1.el9_1RHSA-2022:8267
Red Hatenterprise_linux:9::baseoskernel, bpftool, kernel-core and 25 more0:5.14.0-162.6.1.el9_1RHSA-2022:8267
Red Hatenterprise_linux:9::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 9 more0:5.14.0-162.6.1.el9_1RHSA-2022:8267
Red Hatrhel_eus:8.4::baseosperf, kernel, bpftool and 30 more0:4.18.0-305.57.1.el8_4RHSA-2022:5626
Red Hatrhel_eus:8.4::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-305.57.1.el8_4RHSA-2022:5626
Red Hatrhel_eus:9.0::appstreamperf, kernel-doc, kernel-devel and 16 more0:5.14.0-70.36.1.el9_0RHSA-2022:8973
Red Hatrhel_eus:9.0::baseoskernel, bpftool, kernel-core and 25 more0:5.14.0-70.36.1.el9_0RHSA-2022:8973
Red Hatrhel_eus:9.0::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 9 more0:5.14.0-70.36.1.el9_0RHSA-2022:8973
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 1 morekernel-default5.14.21-150400.24.158.1SUSE-SU-2025:1027-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSSkernel-64kb, kernel-docs, kernel-syms and 3 more5.14.21-150400.24.158.1SUSE-SU-2025:1027-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 5 morekernel-default-base5.14.21-150400.24.158.1.150400.24.78.1SUSE-SU-2025:1027-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSSkernel-64kb, kernel-docs, kernel-syms and 3 more5.14.21-150500.55.100.1SUSE-SU-2025:1241-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Micro 5.5 and 2 morekernel-default-base5.14.21-150500.55.100.1.150500.6.47.1SUSE-SU-2025:1241-1
SUSELinux Enterprise Live Patching 12 SP5kernel-default4.12.14-122.258.1SUSE-SU-2025:01600-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_681-8.3.1SUSE-SU-2025:01600-1
SUSELinux Enterprise Live Patching 15 SP4kernel-livepatch-SLE15-SP4_Update_381-150400.9.3.1SUSE-SU-2025:1027-1
SUSELinux Enterprise Live Patching 15 SP5kernel-default5.14.21-150500.55.100.1SUSE-SU-2025:1241-1
SUSELinux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5_Update_251-150500.11.3.1SUSE-SU-2025:1241-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4kernel-rt, kernel-source-rt5.14.21-150400.15.115.1SUSE-SU-2025:1183-1
SUSELinux Enterprise Micro 5.5kernel-rt, kernel-source-rt5.14.21-150500.13.91.1SUSE-SU-2025:1176-1
8 more for SUSE in the JSON and on SUSE'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; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue has been fixed in Red Hat Enterprise Linux 8.4, 8.7, 9.0 and 9.1 via RHSA-2022:5626 [1], RHSA-2022:7683 [2], RHSA-2022:8973 [3] and RHSA-2022:8267 [4], respectively.

[1]. https://access.redhat.com/errata/RHSA-2022:5626

[2]. https://access.redhat.com/errata/RHSA-2022:7683

[3]. https://access.redhat.com/errata/RHSA-2022:8973

[4]. https://access.redhat.com/errata/RHSA-2022:8267

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8kernel-0:4.18.0-425.3.1.el8Fixed 2022-11-08RHSA-2022:7683
Red Hat Enterprise Linux 8.4 Extended Update Supportkernel-0:4.18.0-305.57.1.el8_4Fixed 2022-07-19RHSA-2022:5626
Red Hat Enterprise Linux 9kernel-0:5.14.0-162.6.1.el9_1Fixed 2022-11-15RHSA-2022:8267
Red Hat Enterprise Linux 9.0 Extended Update Supportkernel-0:5.14.0-70.36.1.el9_0Fixed 2022-12-13RHSA-2022:8973
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 9kernel-rtAffected

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-49086.

References

Check your stackJSON