lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 24 Aug 2022 08:38:22 -0400 From: Alexander Aring <aahringo@...hat.com> To: zhang haiming <tcs.kernel@...il.com> Cc: linux-wpan - ML <linux-wpan@...r.kernel.org>, Network Development <netdev@...r.kernel.org>, Linux Kernel Mailing List <linux-kernel@...r.kernel.org> Subject: Re: [PATCH] net/ieee802154: fix uninit value bug in dgram_sendmsg Hi, cc mailing lists again. On Wed, Aug 24, 2022 at 7:55 AM zhang haiming <tcs.kernel@...il.com> wrote: > > If msg_namelen is too small like 1, the addr_type field will be > unexpected. Meanwhile, check msg_namelen < sizeof(*daddr) is Then check if space for addr_type is available, if not -EINVAL. If addr_type available, evaluate it, if it's unknown -EINVAL, the minimum length differs here if it's known. > necessary and enough as dgram_bind and dgram_connect did. > you probably found similar issues. It is a nitpick and I see that the current behaviour is not correct here. - Alex
Powered by blists - more mailing lists