s390/cio: Fix NULL pointer dereference in ccw_device_get_util_str()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 199652309a4d6635fca19d7528d73ab9e219bd9a · < c3bbcb32deecc06ebb1762398399b566d5ff2fc9| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
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.
From the CVE record · Linux
The Linux kernel's s390/cio component can dereference a NULL pointer when a channel path registry entry is removed while a subchannel still references its CHPID. The input does not establish how an attacker could trigger this condition or whether network access, authentication, or user interaction is required.
Engineers running the Linux kernel with s390/cio should check their systems; affected versions are not specified.