aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/connector
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-03-17 23:52:35 +0300
committerDavid S. Miller <davem@davemloft.net>2017-03-21 17:43:16 -0700
commit13e2d5187f6b965ba3556caedb914baf81b98ed2 (patch)
treee528165645f358efee4d19771e76ac35e1e607d1 /drivers/connector
parentqmi_wwan: add Dell DW5811e (diff)
downloadlinux-dev-13e2d5187f6b965ba3556caedb914baf81b98ed2.tar.xz
linux-dev-13e2d5187f6b965ba3556caedb914baf81b98ed2.zip
bna: integer overflow bug in debugfs
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 <dan.carpenter@oracle.com> Acked-by: Rasesh Mody <rasesh.mody@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/connector')
0 files changed, 0 insertions, 0 deletions