Bug 2507402 (CVE-2026-64531) - CVE-2026-64531 kernel: net: openvswitch: reject oversized nested action attrs
Summary: CVE-2026-64531 kernel: net: openvswitch: reject oversized nested action attrs
Keywords:
Status: NEW
Alias: CVE-2026-64531
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-27 08:01 UTC by OSIDB Bzimport
Modified: 2026-08-26 15:55 UTC (History)
18 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:51603 0 None None None 2026-08-07 17:02:19 UTC
Red Hat Product Errata RHSA-2026:51604 0 None None None 2026-08-07 17:02:16 UTC
Red Hat Product Errata RHSA-2026:51746 0 None None None 2026-08-07 18:23:12 UTC
Red Hat Product Errata RHSA-2026:53329 0 None None None 2026-08-11 09:09:19 UTC
Red Hat Product Errata RHSA-2026:53330 0 None None None 2026-08-11 08:55:26 UTC
Red Hat Product Errata RHSA-2026:57362 0 None None None 2026-08-25 13:47:49 UTC
Red Hat Product Errata RHSA-2026:57483 0 None None None 2026-08-26 15:55:27 UTC
Red Hat Product Errata RHSA-2026:59143 0 None None None 2026-08-24 17:41:32 UTC
Red Hat Product Errata RHSA-2026:59145 0 None None None 2026-08-24 17:52:49 UTC
Red Hat Product Errata RHSA-2026:59147 0 None None None 2026-08-24 17:47:46 UTC
Red Hat Product Errata RHSA-2026:59149 0 None None None 2026-08-24 18:07:48 UTC

Description OSIDB Bzimport 2026-07-27 08:01:32 UTC
In the Linux kernel, the following vulnerability has been resolved:

net: openvswitch: reject oversized nested action attrs

Open vSwitch stores generated flow actions as nlattrs, whose nla_len
field is u16. Commit a1e64addf3ff ("net: openvswitch: remove
misbehaving actions length check") allowed the total sw_flow_actions
stream to grow beyond 64 KiB, which is valid, but also removed the last
guard preventing a generated nested action attribute from exceeding
U16_MAX.

An oversized generated container can thus be closed with a truncated
nla_len. A later dump or teardown then walks a structurally different
stream than the one that was validated. In particular, an oversized
nested CLONE/CT action may cause subsequent bytes in the generated
stream to be interpreted as independent actions.

Keep the larger total-action-stream behavior, but make nested action
close reject generated containers that do not fit in nla_len, and return
the error through all callers. For recursive SAMPLE, CLONE, DEC_TTL, and
CHECK_PKT_LEN builders, trim resource-owning action-list tails in reverse
construction order before discarding failed wrappers, so resources copied
into the rejected tails are released before the wrappers are removed.

Most failed outer wrappers are discarded by truncating actions_len after
child resources have been released. CHECK_PKT_LEN also trims its parent
after branch resources are gone. SET/TUNNEL close failures unwind their
known tun_dst ownership directly, and SET_TO_MASKED has no external
ownership and truncates on close failure.

Comment 5 Akiyoshi Kurita 2026-07-29 09:45:43 UTC
Additional exploitability information:

A public working local privilege escalation exploit and detailed technical write-up have been released.

The researcher reports successful exploitation on multiple AlmaLinux 9/10 and CentOS Stream 9/10 releases.

Technical report:
https://heyitsas.im/posts/ovswrap/

Exploit:
https://github.com/manizada/OVSwrap

Comment 6 Akiyoshi Kurita 2026-07-29 10:02:06 UTC
The RHEL 6 product status appears inconsistent.

Upstream identifies commit a1e64addf3ff ("net: openvswitch: remove misbehaving actions length check") as the vulnerability-introducing commit. This change was merged in 2025, while RHEL 7 is currently listed as Not affected because the vulnerable code is not present.

Could you please verify whether RHEL 6 is actually affected, or whether this is a product-status mapping error?

Comment 7 errata-xmlrpc 2026-08-07 17:02:15 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2026:51604 https://access.redhat.com/errata/RHSA-2026:51604

Comment 8 errata-xmlrpc 2026-08-07 17:02:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2026:51603 https://access.redhat.com/errata/RHSA-2026:51603

Comment 9 errata-xmlrpc 2026-08-07 18:23:11 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions

Via RHSA-2026:51746 https://access.redhat.com/errata/RHSA-2026:51746

Comment 10 errata-xmlrpc 2026-08-11 08:55:25 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:53330 https://access.redhat.com/errata/RHSA-2026:53330

Comment 11 errata-xmlrpc 2026-08-11 09:09:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:53329 https://access.redhat.com/errata/RHSA-2026:53329

Comment 12 errata-xmlrpc 2026-08-24 17:41:31 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:59143 https://access.redhat.com/errata/RHSA-2026:59143

Comment 13 errata-xmlrpc 2026-08-24 17:47:45 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2026:59147 https://access.redhat.com/errata/RHSA-2026:59147

Comment 14 errata-xmlrpc 2026-08-24 17:52:48 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions

Via RHSA-2026:59145 https://access.redhat.com/errata/RHSA-2026:59145

Comment 15 errata-xmlrpc 2026-08-24 18:07:47 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:59149 https://access.redhat.com/errata/RHSA-2026:59149

Comment 16 errata-xmlrpc 2026-08-25 13:47:48 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.22

Via RHSA-2026:57362 https://access.redhat.com/errata/RHSA-2026:57362

Comment 17 errata-xmlrpc 2026-08-26 15:55:25 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.18

Via RHSA-2026:57483 https://access.redhat.com/errata/RHSA-2026:57483


Note You need to log in before you can comment on or make changes to this bug.