tipc: fix info leak from kernel tipc_event
Subsystems (3)
PATCH 1/1 tipc: fix info leak from kernel tipc_event
We initialize a struct tipc_event allocated on the kernel stack to zero to avert info leak to user space.
Reported-by [email protected]
Signed-off-by Jon Maloy <[email protected]>
--- net/tipc/group.c | 1 + 1 file changed, 1 insertion(+)
net/tipc/group.c +1 -0
@@ -666,6 +666,7 @@ static void tipc_group_create_event(struct tipc_group *grp,struct sk_buff *skb;struct tipc_msg *hdr; +memset (&evt,0 ,sizeof (evt)); evt.event = event; evt.found_lower = m->instance; evt.found_upper = m->instance;
Signature · 1 line
2.1.4
David Miller
maintainerFrom: Jon Maloy <[email protected]>
Date: Thu, 18 Oct 2018 17:38:29 +0200
Quoted 5 lines
We initialize a struct
tipc_eventallocated on the kernel stack to zero to avert info leak to user space.Reported-by [email protected]Signed-off-by Jon Maloy <[email protected]>
Applied and queued up for -stable.