[Linux-kernel-mentees] [PATCH net v2] xdp: Prevent kernel-infoleak in xsk_getsockopt()

Song Liu songliubraving at fb.com
Tue Jul 28 06:15:26 UTC 2020



> On Jul 27, 2020, at 11:13 PM, Björn Töpel <bjorn.topel at gmail.com> wrote:
> 
> On Tue, 28 Jul 2020 at 07:37, Peilin Ye <yepeilin.cs at gmail.com> wrote:
>> 
>> xsk_getsockopt() is copying uninitialized stack memory to userspace when
>> `extra_stats` is `false`. Fix it.
>> 
>> Fixes: 8aa5a33578e9 ("xsk: Add new statistics")
>> Suggested-by: Dan Carpenter <dan.carpenter at oracle.com>
>> Signed-off-by: Peilin Ye <yepeilin.cs at gmail.com>
>> ---
> 
> Acked-by: Björn Töpel <bjorn.topel at intel.com>

Acked-by: Song Liu <songliubraving at fb.com>

[...]


More information about the Linux-kernel-mentees mailing list