CVE
CVE-2026-64531
CNA 原文 · 原文(英文)
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.
受影响版本
- 7.2-rc3仅此版本
- 7.2-rc2仅此版本
- 7.2-rc1仅此版本
- ≥ 6.19, < 7.1.5修复版本 7.1.5
- ≥ 6.14.1, < 6.18.40修复版本 6.18.40
- 6.14仅此版本
- 6.14-rc7仅此版本
- ≥ 6.13.8, < 6.14修复版本 6.14
- ≥ 6.12.20, < 6.12.97修复版本 6.12.97
- ≥ 6.6.84, < 6.6.145修复版本 6.6.145
- ≥ 6.1.132, < 6.1.178修复版本 6.1.178
- ≥ 5.15.180, < 5.15.212修复版本 5.15.212
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
公告与补丁
- git.kernel.org/stable/c/1b41cbe05b184f8861712f0806cc0c4f5d8c6dfe · Patch
- git.kernel.org/stable/c/3f1f755366687d051174739fb99f7d560202f60b · Patch
- git.kernel.org/stable/c/ab855641241387db062a5e41d9ad6b8561542572 · Patch
- git.kernel.org/stable/c/c66bd2626c2764f23764ff0f8277f44a9cfe8349 · Patch
- git.kernel.org/stable/c/d573250d228401f707f4dbc09d11227a6215ee5f · Patch
- git.kernel.org/stable/c/dbd14f736be02cfe73049bd801af89becd1a0749 · Patch
- git.kernel.org/stable/c/f1efff8858403191361a01269c6fe8dd7f55a385 · Patch
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。