[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f7tzfgigafe.fsf@redhat.com>
Date: Mon, 14 Apr 2025 09:05:57 -0400
From: Aaron Conole <aconole@...hat.com>
To: Ilya Maximets <i.maximets@....org>
Cc: netdev@...r.kernel.org, "David S. Miller" <davem@...emloft.net>, Eric
Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Paolo
Abeni <pabeni@...hat.com>, Simon Horman <horms@...nel.org>,
dev@...nvswitch.org, linux-kernel@...r.kernel.org, Eelco Chaudron
<echaudro@...hat.com>,
syzbot+b07a9da40df1576b8048@...kaller.appspotmail.com
Subject: Re: [PATCH net] net: openvswitch: fix nested key length validation
in the set() action
Ilya Maximets <i.maximets@....org> writes:
> 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@...kaller.appspotmail.com
> Closes: https://syzkaller.appspot.com/bug?extid=b07a9da40df1576b8048
> Tested-by: syzbot+b07a9da40df1576b8048@...kaller.appspotmail.com
> Signed-off-by: Ilya Maximets <i.maximets@....org>
> ---
Acked-by: Aaron Conole <aconole@...hat.com>
Powered by blists - more mailing lists