summaryrefslogtreecommitdiffstats
path: root/firmware/whiteheat_loader.HEX
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2015-11-05 13:39:24 -0800
committerDavid S. Miller <davem@davemloft.net>2015-11-05 16:45:51 -0500
commit212cd0895330b775f2db49451f046a5ca4e5704b (patch)
treec4f9be4c046587df4fad72299a5888096153f4c9 /firmware/whiteheat_loader.HEX
parent432599d7a7062ad7e37e72601607dc35596afe40 (diff)
downloadlinux-stable-212cd0895330b775f2db49451f046a5ca4e5704b.tar.gz
linux-stable-212cd0895330b775f2db49451f046a5ca4e5704b.tar.bz2
linux-stable-212cd0895330b775f2db49451f046a5ca4e5704b.zip
selinux: fix random read in selinux_ip_postroute_compat()
In commit e446f9dfe17b ("net: synack packets can be attached to request sockets"), I missed one remaining case of invalid skb->sk->sk_security access. Dmitry Vyukov got a KASan report pointing to it. Add selinux_skb_sk() helper that is responsible to get back to the listener if skb is attached to a request socket, instead of duplicating the logic. Fixes: ca6fb0651883 ("tcp: attach SYNACK messages to request sockets instead of listener") Signed-off-by: Eric Dumazet <edumazet@google.com> Reported-by: Dmitry Vyukov <dvyukov@google.com> Cc: Paul Moore <paul@paul-moore.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'firmware/whiteheat_loader.HEX')
0 files changed, 0 insertions, 0 deletions