CVE-2026-89458: s390/dasd: Do not complete a failed ESE read as successful
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
s390/dasd: Do not complete a failed ESE read as successful
dasd_int_handler() completes an NRF read of an unallocated ESE track by calling ese_read() and unconditionally marking the request DASD_CQR_SUCCESS. dasd_eckd_ese_read() can return an error before it has zeroed the destination buffer: a failed sense-data parse or a current track outside the requested range both return early, leaving the destination pages untouched. The request is still completed successfully, so the block layer is handed stale / uninitialized memory instead of zeros.
Check the ese_read() return value and fail the request through the normal error path instead of forcing DASD_CQR_SUCCESS.
The Linux kernel CVE team has assigned CVE-2026-89458 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.6 with commit 5e6bdd37c5526ef01326df5dabb93011ee89237e and fixed in 6.12.109 with commit c9adf8399732306dfc97b3adb4778038743e3f5e Issue introduced in 5.6 with commit 5e6bdd37c5526ef01326df5dabb93011ee89237e and fixed in 6.18.50 with commit 52b331c99baac653ca794bd8487c8ec4de8db203 Issue introduced in 5.6 with commit 5e6bdd37c5526ef01326df5dabb93011ee89237e and fixed in 7.2.4 with commit b0d94dd6e82df396e2254c8b0f25eff7d19c2e7f Issue introduced in 5.6 with commit 5e6bdd37c5526ef01326df5dabb93011ee89237e and fixed in 7.3-rc1 with commit cddb447c62466f3076938ce120028d7b591f9f37 Issue introduced in 5.4.26 with commit fbbacd0dcbc3ae9398c569dbea96ae4b5ad97e04 Issue introduced in 5.5.10 with commit 5f7c9989f11305aaa43e0f4378f4f070022a9f2b
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-89458
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/s390/block/dasd.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/c9adf8399732306dfc97b3adb4778038743e3f5e https://git.kernel.org/stable/c/52b331c99baac653ca794bd8487c8ec4de8db203 https://git.kernel.org/stable/c/b0d94dd6e82df396e2254c8b0f25eff7d19c2e7f https://git.kernel.org/stable/c/cddb447c62466f3076938ce120028d7b591f9f37