https://github.com/torvalds/linux
Revision 389f48947a5a37ea283de520abb742d42174edb0 authored by Li RongQing on 17 October 2014, 06:03:08 UTC, committed by David S. Miller on 17 October 2014, 20:21:53 UTC
pskb_may_pull() called by arphdr_ok can change skb->data, so put the arp
setting after arphdr_ok to avoid the use the freed memory

Fixes: 0714812134d7d ("openvswitch: Eliminate memset() from flow_extract.")
Cc: Jesse Gross <jesse@nicira.com>
Cc: Eric Dumazet <edumazet@google.com>
Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
Acked-by: Jesse Gross <jesse@nicira.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 4062090
History
Tip revision: 389f48947a5a37ea283de520abb742d42174edb0 authored by Li RongQing on 17 October 2014, 06:03:08 UTC
openvswitch: fix a use after free
Tip revision: 389f489
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.7 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.8 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 281.7 KB
Makefile -rw-r--r-- 53.4 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top