aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/lock_debug.c
diff options
context:
space:
mode:
authorIlya Maximets <[email protected]>2025-04-12 10:40:18 +0000
committerJakub Kicinski <[email protected]>2025-04-14 23:15:38 +0000
commit65d91192aa66f05710cfddf6a14b5a25ee554dba (patch)
tree90f37fa529ab6333633441e7f53af98f86cc1d60 /net/core/lock_debug.c
parentMerge branch '1GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/ne... (diff)
downloadkernel-65d91192aa66f05710cfddf6a14b5a25ee554dba.tar.gz
kernel-65d91192aa66f05710cfddf6a14b5a25ee554dba.zip
net: openvswitch: fix nested key length validation in the set() action
It's not safe to access nla_len(ovs_key) if the data is smaller than the netlink header. Check that the attribute is OK first. Fixes: ccb1352e76cf ("net: Add Open vSwitch kernel components.") Reported-by: [email protected] Closes: https://syzkaller.appspot.com/bug?extid=b07a9da40df1576b8048 Tested-by: [email protected] Signed-off-by: Ilya Maximets <[email protected]> Reviewed-by: Eelco Chaudron <[email protected]> Acked-by: Aaron Conole <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/core/lock_debug.c')
0 files changed, 0 insertions, 0 deletions