summaryrefslogtreecommitdiff
path: root/net/nfc
diff options
context:
space:
mode:
authorMohamed Ghannam <simo.ghannam@gmail.com>2017-12-10 06:50:58 +0300
committerDavid S. Miller <davem@davemloft.net>2017-12-11 22:05:31 +0300
commit8f659a03a0ba9289b9aeb9b4470e6fb263d6f483 (patch)
tree2b962b0543f8306cadba7cd992f3f523834e87a9 /net/nfc
parent93c647643b48f0131f02e45da3bd367d80443291 (diff)
downloadlinux-8f659a03a0ba9289b9aeb9b4470e6fb263d6f483.tar.xz
net: ipv4: fix for a race condition in raw_sendmsg
inet->hdrincl is racy, and could lead to uninitialized stack pointer usage, so its value should be read only once. Fixes: c008ba5bdc9f ("ipv4: Avoid reading user iov twice after raw_probe_proto_opt") Signed-off-by: Mohamed Ghannam <simo.ghannam@gmail.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/nfc')
0 files changed, 0 insertions, 0 deletions