diff options
| author | Dan Carpenter <[email protected]> | 2017-10-04 10:50:37 +0300 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2017-10-16 22:35:13 -0400 |
| commit | 3e351275655d3c84dc28abf170def9786db5176d (patch) | |
| tree | 88f0f09591a36ad920c5020f4293f3fc27c977ae /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 2269848386c4b8395bc67eaaf7d08011da7c07ef (diff) | |
scsi: bfa: integer overflow in debugfs
We could allocate less memory than intended because we do:
bfad->regdata = kzalloc(len << 2, GFP_KERNEL);
The shift can overflow leading to a crash. This is debugfs code so the
impact is very small. I fixed the network version of this in March with
commit 13e2d5187f6b ("bna: integer overflow bug in debugfs").
Fixes: ab2a9ba189e8 ("[SCSI] bfa: add debugfs support")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions