Skip to contentSkip to conversation

CVE-2026-31752: bridge: br_nd_send: validate ND option lengths

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 1

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

bridge: br_nd_send: validate ND option lengths

br_nd_send() walks ND options according to option-provided lengths. A malformed option can make the parser advance beyond the computed option span or use a too-short source LLADDR option payload.

Validate option lengths against the remaining NS option area before advancing, and only read source LLADDR when the option is large enough for an Ethernet address.

The Linux kernel CVE team has assigned CVE-2026-31752 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 4.15 with commit ed842faeb2bd49256f00485402f3113205f91d30 and fixed in 5.10.253 with commit 82a42eceec7c6bdb0e0da94c0542a173b7ea57f2
	Issue introduced in 4.15 with commit ed842faeb2bd49256f00485402f3113205f91d30 and fixed in 5.15.203 with commit 259466f76f5a2148aff11134e68f4b4c6d52725b
	Issue introduced in 4.15 with commit ed842faeb2bd49256f00485402f3113205f91d30 and fixed in 6.1.168 with commit ee02d8991fd7bd86ed6ebd0deb4aab53feb0e43a
	Issue introduced in 4.15 with commit ed842faeb2bd49256f00485402f3113205f91d30 and fixed in 6.6.134 with commit e0bfd6d4dc77ab345b6c65eef0cfe9b2f69085aa
	Issue introduced in 4.15 with commit ed842faeb2bd49256f00485402f3113205f91d30 and fixed in 6.12.81 with commit c49b9256bbacb6a135654aebd12e4c0e87166b7c
	Issue introduced in 4.15 with commit ed842faeb2bd49256f00485402f3113205f91d30 and fixed in 6.18.22 with commit 837392a38445729c22e03d3abcf33f07763efd85
	Issue introduced in 4.15 with commit ed842faeb2bd49256f00485402f3113205f91d30 and fixed in 6.19.12 with commit e71303a9190496136e240c4f2872b7b0b16027a7
	Issue introduced in 4.15 with commit ed842faeb2bd49256f00485402f3113205f91d30 and fixed in 7.0 with commit 850837965af15707fd3142c1cf3c5bfaf022299b

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-31752

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
net/bridge/br_arp_nd_proxy.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/82a42eceec7c6bdb0e0da94c0542a173b7ea57f2
	https://git.kernel.org/stable/c/259466f76f5a2148aff11134e68f4b4c6d52725b
	https://git.kernel.org/stable/c/ee02d8991fd7bd86ed6ebd0deb4aab53feb0e43a
	https://git.kernel.org/stable/c/e0bfd6d4dc77ab345b6c65eef0cfe9b2f69085aa
	https://git.kernel.org/stable/c/c49b9256bbacb6a135654aebd12e4c0e87166b7c
	https://git.kernel.org/stable/c/837392a38445729c22e03d3abcf33f07763efd85
	https://git.kernel.org/stable/c/e71303a9190496136e240c4f2872b7b0b16027a7
	https://git.kernel.org/stable/c/850837965af15707fd3142c1cf3c5bfaf022299b