Read the docs
TI-2022-24602 Aliases CVE-2022-49086GHSA-jpcv-cqh9-hpf3

net: openvswitch: fix leak of nested actions

Priority LOW 24CWE-401Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 10 fixed, 4 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-401.

Summary

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.

Why it matters now

EPSS 0.00267 18th percentileScored 2026-11-07
Fix Partial Linux (Linux): 4.19.249, 5.4.200, 5.10.111 +4Red Hat: 4 advisoriesRed Hat: 10 fixed, 4 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux4.3 and later4.19.249, 5.4.200, 5.10.111, 5.15.34, 5.16.20, 5.17.3, 5.18Patch availableCNA
  • Linux VendorLinux Affected 4.3 and later Fixed in 4.19.249, 5.4.200, 5.10.111, 5.15.34, 5.16.20, 5.17.3, 5.18 Patch available CNA

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*4.3 to before 4.19.249; 4.20 to before 5.4.200; 5.5 to before 5.10.111; 5.11 to before 5.15.34; 5.16 to before 5.16.20; 5.17 to before 5.17.3VulnerableLinux
cpe:2.3:o:linux:linux_kernel:5.18:rc1:*:*:*:*:*:*5.18 rc1VulnerableLinux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 4.3 to before 4.19.249; 4.20 to before 5.4.200; 5.5 to before 5.10.111; 5.11 to before 5.15.34; 5.16 to before 5.16.20; 5.17 to before 5.17.3 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:5.18:rc1:*:*:*:*:*:* Versions 5.18 rc1 Vulnerable ·Linux

Remediation

  • Fix · CNA Linux (Linux) Fixed in 4.19.249, 5.4.200, 5.10.111, 5.15.34, 5.16.20, 5.17.3, 5.18

Red Hat 4 advisories

  • RHSA-2022:8973 Released 2022-12-13 · Red Hat rating Important
    kernel security and bug fix update
    • Red Hat CodeReady Linux Builder EUS (v.9.0) kernel-tools-libs-devel-5.14.0-70.36.1.el9_0
    • Red Hat Enterprise Linux AppStream EUS (v.9.0) kernel-debug-devel-5.14.0-70.36.1.el9_0, kernel-debug-devel-matched-5.14.0-70.36.1.el9_0, kernel-devel-5.14.0-70.36.1.el9_0 +5
    • Red Hat Enterprise Linux BaseOS EUS (v.9.0) bpftool-5.14.0-70.36.1.el9_0, kernel-5.14.0-70.36.1.el9_0, kernel-abi-stablelists-5.14.0-70.36.1.el9_0 +14
  • RHSA-2022:8267 Released 2022-11-15 · Red Hat rating Moderate
    kernel security, bug fix, and enhancement update
    • Red Hat CodeReady Linux Builder (v. 9) kernel-tools-libs-devel-5.14.0-162.6.1.el9_1
    • Red Hat Enterprise Linux AppStream (v. 9) kernel-debug-devel-5.14.0-162.6.1.el9_1, kernel-debug-devel-matched-5.14.0-162.6.1.el9_1, kernel-devel-5.14.0-162.6.1.el9_1 +5
    • Red Hat Enterprise Linux BaseOS (v. 9) bpftool-5.14.0-162.6.1.el9_1, kernel-5.14.0-162.6.1.el9_1, kernel-abi-stablelists-5.14.0-162.6.1.el9_1 +14
  • RHSA-2022:7683 Released 2022-11-08 · Red Hat rating Moderate
    kernel security, bug fix, and enhancement update
    • Red Hat CodeReady Linux Builder (v. 8) kernel-tools-libs-devel-4.18.0-425.3.1.el8
    • Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-425.3.1.el8, kernel-4.18.0-425.3.1.el8, kernel-abi-stablelists-4.18.0-425.3.1.el8 +19
Show 1 more Red Hat advisories
  • RHSA-2022:5626 Released 2022-07-19 · Red Hat rating Important
    kernel security and bug fix update
    • Red Hat Enterprise Linux BaseOS EUS (v.8.4) bpftool-4.18.0-305.57.1.el8_4, kernel-4.18.0-305.57.1.el8_4, kernel-abi-stablelists-4.18.0-305.57.1.el8_4 +19
    • Red Hat Enterprise Linux CRB EUS (v.8.4) kernel-tools-libs-devel-4.18.0-305.57.1.el8_4

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 8AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 9AffectedNo fix yet
Red Hat CodeReady Linux Builder (v. 8)Fixed RHSA-2022:7683
Red Hat CodeReady Linux Builder (v. 9)Fixed RHSA-2022:8267
Red Hat CodeReady Linux Builder EUS (v.9.0)Fixed RHSA-2022:8973
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2022:8267
Red Hat Enterprise Linux AppStream EUS (v.9.0)Fixed RHSA-2022:8973
Red Hat Enterprise Linux BaseOS (v. 8)Fixed RHSA-2022:7683
Red Hat Enterprise Linux BaseOS (v. 9)Fixed RHSA-2022:8267
Red Hat Enterprise Linux BaseOS EUS (v.8.4)Fixed RHSA-2022:5626
Red Hat Enterprise Linux BaseOS EUS (v.9.0)Fixed RHSA-2022:8973
Red Hat Enterprise Linux CRB EUS (v.8.4)Fixed RHSA-2022:5626
Not affected: 1 product
  • Red Hat Enterprise Linux 10

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-49086
  2. 2026-10-03 Alias added: GHSA-jpcv-cqh9-hpf3

References

  • TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
  • TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
See all 15278 →

Sources