summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2018-08-01 14:45:11 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-10 18:42:41 +0300
commit89cb86e9d42e1676840ca791ac233f51bceb9d4f (patch)
tree213bd71c8bfa815bf32010b743a01eb25b67f530 /sound
parentb24c9962b179803dc1d51f17cf1acc58be8bbb2e (diff)
downloadlinux-89cb86e9d42e1676840ca791ac233f51bceb9d4f.tar.xz
xfrm: Validate address prefix lengths in the xfrm selector.
[ Upstream commit 07bf7908950a8b14e81aa1807e3c667eab39287a ] We don't validate the address prefix lengths in the xfrm selector we got from userspace. This can lead to undefined behaviour in the address matching functions if the prefix is too big for the given address family. Fix this by checking the prefixes and refuse SA/policy insertation when a prefix is invalid. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Reported-by: Air Icy <icytxw@gmail.com> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions