aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wwan/iosm/iosm_ipc_mux.c
diff options
context:
space:
mode:
authorStefan Haberland <[email protected]>2022-09-19 17:49:31 +0200
committerJens Axboe <[email protected]>2022-09-19 10:19:28 -0600
commitdb7ba07108a48c0f95b74fabbfd5d63e924f992d (patch)
tree3ba723850d796ba33f7680f38dbea2eba1340791 /drivers/net/wwan/iosm/iosm_ipc_mux.c
parentc4fa368466cc1b60bb92f867741488930ddd6034 (diff)
s390/dasd: fix Oops in dasd_alias_get_start_dev due to missing pavgroup
Fix Oops in dasd_alias_get_start_dev() function caused by the pavgroup pointer being NULL. The pavgroup pointer is checked on the entrance of the function but without the lcu->lock being held. Therefore there is a race window between dasd_alias_get_start_dev() and _lcu_update() which sets pavgroup to NULL with the lcu->lock held. Fix by checking the pavgroup pointer with lcu->lock held. Cc: <[email protected]> # 2.6.25+ Fixes: 8e09f21574ea ("[S390] dasd: add hyper PAV support to DASD device driver, part 1") 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 'drivers/net/wwan/iosm/iosm_ipc_mux.c')
0 files changed, 0 insertions, 0 deletions