diff options
author | Qinglang Miao <[email protected]> | 2020-12-01 14:31:50 +0800 |
---|---|---|
committer | Heiko Carstens <[email protected]> | 2020-12-09 21:02:07 +0100 |
commit | 14d4c4fa46eeaa3922e8e1c4aa727eb0a1412804 (patch) | |
tree | 74c4e55967098490304b430d43d34ffc577eb47c /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 8cc0dcfdc1c0e0be107d0288f9c0cf1f4201be62 (diff) |
s390/cio: fix use-after-free in ccw_device_destroy_console
Use of sch->dev reference after the put_device() call could trigger
the use-after-free bugs.
Fix this by simply adjusting the position of put_device.
Fixes: 37db8985b211 ("s390/cio: add basic protected virtualization support")
Reported-by: Hulk Robot <[email protected]>
Suggested-by: Cornelia Huck <[email protected]>
Signed-off-by: Qinglang Miao <[email protected]>
Reviewed-by: Cornelia Huck <[email protected]>
Reviewed-by: Vineeth Vijayan <[email protected]>
[[email protected]: Slight modification in the commit-message]
Signed-off-by: Vineeth Vijayan <[email protected]>
Signed-off-by: Heiko Carstens <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions