summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-03-17 23:52:35 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-25 14:22:10 +0100
commitb9a4a18a01fc8c96028a4062bcd686a678bb3266 (patch)
tree4b6adb95a466c1cf018f43c2dbd2ffa8530ba7ee /tools/perf/scripts/python
parentffde339b95f5729e9d57ba0802b50a611854b728 (diff)
bna: integer overflow bug in debugfs
[ Upstream commit 13e2d5187f6b965ba3556caedb914baf81b98ed2 ] 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> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions