s390/dasd: Fix potential NULL pointer dereference
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 91dc4a197569230683ca8bad551e655a4bf14c30 · < 86cdfd061509bcde84f3145f7221ba64e3e53b1f| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
s390/dasd: Fix potential NULL pointer dereference
dasd_release_space() checks the implementation of the is_ese() discipline function before calling it to determine if a given device is an ESE DASD.
The current usage of the logical AND operator will lead to a NULL pointer dereference as the function is called even if the function pointer is NULL.
Fix this by using the logical OR operator.
From the CVE record · Linux
The Linux kernel’s s390 DASD code can dereference a NULL function pointer in dasd_release_space(). This could cause a crash when the is_ese() function pointer is NULL; the input does not specify an attack path or access requirements.
Engineers running Linux kernels with s390 DASD support should check their versions; affected versions are not specified.