CVE-2026-64531
JSON

7.8high

net: openvswitch: reject oversized nested action attrs

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.44% (higher than 39% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 057dbc5b72e9fcac439cd561c3a539b8a0edeb92 before ab855641241387db062a5e41d9ad6b8561542572, from 2532adbfe917c0e71dba2650ffc6efe396314c87 before c66bd2626c2764f23764ff0f8277f44a9cfe8349, from 4b1a0ee6164c7204c68ab5a9c48c07bfe8852485 before d573250d228401f707f4dbc09d11227a6215ee5f, from e6610f9c08b4c04cf7949c10fc246c071d00e935 before f1efff8858403191361a01269c6fe8dd7f55a385, from a1e64addf3ff9257b45b78bc7d743781c3f41340 before dbd14f736be02cfe73049bd801af89becd1a0749, from a1e64addf3ff9257b45b78bc7d743781c3f41340 before 1b41cbe05b184f8861712f0806cc0c4f5d8c6dfe, from a1e64addf3ff9257b45b78bc7d743781c3f41340 before 3f1f755366687d051174739fb99f7d560202f60b, 6b099d285d7ed324494b6d684f377aa103856118 and 6 more
Not affected: before 6.14, from 5.15.212 up to 5.15.*, from 6.1.178 up to 6.1.*, from 6.6.145 up to 6.6.*, from 6.12.97 up to 6.12.*, from 6.18.40 up to 6.18.*
CVE List
linux linux_kernelfrom 5.15.180 before 5.15.212, from 6.1.132 before 6.1.178, from 6.6.84 before 6.6.145, from 6.12.20 before 6.12.97, from 6.13.8 before 6.14, from 6.14.1 before 6.18.40, from 6.19 before 7.1.5, 6.14 and 1 moreNVD

Classification

CWE-190

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

https://git.kernel.org/stable/c/ab855641241387db062a5e41d9ad6b8561542572patch
https://git.kernel.org/stable/c/c66bd2626c2764f23764ff0f8277f44a9cfe8349patch
https://git.kernel.org/stable/c/d573250d228401f707f4dbc09d11227a6215ee5fpatch
https://git.kernel.org/stable/c/f1efff8858403191361a01269c6fe8dd7f55a385patch
https://git.kernel.org/stable/c/dbd14f736be02cfe73049bd801af89becd1a0749patch
https://git.kernel.org/stable/c/1b41cbe05b184f8861712f0806cc0c4f5d8c6dfepatch
https://git.kernel.org/stable/c/3f1f755366687d051174739fb99f7d560202f60bpatch
http://www.openwall.com/lists/oss-security/2026/07/28/8mailing-list
http://www.openwall.com/lists/oss-security/2026/07/31/17mailing-list
http://www.openwall.com/lists/oss-security/2026/08/01/1mailing-list
http://www.openwall.com/lists/oss-security/2026/08/01/3mailing-list
http://www.openwall.com/lists/oss-security/2026/08/22/1mailing-list

Sources

SourceRecordLicence
CVE ListCVE-2026-64531 changed 2026-10-19CVE Terms of Use
NVDCVE-2026-64531 changed 2026-11-12Public domain