Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-45026 Overview
CVE-2024-45026 is a Linux kernel flaw in the s390 Direct Access Storage Device (DASD) driver that can lead to data corruption on Extent Space Efficient (ESE) thin-provisioned volumes. The dasd_ese_needs_format function performed an imprecise check for incorrect length to detect missing track formats. Other error cases, such as those triggered during a storage server warmstart, also set this flag and were misinterpreted as a formatting condition. This misinterpretation could silently corrupt data on affected volumes. The issue affects IBM Z (s390) systems running vulnerable Linux kernel versions, including 6.11 release candidates.
Critical Impact
A local attacker or faulty storage server condition can trigger silent data corruption on ESE thin-provisioned DASD volumes on IBM Z systems.
Affected Products
- Linux kernel (multiple stable branches prior to the fix)
- Linux kernel 6.11-rc1, 6.11-rc2, 6.11-rc3
- IBM Z (s390) systems using DASD ESE thin-provisioned volumes
Discovery Timeline
- 2024-09-11 - CVE-2024-45026 published to NVD
- 2025-01 - Debian LTS advisory issued for the Linux kernel
- 2026-08-04 - Last updated in NVD database
Technical Details for CVE-2024-45026
Vulnerability Analysis
The vulnerability resides in the s390/dasd driver, which manages DASD storage on IBM Z systems. ESE volumes are thin-provisioned and require on-demand track formatting during normal I/O processing. The dasd_ese_needs_format helper is responsible for detecting when a track needs to be formatted based on error codes returned by the storage subsystem. The original logic treated the "incorrect length" flag as sufficient evidence that a track lacked a proper format. However, the same flag is also set in unrelated error scenarios, including transport-mode errors that return insufficient data. When those conditions occur, the driver incorrectly concludes that formatting is required and overwrites valid data. The flaw is categorized under [CWE-787: Out-of-bounds Write], reflecting the corruption that results when the driver writes format data over tracks that already hold valid content. Exploitation requires local access with low privileges but no user interaction, and successful trigger impacts confidentiality, integrity, and availability of stored data.
Root Cause
The root cause is overly broad error-code interpretation in dasd_ese_needs_format. The function relied on the incorrect-length indicator and a file-protected check that was never a valid ESE handling path. During events such as a storage server warmstart, these conditions appeared even though the underlying track was properly formatted.
Attack Vector
The attack vector is local. A privileged workload performing I/O against ESE DASD volumes can trigger the condition when the storage subsystem returns the ambiguous error state. The flaw does not require network access, but it does require the system to be using s390 DASD ESE volumes under conditions that produce the relevant error codes.
See the upstream fix at Kernel Git Commit a665e3b7 for the exact code change that removes the incorrect-length check and replaces it with an explicit test for invalid track format in transport mode.
Detection Methods for CVE-2024-45026
Indicators of Compromise
- Unexpected data corruption reports on ESE thin-provisioned DASD volumes after storage server warmstart events.
- Kernel log entries from the dasd driver referencing transport-mode errors or formatting operations during routine I/O.
- File system consistency check (fsck) failures on volumes backed by DASD ESE storage on s390 hosts.
Detection Strategies
- Inventory IBM Z Linux hosts and confirm whether DASD ESE thin-provisioned volumes are in use.
- Compare running kernel versions against the fixed stable branches listed in the vendor advisories.
- Correlate storage subsystem warmstart events with subsequent DASD error messages to identify systems that may have been exposed.
Monitoring Recommendations
- Forward kernel and dasd subsystem logs to a central logging platform for retention and analysis.
- Alert on repeated DASD transport-mode errors or unexpected on-demand format operations.
- Track package versions on s390 Linux systems to detect drift from patched kernels.
How to Mitigate CVE-2024-45026
Immediate Actions Required
- Apply the patched Linux kernel from your distribution as soon as it is available for your release.
- Prioritize patching s390 systems that use DASD ESE thin-provisioned volumes.
- Validate backups and run file system integrity checks on volumes that may have been affected prior to patching.
Patch Information
The fix removes the incorrect-length check and the invalid file-protected check, replacing them with an explicit test for invalid track format in transport mode. Patched commits are available in multiple stable branches, including Kernel Git Commit a665e3b7, Kernel Git Commit 0a228896, Kernel Git Commit 19f60a55, Kernel Git Commit 5d4a3043, Kernel Git Commit 7db40423, Kernel Git Commit 93a7e285, and Kernel Git Commit e245a182. Debian users should consult the Debian LTS Announcement January 2025.
Workarounds
- No supported software workaround replaces the kernel fix; apply the vendor patch.
- Where patching must be delayed, avoid storage operations such as warmstarts that are known to trigger the error condition.
- Maintain tested, current backups of ESE DASD volumes to support recovery if corruption is suspected.
# Verify running kernel version on s390 Linux hosts
uname -r
# Check installed kernel package (Debian/Ubuntu)
dpkg -l | grep linux-image
# Check installed kernel package (RHEL/SLES)
rpm -qa | grep kernel
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

