{"id":"CVE-2026-64531","published":"2026-07-27T06:32:32Z","modified":"2026-10-19T20:48:38Z","title":"net: openvswitch: reject oversized nested action attrs","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: openvswitch: reject oversized nested action attrs\n\nOpen vSwitch stores generated flow actions as nlattrs, whose nla_len\nfield is u16. Commit a1e64addf3ff (\"net: openvswitch: remove\nmisbehaving actions length check\") allowed the total sw_flow_actions\nstream to grow beyond 64 KiB, which is valid, but also removed the last\nguard preventing a generated nested action attribute from exceeding\nU16_MAX.\n\nAn oversized generated container can thus be closed with a truncated\nnla_len. A later dump or teardown then walks a structurally different\nstream than the one that was validated. In particular, an oversized\nnested CLONE/CT action may cause subsequent bytes in the generated\nstream to be interpreted as independent actions.\n\nKeep the larger total-action-stream behavior, but make nested action\nclose reject generated containers that do not fit in nla_len, and return\nthe error through all callers. For recursive SAMPLE, CLONE, DEC_TTL, and\nCHECK_PKT_LEN builders, trim resource-owning action-list tails in reverse\nconstruction order before discarding failed wrappers, so resources copied\ninto the rejected tails are released before the wrappers are removed.\n\nMost failed outer wrappers are discarded by truncating actions_len after\nchild resources have been released. CHECK_PKT_LEN also trims its parent\nafter branch resources are gone. SET/TUNNEL close failures unwind their\nknown tun_dst ownership directly, and SET_TO_MASKED has no external\nownership and truncates on close failure.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00437,"percentile":0.38476,"provenance":"source"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"references":[{"url":"https://git.kernel.org/stable/c/ab855641241387db062a5e41d9ad6b8561542572","tags":[]},{"url":"https://git.kernel.org/stable/c/c66bd2626c2764f23764ff0f8277f44a9cfe8349","tags":[]},{"url":"https://git.kernel.org/stable/c/d573250d228401f707f4dbc09d11227a6215ee5f","tags":[]},{"url":"https://git.kernel.org/stable/c/f1efff8858403191361a01269c6fe8dd7f55a385","tags":[]},{"url":"https://git.kernel.org/stable/c/dbd14f736be02cfe73049bd801af89becd1a0749","tags":[]},{"url":"https://git.kernel.org/stable/c/1b41cbe05b184f8861712f0806cc0c4f5d8c6dfe","tags":[]},{"url":"https://git.kernel.org/stable/c/3f1f755366687d051174739fb99f7d560202f60b","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2026/07/28/8","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2026/07/31/17","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2026/08/01/1","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2026/08/01/3","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2026/08/22/1","tags":[]}],"priority":{"score":18.2,"factors":[{"name":"EPSS percentile","points":7.7},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.46}]},"exploitSources":{"pocGithub":{"count":4,"skipped":0,"earliest":"2026-07-29","earliestUrl":"https://github.com/suominen/ovswrap","repos":[{"name":"HackSpeak/CVE-2026-64531","url":"https://github.com/HackSpeak/CVE-2026-64531","stars":11,"created":"2026-08-03"},{"name":"mahfuzreham/OVSwrap-CVE-2026-64531-Mitigation-Tool","url":"https://github.com/mahfuzreham/OVSwrap-CVE-2026-64531-Mitigation-Tool","stars":3,"created":"2026-07-31"},{"name":"ashrafzaryouh/CVE-2026-64531","url":"https://github.com/ashrafzaryouh/CVE-2026-64531","stars":2,"created":"2026-08-01"},{"name":"suominen/ovswrap","url":"https://github.com/suominen/ovswrap","stars":0,"created":"2026-07-29"}]},"first":{"date":"2026-07-29","source":"PoC-in-GitHub","url":"https://github.com/suominen/ovswrap"},"provenance":"source"},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 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"]},{"vendor":"Linux","product":"Linux","versions":["6.14"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-16T15:41:46.689802Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-49109","exploited":false,"provenance":"source"}}