Description
In the Linux kernel, the following vulnerability has been resolved: net: bridge: use one headroom snapshot for ND replies br_nd_send() calls LL_RESERVED_SPACE(dev) once to size the reply skb and again to reserve its headroom. When a port requiring more headroom is added to the bridge, br_add_if() can increase dev->needed_headroom between the two calls. The reserved headroom can then exceed the space accounted for by alloc_skb(). Take one headroom snapshot and use it for both the allocation size and skb_reserve().
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
ed842faeb2bd49256f00485402f3113205f91d30 to < 5d009f53785557ef48bbb5a7523de044a6fdebacaffecteded842faeb2bd49256f00485402f3113205f91d30 to < 8ab6a1eededfa9a6b0999a8e59f73693415184b7affecteded842faeb2bd49256f00485402f3113205f91d30 to < 5f4417f795aacf62c04418ca4622edc8c2b91ca0affecteded842faeb2bd49256f00485402f3113205f91d30 to < b90dae083ffe9795893008ef071154a5fdec0a2daffecteded842faeb2bd49256f00485402f3113205f91d30 to < 17a2022d2d1425ef4d6620bcff0acbad2a7522f2affecteded842faeb2bd49256f00485402f3113205f91d30 to < e573df093ef849bb7c763aed591cb6556b110671affected
Linux Linux
Default version status: affected
4.15affected0 to < 4.15unaffected5.10.276 to ≤ 5.10.*unaffected5.15.227 to ≤ 5.15.*unaffected6.12.120 to ≤ 6.12.*unaffected6.18.66 to ≤ 6.18.*unaffected7.3.7 to ≤ 7.3.*unaffected7.4-rc3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/5d009f53785557ef48bbb5a7523de044a6fdebac ↗
- https://git.kernel.org/stable/c/8ab6a1eededfa9a6b0999a8e59f73693415184b7 ↗
- https://git.kernel.org/stable/c/5f4417f795aacf62c04418ca4622edc8c2b91ca0 ↗
- https://git.kernel.org/stable/c/b90dae083ffe9795893008ef071154a5fdec0a2d ↗
- https://git.kernel.org/stable/c/17a2022d2d1425ef4d6620bcff0acbad2a7522f2 ↗
- https://git.kernel.org/stable/c/e573df093ef849bb7c763aed591cb6556b110671 ↗