summaryrefslogtreecommitdiffstats
path: root/block/Makefile
diff options
context:
space:
mode:
authorWillem de Bruijn2019-01-07 22:47:33 +0100
committerGreg Kroah-Hartman2019-01-22 21:40:31 +0100
commiteb02c17fcce5e6862b42bf0058cc26d225bbc165 (patch)
tree4bba3951f109b79240d624a97db51c0b9eefc043 /block/Makefile
parentbonding: update nest level on unlink (diff)
downloadkernel-qcow2-linux-eb02c17fcce5e6862b42bf0058cc26d225bbc165.tar.gz
kernel-qcow2-linux-eb02c17fcce5e6862b42bf0058cc26d225bbc165.tar.xz
kernel-qcow2-linux-eb02c17fcce5e6862b42bf0058cc26d225bbc165.zip
ip: on queued skb use skb_header_pointer instead of pskb_may_pull
[ Upstream commit 4a06fa67c4da20148803525151845276cdb995c1 ] Commit 2efd4fca703a ("ip: in cmsg IP(V6)_ORIGDSTADDR call pskb_may_pull") avoided a read beyond the end of the skb linear segment by calling pskb_may_pull. That function can trigger a BUG_ON in pskb_expand_head if the skb is shared, which it is when when peeking. It can also return ENOMEM. Avoid both by switching to safer skb_header_pointer. Fixes: 2efd4fca703a ("ip: in cmsg IP(V6)_ORIGDSTADDR call pskb_may_pull") Reported-by: syzbot <syzkaller@googlegroups.com> Suggested-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block/Makefile')
0 files changed, 0 insertions, 0 deletions