Files
Vineeth Vijayan 5b76268dac s390/cio: Fix NULL pointer dereference in ccw_device_get_util_str()
The channel path registry entry associated with a CHPID may be removed
while the subchannel's PMCW still references that CHPID. In this case,
chpid_to_chp() can return NULL, leading to a NULL pointer dereference.

Add the missing NULL check before dereferencing the returned pointer.

Fixes: 199652309a ("s390/cio: add helper to query utility strings per given ccw device")
Cc: [email protected]
Signed-off-by: Vineeth Vijayan <[email protected]>
Reviewed-by: Peter Oberparleiter <[email protected]>
Signed-off-by: Heiko Carstens <[email protected]>
2026-09-23 16:43:32 +02:00
..
…
…
…
…
2026-08-05 15:16:54 +02:00
…
…
…
…
…
…
…
…
…
…
2026-08-11 16:42:18 +02:00
…
…
…
…