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.
Metrics
Affected Vendors & Products
Tue, 05 Nov 2024 10:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|
Thu, 12 Sep 2024 08:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|
Wed, 11 Sep 2024 13:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|
Thu, 22 Aug 2024 14:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Weaknesses | CWE-404 |

Status: PUBLISHED
Assigner: Linux
Published:
Updated: 2025-05-04T09:22:58.973Z
Reserved: 2024-07-29T15:50:41.173Z
Link: CVE-2024-42099

Updated: 2024-08-02T04:54:31.742Z

Status : Awaiting Analysis
Published: 2024-07-30T08:15:02.503
Modified: 2024-11-21T09:33:35.880
Link: CVE-2024-42099


Updated: 2025-07-12T23:05:53Z