aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorStefan Haberland <[email protected]>2021-08-04 17:18:00 +0200
committerJens Axboe <[email protected]>2021-08-04 09:20:11 -0600
commit952835edb4fdad49361d5330da918be8b765b787 (patch)
tree35cc36238f638738be44ffa303d3b815a3cb5c84 /scripts/gdb/linux/timerlist.py
parent340e84573878b2b9d63210482af46883366361b9 (diff)
s390/dasd: fix use after free in dasd path handling
When new configuration data is obtained after a path event it is stored in the per path array. The old data needs to be freed. The first valid configuration data is also referenced in the device private structure to identify the device. When the old per path configuration data was freed the device still pointed to the already freed data leading to a use after free. Fix by replacing also the device configuration data with the newly obtained one before the old data gets freed. Fixes: 460181217a24 ("s390/dasd: Store path configuration data during path handling") Cc: [email protected] # 5.11+ Signed-off-by: Stefan Haberland <[email protected]> Reviewed-by: Jan Hoeppner <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions