diff options
author | Steffen Klassert <steffen.klassert@secunet.com> | 2018-08-01 13:45:11 +0200 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2018-08-03 10:23:07 +0200 |
commit | 07bf7908950a8b14e81aa1807e3c667eab39287a (patch) | |
tree | 0e831f17dc08a28f1a7c17931f268004d4738cb4 /Documentation/isapnp.txt | |
parent | 25432eba9cd8f2ef5afef55be811b010a004b5fa (diff) | |
download | linux-07bf7908950a8b14e81aa1807e3c667eab39287a.tar.bz2 |
xfrm: Validate address prefix lengths in the xfrm selector.
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>
Diffstat (limited to 'Documentation/isapnp.txt')
0 files changed, 0 insertions, 0 deletions