https://github.com/torvalds/linux
Revision a5b8db91442fce9c9713fcd656c3698f1adde1d6 authored by Vlad Yasevich on 13 March 2013, 04:18:58 UTC, committed by David S. Miller on 17 March 2013, 15:43:40 UTC
Range/validity checks on rta_type in rtnetlink_rcv_msg() do
not account for flags that may be set.  This causes the function
to return -EINVAL when flags are set on the type (for example
NLA_F_NESTED).

Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 8c6216d
History
Tip revision: a5b8db91442fce9c9713fcd656c3698f1adde1d6 authored by Vlad Yasevich on 13 March 2013, 04:18:58 UTC
rtnetlink: Mask the rta_type when range checking
Tip revision: a5b8db9
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.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.8 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 243.2 KB
Makefile -rw-r--r-- 47.0 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top