Linux
net: openvswitch: reject oversized nested action attrs
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 057dbc5b72e9fcac439cd561c3a539b8a0edeb92, < ab855641241387db062a5e41d9ad6b8561542572
- >= 2532adbfe917c0e71dba2650ffc6efe396314c87, < c66bd2626c2764f23764ff0f8277f44a9cfe8349
- >= 4b1a0ee6164c7204c68ab5a9c48c07bfe8852485, < d573250d228401f707f4dbc09d11227a6215ee5f
- >= e6610f9c08b4c04cf7949c10fc246c071d00e935, < f1efff8858403191361a01269c6fe8dd7f55a385
- >= a1e64addf3ff9257b45b78bc7d743781c3f41340, < dbd14f736be02cfe73049bd801af89becd1a0749
- >= a1e64addf3ff9257b45b78bc7d743781c3f41340, < 1b41cbe05b184f8861712f0806cc0c4f5d8c6dfe
- >= a1e64addf3ff9257b45b78bc7d743781c3f41340, < 3f1f755366687d051174739fb99f7d560202f60b
- 6b099d285d7ed324494b6d684f377aa103856118
- >= 5.15.180, < 5.15.212
- >= 6.1.132, < 6.1.178
- >= 6.6.84, < 6.6.145
- >= 6.12.20, < 6.12.97
- >= 6.13.8, < 6.14
Fixed in ab855641241387db062a5e41d9ad6b8561542572, c66bd2626c2764f23764ff0f8277f44a9cfe8349, d573250d228401f707f4dbc09d11227a6215ee5f, f1efff8858403191361a01269c6fe8dd7f55a385, dbd14f736be02cfe73049bd801af89becd1a0749, 1b41cbe05b184f8861712f0806cc0c4f5d8c6dfe, 3f1f755366687d051174739fb99f7d560202f60b, 5.15.212, 6.1.178, 6.6.145, 6.12.97, 6.14
- 6.14
Fixed in 0, 5.15.212, 6.1.178, 6.6.145, 6.12.97, 6.18.40, 7.1.5, 7.2
Mitigation
Upgrade Linux to ab855641241387db062a5e41d9ad6b8561542572 or c66bd2626c2764f23764ff0f8277f44a9cfe8349 or d573250d228401f707f4dbc09d11227a6215ee5f or f1efff8858403191361a01269c6fe8dd7f55a385 or dbd14f736be02cfe73049bd801af89becd1a0749 or 1b41cbe05b184f8861712f0806cc0c4f5d8c6dfe or 3f1f755366687d051174739fb99f7d560202f60b or 5.15.212 or 6.1.178 or 6.6.145 or 6.12.97 or 6.14 or later.
Upgrade Linux to 0 or 5.15.212 or 6.1.178 or 6.6.145 or 6.12.97 or 6.18.40 or 7.1.5 or 7.2 or later.
Timeline
Days relative to CVE publicationFirst public PoC 1.1 days after publication; not in CISA KEV. First PoC: manizada/OVSwrap (created 28 Jul 2026, found by us: backfilled).
PoC repositories
Found on GitHub.5 PoCs · 1 pending · 1 informational
PoCs 5
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| manizada/OVSwrap | 28 Jul 2026 +1.1 d | 20 | PoC |
| 0xBlackash/CVE-2026-64531 | 1 Aug 2026 +5.4 d | 2 | PoC via PoC Index |
| 0xredash/CVE-2026-64531 | 1 Aug 2026 +5.4 d | 2 | PoC via PoC Index |
| ashrafzaryouh/CVE-2026-64531 | 1 Aug 2026 +5.4 d | 2 | PoC via PoC Index |
| HackSpeak/CVE-2026-64531 | 3 Aug 2026 +7.2 d | 11 | PoC
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
Pending 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| suominen/ovswrap | 29 Jul 2026 +1.9 d | 0 | Pending |
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| mahfuzreham/OVSwrap-CVE-2026-64531-Mitigation-Tool | 31 Jul 2026 +4.4 d | 3 | Informational · detection
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.