summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inline.c
diff options
context:
space:
mode:
authorIlya Maximets <i.maximets@ovn.org>2025-04-12 13:40:18 +0300
committerJakub Kicinski <kuba@kernel.org>2025-04-15 02:15:38 +0300
commit65d91192aa66f05710cfddf6a14b5a25ee554dba (patch)
tree90f37fa529ab6333633441e7f53af98f86cc1d60 /lib/mpi/mpi-inline.c
parent186e5888fdb3a16a64e0e6c49d7eac4146a9bb1a (diff)
downloadlinux-65d91192aa66f05710cfddf6a14b5a25ee554dba.tar.xz
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: syzbot+b07a9da40df1576b8048@syzkaller.appspotmail.com Closes: https://syzkaller.appspot.com/bug?extid=b07a9da40df1576b8048 Tested-by: syzbot+b07a9da40df1576b8048@syzkaller.appspotmail.com Signed-off-by: Ilya Maximets <i.maximets@ovn.org> Reviewed-by: Eelco Chaudron <echaudro@redhat.com> Acked-by: Aaron Conole <aconole@redhat.com> Link: https://patch.msgid.link/20250412104052.2073688-1-i.maximets@ovn.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-inline.c')
0 files changed, 0 insertions, 0 deletions