s390/dasd: Fix invalid dereferencing of indirect CCW data pointer
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
s390/dasd: Fix invalid dereferencing of indirect CCW data pointer
Fix invalid dereferencing of indirect CCW data pointer in dasd_eckd_dump_sense() that leads to a kernel panic in error cases.
When using indirect addressing for DASD CCWs (IDAW) the CCW CDA pointer does not contain the data address itself but a pointer to the IDAL. This needs to be translated from physical to virtual as well before using it.
This dereferencing is also used for dasd_page_cache and also fixed although it is very unlikely that this code path ever gets used.
From the CVE record · Linux
The Linux kernel's s390 DASD code can incorrectly dereference an indirect CCW data pointer when handling an error, causing a kernel panic. The input does not establish how an attacker could trigger the error or whether access or user interaction is required.
Engineers running Linux kernels with s390 DASD support should check their installations; affected versions are not specified.