# CVE-2024-42099: s390/dasd: Fix invalid dereferencing of indirect CCW data pointer

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2024-07-30T07:45:55.643Z
- Modified: 2026-08-05T11:35:35.753Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from c0bd39601c13ab08e961d77a90dfeeff56056353 before c116475f7d6410b1e6d399207ac75de6cf9c3652; from c0bd39601c13ab08e961d77a90dfeeff56056353 before b3a58f3b90f564f42a5c35778d8c5107b2c2150b; 6.9 (not affected: before 6.9; from 6.9.9 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: from 6.9 before 6.9.9; 6.10

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/c116475f7d6410b1e6d399207ac75de6cf9c3652> (patch)
- <https://git.kernel.org/stable/c/b3a58f3b90f564f42a5c35778d8c5107b2c2150b> (patch)

## Sources

- CVE List: [CVE-2024-42099](https://www.cve.org/CVERecord?id=CVE-2024-42099), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2024-42099](https://nvd.nist.gov/vuln/detail/CVE-2024-42099), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2024-42099 · Whole record: https://cve.day/CVE-2024-42099.json · Rebuilt by cve.day 2026-11-25T22:58:43.395Z
