Linux
s390/dasd: Propagate partial completion length across ERP recovery
In the Linux kernel, the following vulnerability has been resolved: s390/dasd: Propagate partial completion length across ERP recovery dasd_default_erp_postaction() copies the timing and device state from the finished ERP request back to the original request but drops proc_bytes. A request that was partially completed, an ESE read of a not-yet-allocated track returns fewer bytes than requested, and then recovered through the ERP chain loses its partial-completion length. __dasd_cleanup_cqr() then sees proc_bytes == 0 and completes the whole request instead of requeueing the remainder, silently returning zeroed data for the part that was never read. Carry proc_bytes over to the original request like the other per-request state.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 5e6bdd37c5526ef01326df5dabb93011ee89237e, < 9e063165d3fe58db2a517717b830f17e82d03467
- >= 5e6bdd37c5526ef01326df5dabb93011ee89237e, < 6b0954c8a259da1e4aa745989f82723947acfb46
- >= 5e6bdd37c5526ef01326df5dabb93011ee89237e, < d0a2f97d8c97134aa7f6a191940b7bab4bb42f5f
- >= 5e6bdd37c5526ef01326df5dabb93011ee89237e, < f735b9710f0c8fe72c1060103e865f4ae678190b
- >= 5e6bdd37c5526ef01326df5dabb93011ee89237e, < d6b8778b1b82aa3a8dbf8612080f635b834bd16b
- >= 5e6bdd37c5526ef01326df5dabb93011ee89237e, < ceafb262475ac6cb3a7d07b1102608be2b216b99
- >= 5e6bdd37c5526ef01326df5dabb93011ee89237e, < 15ec03452c18e8d288e519837d21b308300d74b2
- >= 5e6bdd37c5526ef01326df5dabb93011ee89237e, < 6fb5ba2e7e43173a3761e46f091070a8185efa14
- fbbacd0dcbc3ae9398c569dbea96ae4b5ad97e04
- 5f7c9989f11305aaa43e0f4378f4f070022a9f2b
- >= 5.4.26, < 5.5
- >= 5.5.10, < 5.6
Fixed in 9e063165d3fe58db2a517717b830f17e82d03467, 6b0954c8a259da1e4aa745989f82723947acfb46, d0a2f97d8c97134aa7f6a191940b7bab4bb42f5f, f735b9710f0c8fe72c1060103e865f4ae678190b, d6b8778b1b82aa3a8dbf8612080f635b834bd16b, ceafb262475ac6cb3a7d07b1102608be2b216b99, 15ec03452c18e8d288e519837d21b308300d74b2, 6fb5ba2e7e43173a3761e46f091070a8185efa14, 5.5, 5.6
- 5.6
Fixed in 0, 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.109, 6.18.50, 7.2.4, 7.3
Mitigation
Upgrade Linux to 9e063165d3fe58db2a517717b830f17e82d03467 or 6b0954c8a259da1e4aa745989f82723947acfb46 or d0a2f97d8c97134aa7f6a191940b7bab4bb42f5f or f735b9710f0c8fe72c1060103e865f4ae678190b or d6b8778b1b82aa3a8dbf8612080f635b834bd16b or ceafb262475ac6cb3a7d07b1102608be2b216b99 or 15ec03452c18e8d288e519837d21b308300d74b2 or 6fb5ba2e7e43173a3761e46f091070a8185efa14 or 5.5 or 5.6 or later.
Upgrade Linux to 0 or 5.10.270 or 5.15.221 or 6.1.188 or 6.6.157 or 6.12.109 or 6.18.50 or 7.2.4 or 7.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.