bridge: br_nd_send: linearize skb before parsing ND options
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ ed842faeb2bd49256f00485402f3113205f91d30 · < 9c55e41c73af5c4511070933b1bd25248521270c| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s bridge neighbour discovery code can read past a packet’s linear buffer when it parses options stored in a non-linear area. The input does not establish how an attacker could trigger this condition or whether authentication or user interaction is required.
Engineers running the Linux kernel should check whether their kernel includes the bridge neighbour discovery fix; affected versions are not specified.