CVE-2026-45840
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
27/05/2026
Last modified:
27/05/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
openvswitch: cap upcall PID array size and pre-size vport replies<br />
<br />
The vport netlink reply helpers allocate a fixed-size skb with<br />
nlmsg_new(NLMSG_DEFAULT_SIZE, ...) but serialize the full upcall PID<br />
array via ovs_vport_get_upcall_portids(). Since<br />
ovs_vport_set_upcall_portids() accepts any non-zero multiple of<br />
sizeof(u32) with no upper bound, a CAP_NET_ADMIN user can install a PID<br />
array large enough to overflow the reply buffer, causing nla_put() to<br />
fail with -EMSGSIZE and hitting BUG_ON(err
Impact
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/1d6c02b86329883aa467a3a61f8d34369db73a2f
- https://git.kernel.org/stable/c/2091c6aa0df6aba47deb5c8ab232b1cb60af3519
- https://git.kernel.org/stable/c/f99ac36b5d7c719d08a69fcdecce40f78a874e15
- https://git.kernel.org/stable/c/f9ef3db77a383d66847fd082c2b437d8ae4d9c63
- https://git.kernel.org/stable/c/fa6e90bc443bed8dc0d55bc5ea5b27ffdfe37704



