Integer overflow in Linux
CVE-2026-64531
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.
Vulnerability class: Integer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.004, 32.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 057dbc5b72e9fcac439cd561c3a539b8a0edeb92, a1e64addf3ff9257b45b78bc7d743781c3f41340, 6.13.8
Weakness classification (CWE)
Public exploits and proof-of-concept code
7 public repositories with exploit or proof-of-concept code for this CVE:
- HackSpeak/CVE-2026-64531 (11 stars, last pushed 2026-08-04): CVE-2026-64531 (OVSwrap) PoC - Linux kernel Open vSwitch LPE; for patch validation and security research
- HackSpeak/ovswrap-poc (3 stars, last pushed 2026-08-03): CVE-2026-64531 (OVSwrap) PoC - Linux kernel Open vSwitch LPE; for patch validation and security research
- mahfuzreham/OVSwrap-CVE-2026-64531-Mitigation-Tool (3 stars, last pushed 2026-07-31)
- 0xBlackash/CVE-2026-64531 (2 stars, last pushed 2026-08-02): CVE-2026-64531
- 0xredash/CVE-2026-64531 (2 stars, last pushed 2026-08-02): CVE-2026-64531
- ashrafzaryouh/CVE-2026-64531 (2 stars, last pushed 2026-08-02): CVE-2026-64531
- suominen/ovswrap (last pushed 2026-10-06): Tracking OVSwrap (CVE-2026-64531), the Open vSwitch datapath netlink overflow
References
- git.kernel.org/stable/c/ab855641241387db062a5e41d9ad6b8561542572
- git.kernel.org/stable/c/c66bd2626c2764f23764ff0f8277f44a9cfe8349
- git.kernel.org/stable/c/d573250d228401f707f4dbc09d11227a6215ee5f
- git.kernel.org/stable/c/f1efff8858403191361a01269c6fe8dd7f55a385
- git.kernel.org/stable/c/dbd14f736be02cfe73049bd801af89becd1a0749
- git.kernel.org/stable/c/1b41cbe05b184f8861712f0806cc0c4f5d8c6dfe
- git.kernel.org/stable/c/3f1f755366687d051174739fb99f7d560202f60b
- www.openwall.com/lists/oss-security/2026/07/28/8
- www.openwall.com/lists/oss-security/2026/07/31/17
- www.openwall.com/lists/oss-security/2026/08/01/1
This CVE has public exploit evidence. See the latest CVEs with public exploits.