Re: [PATCH v4 net 0/2] net: sched: initialize struct tc_ife to fix kernel-infoleak
From: Cong Wang
Date: Mon Nov 10 2025 - 15:02:34 EST
On Sun, Nov 09, 2025 at 02:43:34PM +0530, Ranganath V N wrote:
> This series addresses the uninitialization of the struct which has
> 2 bytes of padding. And copying this uninitialized data to userspace
> can leak info from kernel memory.
>
> This series ensures all members and padding are cleared prior to
> begin copied.
>
> This change silences the KMSAN report and prevents potential information
> leaks from the kernel memory.
>
> Signed-off-by: Ranganath V N <vnranganath.20@xxxxxxxxx>
Looks good to me too.
Acked-by: Cong Wang <xiyou.wangcong@xxxxxxxxx>
Thanks!