Skip to contentSkip to conversation

CVE-2026-31682: bridge: br_nd_send: linearize skb before parsing ND options

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Apr 25

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: linearize skb before parsing ND options

br_nd_send() parses neighbour discovery options from ns->opt[] and assumes that these options are in the linear part of request.

Its callers only guarantee that the ICMPv6 header and target address are available, so the option area can still be non-linear. Parsing ns->opt[] in that case can access data past the linear buffer.

Linearize request before option parsing and derive ns from the linear network header.

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

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

	Issue introduced in 4.15 with commit ed842faeb2bd49256f00485402f3113205f91d30 and fixed in 5.10.253 with commit c68433fd291c9e88c00292095172c62d1997d662
	Issue introduced in 4.15 with commit ed842faeb2bd49256f00485402f3113205f91d30 and fixed in 5.15.203 with commit 4f397b950c916e9a1f8a4fce04ea0110206cad47
	Issue introduced in 4.15 with commit ed842faeb2bd49256f00485402f3113205f91d30 and fixed in 6.1.168 with commit bd91ec85aa4c77d645bd2739fc56784157a88ca2
	Issue introduced in 4.15 with commit ed842faeb2bd49256f00485402f3113205f91d30 and fixed in 6.6.134 with commit 658261898130da620fc3d0fbb0523efb3366cb55
	Issue introduced in 4.15 with commit ed842faeb2bd49256f00485402f3113205f91d30 and fixed in 6.12.81 with commit 2ba4caba423ed94d63006eb1d2227b0332ab7fcd
	Issue introduced in 4.15 with commit ed842faeb2bd49256f00485402f3113205f91d30 and fixed in 6.18.22 with commit 9c55e41c73af5c4511070933b1bd25248521270c
	Issue introduced in 4.15 with commit ed842faeb2bd49256f00485402f3113205f91d30 and fixed in 6.19.12 with commit 3a30f6469b058574f49efde61cd6f5d79e576053
	Issue introduced in 4.15 with commit ed842faeb2bd49256f00485402f3113205f91d30 and fixed in 7.0 with commit a01aee7cafc575bb82f5529e8734e7052f9b16ea

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-31682

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/c68433fd291c9e88c00292095172c62d1997d662
	https://git.kernel.org/stable/c/4f397b950c916e9a1f8a4fce04ea0110206cad47
	https://git.kernel.org/stable/c/bd91ec85aa4c77d645bd2739fc56784157a88ca2
	https://git.kernel.org/stable/c/658261898130da620fc3d0fbb0523efb3366cb55
	https://git.kernel.org/stable/c/2ba4caba423ed94d63006eb1d2227b0332ab7fcd
	https://git.kernel.org/stable/c/9c55e41c73af5c4511070933b1bd25248521270c
	https://git.kernel.org/stable/c/3a30f6469b058574f49efde61cd6f5d79e576053
	https://git.kernel.org/stable/c/a01aee7cafc575bb82f5529e8734e7052f9b16ea