CVE-2024-42099

s390/dasd: Fix invalid dereferencing of indirect CCW data pointer

State
Published
Severity
7.8 High
Published
Jul 30, 2024
Updated
Aug 5, 2026
Reserved
Jul 29, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • c0bd39601c13ab08e961d77a90dfeeff56056353 to before c116475f7d6410b1e6d399207ac75de6cf9c3652Affected
  • c0bd39601c13ab08e961d77a90dfeeff56056353 to before b3a58f3b90f564f42a5c35778d8c5107b2c2150bAffected
LinuxLinux
  • 6.9Affected
  • before 6.9Not affected
  • 6.9.9 through 6.9.*Not affected
  • 6.10 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.