diff options
author | Paul Moore <pmoore@redhat.com> | 2013-05-17 09:08:50 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-19 14:49:55 -0700 |
commit | 6b21e1b77d1a3d58ebfd513264c885695e8a0ba5 (patch) | |
tree | 8ee7662b9e58933f9c342fac01771a1cba705689 /net/ipv4/tcp_vegas.c | |
parent | 284041ef21fdf2e0d216ab6b787bc9072b4eb58a (diff) | |
download | kernel_goldelico_gta04-6b21e1b77d1a3d58ebfd513264c885695e8a0ba5.zip kernel_goldelico_gta04-6b21e1b77d1a3d58ebfd513264c885695e8a0ba5.tar.gz kernel_goldelico_gta04-6b21e1b77d1a3d58ebfd513264c885695e8a0ba5.tar.bz2 |
netlabel: improve domain mapping validation
The net/netlabel/netlabel_domainhash.c:netlbl_domhsh_add() function
does not properly validate new domain hash entries resulting in
potential problems when an administrator attempts to add an invalid
entry. One such problem, as reported by Vlad Halilov, is a kernel
BUG (found in netlabel_domainhash.c:netlbl_domhsh_audit_add()) when
adding an IPv6 outbound mapping with a CIPSO configuration.
This patch corrects this problem by adding the necessary validation
code to netlbl_domhsh_add() via the newly created
netlbl_domhsh_validate() function.
Ideally this patch should also be pushed to the currently active
-stable trees.
Reported-by: Vlad Halilov <vlad.halilov@gmail.com>
Signed-off-by: Paul Moore <pmoore@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_vegas.c')
0 files changed, 0 insertions, 0 deletions