[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <851802c967b92b5ea2ce93e8577107acd43d2034.camel@sipsolutions.net>
Date: Thu, 08 Jan 2026 11:29:23 +0100
From: Johannes Berg <johannes@...solutions.net>
To: Eric Dumazet <edumazet@...gle.com>, "David S . Miller"
<davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni
<pabeni@...hat.com>
Cc: linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
eric.dumazet@...il.com,
syzbot+bfc7323743ca6dbcc3d3@...kaller.appspotmail.com,
stable@...r.kernel.org
Subject: Re: [PATCH net] wifi: avoid kernel-infoleak from struct iw_point
On Thu, 2026-01-08 at 10:19 +0000, Eric Dumazet wrote:
> struct iw_point has a 32bit hole on 64bit arches.
>
> struct iw_point {
> void __user *pointer; /* Pointer to the data (in user space) */
> __u16 length; /* number of fields or size in bytes */
> __u16 flags; /* Optional params */
> };
>
> Make sure to zero the structure to avoid dislosing 32bits of kernel data
> to user space.
Heh, wow. Talk about old code.
> Reported-by: syzbot+bfc7323743ca6dbcc3d3@...kaller.appspotmail.com
> https://lore.kernel.org/netdev/695f83f3.050a0220.1c677c.0392.GAE@google.com/T/#u
Was that intentionally without Link: or some other tag?
johannes
Powered by blists - more mailing lists