Bug 2301462 (CVE-2024-42099) - CVE-2024-42099 kernel: s390/dasd: Fix invalid dereferencing of indirect CCW data pointer
Summary: CVE-2024-42099 kernel: s390/dasd: Fix invalid dereferencing of indirect CCW d...
Keywords:
Status: NEW
Alias: CVE-2024-42099
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2301757
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-30 08:20 UTC by OSIDB Bzimport
Modified: 2024-09-19 16:36 UTC (History)
4 users (show)

Fixed In Version: kernel 6.9.9, kernel 6.10
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-07-30 08:20:25 UTC
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.

Comment 1 Mauro Matteo Cascella 2024-07-30 18:09:33 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024073018-CVE-2024-42099-d7b7@gregkh/T

Comment 2 Mauro Matteo Cascella 2024-07-30 18:09:54 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2301757]


Note You need to log in before you can comment on or make changes to this bug.