CVE-2024-42099 s390/dasd: Fix invalid dereferencing of indirect CCW data pointer
A null pointer dereference in the Linux kernel's DASD driver causes a kernel panic during error handling, leading to denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-42099?
CVE-2024-42099 is a high-severity vulnerability in Linux kernel, published on 30 Jul 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-476
Which versions are affected by CVE-2024-42099?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-42099?
Apply the vendor's patch.
Is CVE-2024-42099 being exploited?
There is no known exploitation of CVE-2024-42099 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-42099, DEBIAN-CVE-2024-42099, GHSA-hp2j-q576-5vvw, UBUNTU-CVE-2024-42099.