]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'skb-headroom-slab-out-of-bounds'
authorDavid S. Miller <davem@davemloft.net>
Sat, 8 Dec 2018 00:24:40 +0000 (16:24 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 8 Dec 2018 00:24:40 +0000 (16:24 -0800)
commit7bb70ddfd8596ffaf32fe47bdc1681eb0d1e799d
tree9b93e099315cb036f69df1d45cac0e98de166976
parent7116392338a6696de388ff64729f1644c12540f8
parent534c7b70e0d5c7ebe29f05b25565d75b475fccb0
Merge branch 'skb-headroom-slab-out-of-bounds'

Stefano Brivio says:

====================
Fix slab out-of-bounds on insufficient headroom for IPv6 packets

Patch 1/2 fixes a slab out-of-bounds occurring with short SCTP packets over
IPv4 over L2TP over IPv6 on a configuration with relatively low HEADER_MAX.

Patch 2/2 makes sure we avoid writing before the allocated buffer in
neigh_hh_output() in case the headroom is enough for the unaligned hardware
header size, but not enough for the aligned one, and that we warn if we hit
this condition.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>