Thread (3 messages) read the whole thread 3 messages, 3 authors, 2017-03-22

Re: [PATCH] bna: integer overflow bug in debugfs

From: David Miller <davem@davemloft.net>
Date: 2017-03-22 00:44:32
Also in: kernel-janitors

From: Dan Carpenter <redacted>
Date: Fri, 17 Mar 2017 23:52:35 +0300
We could allocate less memory than intended because we do:

	bnad->regdata = kzalloc(len << 2, GFP_KERNEL);

The shift can overflow leading to a crash.  This is debugfs code so the
impact is very small.

Fixes: 7afc5dbde091 ("bna: Add debugfs interface.")
Signed-off-by: Dan Carpenter <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help