Thread (12 messages) 12 messages, 6 authors, 2025-12-15

Re: [PATCH v4 net 0/2] net: sched: initialize struct tc_ife to fix kernel-infoleak

From: Cong Wang <hidden>
Date: 2025-11-10 20:02:18
Also in: lkml

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 <redacted>
Looks good to me too.

Acked-by: Cong Wang <redacted>

Thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help