CVE-2026-97589
published high CVSS 3.1 · 7.0s390/crypto: Fix wrong return code to engine in asynch callbacks
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux6cd87cb5ef6ca50ae17c371482ceaab1d635e232 to < 972e0d9b7d1d112240ccde1f1be85bf9ffaa1720 · 6cd87cb5ef6ca50ae17c371482ceaab1d635e232 to < 5480291aa848e19e61175abfd457933516db70c6 · 6cd87cb5ef6ca50ae17c371482ceaab1d635e232 to < ac1481320110b803ab9b79ab4d2ca11a74fc05f2 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.16 (affected) · 0 to < 6.16 (unaffected · semver) · 6.18.53 through 6.18.* (unaffected · semver) · 7.2.7 through 7.2.* (unaffected · semver) · 7.3 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 7.2.9-1.1 | OPENSUSE-SU-2026:12074-1 |
| Ubuntu | noble | linux-aws-7.0 | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 7.2.9-1.1 | OPENSUSE-SU-2026:12074-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 7.2.9-1.1 | OPENSUSE-SU-2026:12074-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 7.2.9-1.1 | OPENSUSE-SU-2026:12074-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 7.2.9-1.1 | OPENSUSE-SU-2026:12074-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 7.2.9-1.1 | OPENSUSE-SU-2026:12074-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 7.2.9-1.1 | OPENSUSE-SU-2026:12074-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 7.2.9-1.1 | OPENSUSE-SU-2026:12074-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 7.2.9-1.1 | OPENSUSE-SU-2026:12074-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 7.2.9-1.1 | OPENSUSE-SU-2026:12074-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 7.2.9-1.1 | OPENSUSE-SU-2026:12074-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 7.2.9-1.1 | OPENSUSE-SU-2026:12074-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 7.2.9-1.1 | OPENSUSE-SU-2026:12074-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 7.2.9-1.1 | OPENSUSE-SU-2026:12074-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 7.2.9-1.1 | OPENSUSE-SU-2026:12074-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 7.2.9-1.1 | OPENSUSE-SU-2026:12074-1 |
| Ubuntu | noble | linux-aws-7.0-cloud-tools-7.0.0-1017 | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-aws-7.0-headers-7.0.0-1017 | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-aws-7.0-tools-7.0.0-1017 | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-azure-7.0 | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-azure-7.0-cloud-tools-7.0.0-1020 | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-azure-7.0-headers-7.0.0-1020 | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-azure-7.0-tools-7.0.0-1020 | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-azure-fde-7.0 | Advisory build | 7.0.0-1019.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-azure-fde-7.0-cloud-tools-7.0.0-1019 | Advisory build | 7.0.0-1019.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-azure-fde-7.0-headers-7.0.0-1019 | Advisory build | 7.0.0-1019.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-azure-fde-7.0-tools-7.0.0-1019 | Advisory build | 7.0.0-1019.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1016-oracle | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1016-oracle-64k | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1017-aws | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1017-aws-64k | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1017-gcp | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1017-gcp-64k | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1019-azure-fde | Advisory build | 7.0.0-1019.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1020-azure | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1020-azure-64k | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-42-generic | Advisory build | 7.0.0-42.42~24.04.1 | USN-8959-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-42-generic-64k | Advisory build | 7.0.0-42.42~24.04.1 | USN-8959-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1017-aws | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1017-aws-64k | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1019-azure-fde | Advisory build | 7.0.0-1019.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1020-azure | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1020-azure-64k | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-42-generic | Advisory build | 7.0.0-42.42~24.04.1 | USN-8959-1 |
| Ubuntu | noble | linux-gcp-7.0 | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-gcp-7.0-headers-7.0.0-1017 | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-gcp-7.0-tools-7.0.0-1017 | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-headers-7.0.0-1016-oracle | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-headers-7.0.0-1016-oracle-64k | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-headers-7.0.0-1017-aws | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-headers-7.0.0-1017-aws-64k | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-headers-7.0.0-1017-gcp | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-headers-7.0.0-1017-gcp-64k | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-headers-7.0.0-1019-azure-fde | Advisory build | 7.0.0-1019.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-headers-7.0.0-1020-azure | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-headers-7.0.0-1020-azure-64k | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-headers-7.0.0-42-generic | Advisory build | 7.0.0-42.42~24.04.1 | USN-8959-1 |
| Ubuntu | noble | linux-headers-7.0.0-42-generic-64k | Advisory build | 7.0.0-42.42~24.04.1 | USN-8959-1 |
| Ubuntu | noble | linux-hwe-7.0 | Advisory build | 7.0.0-42.42~24.04.1 | USN-8959-1 |
| Ubuntu | noble | linux-hwe-7.0-cloud-tools-7.0.0-42 | Advisory build | 7.0.0-42.42~24.04.1 | USN-8959-1 |
| Ubuntu | noble | linux-hwe-7.0-headers-7.0.0-42 | Advisory build | 7.0.0-42.42~24.04.1 | USN-8959-1 |
| Ubuntu | noble | linux-hwe-7.0-tools-7.0.0-42 | Advisory build | 7.0.0-42.42~24.04.1 | USN-8959-1 |
| Ubuntu | noble | linux-image-7.0.0-42-generic | Advisory build | 7.0.0-42.42~24.04.1 | USN-8959-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1016-oracle | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1016-oracle-64k | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1017-aws | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1017-aws-64k | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1017-gcp | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1017-gcp-64k | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1019-azure-fde | Advisory build | 7.0.0-1019.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1020-azure | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1020-azure-64k | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-42-generic | Advisory build | 7.0.0-42.42~24.04.1 | USN-8959-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-42-generic-64k | Advisory build | 7.0.0-42.42~24.04.1 | USN-8959-1 |
| Ubuntu | noble | linux-lib-rust-7.0.0-42-generic | Advisory build | 7.0.0-42.42~24.04.1 | USN-8959-1 |
| Ubuntu | noble | linux-modules-7.0.0-1016-oracle | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-modules-7.0.0-1016-oracle-64k | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-modules-7.0.0-1017-aws | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-modules-7.0.0-1017-aws-64k | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-modules-7.0.0-1017-gcp | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-modules-7.0.0-1017-gcp-64k | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-modules-7.0.0-1019-azure-fde | Advisory build | 7.0.0-1019.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-modules-7.0.0-1020-azure | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-modules-7.0.0-1020-azure-64k | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-modules-7.0.0-42-generic | Advisory build | 7.0.0-42.42~24.04.1 | USN-8959-1 |
| Ubuntu | noble | linux-modules-7.0.0-42-generic-64k | Advisory build | 7.0.0-42.42~24.04.1 | USN-8959-1 |
| Ubuntu | noble | linux-modules-iwlwifi-7.0.0-1019-azure-fde | Advisory build | 7.0.0-1019.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-modules-iwlwifi-7.0.0-1020-azure | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
| Ubuntu | noble | linux-oracle-7.0 | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-oracle-7.0-headers-7.0.0-1016 | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-oracle-7.0-tools-7.0.0-1016 | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-tools-7.0.0-1016-oracle | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-tools-7.0.0-1016-oracle-64k | Advisory build | 7.0.0-1016.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-tools-7.0.0-1017-aws | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-tools-7.0.0-1017-aws-64k | Advisory build | 7.0.0-1017.18~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-tools-7.0.0-1017-gcp | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-tools-7.0.0-1017-gcp-64k | Advisory build | 7.0.0-1017.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-tools-7.0.0-1019-azure-fde | Advisory build | 7.0.0-1019.19~24.04.1 | USN-9020-1 |
| Ubuntu | noble | linux-tools-7.0.0-1020-azure | Advisory build | 7.0.0-1020.21~24.04.2 | USN-9160-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: s390/crypto: Fix wrong return code to engine in asynch callbacks When crypto_finalize_hash_request() or crypto_finalize_skcipher_request() explicitly completes a request, the do_one_request callback must return 0 to indicate successful handling. Returning a negative error code causes the crypto engine to assume the driver failed to take ownership and triggers a second completion via crypto_request_complete(), resulting in a double completion. This pattern occurs in paes_s390.c 4 times and once in phmac_s390.c. Fixed in phmac_do_one_request() and all four paes do_one_request callbacks (ecb, cbc, ctr, xts) by returning 0 after explicit finalization instead of propagating the error code.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.0 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The faulty return is in ecb/cbc/ctr/xts_paes_do_one_request() and phmac_do_one_request(), which run in the crypto engine worker. They are reached through local crypto API users: AF_ALG sockets binding "ecb(paes)" etc. (algif_skcipher recvmsg -> ecb_paes_crypt -> engine) or dm-crypt. No remote peer supplies the data that causes the failure. AC:H - The double completion fires only when the engine path returns an error. That needs the protected key to be invalidated (-EKEYEXPIRED, e.g. the wrapping key changed) and then re-conversion to fail in paes_convert_key() because the card is busy or offline. AF_ALG blocks setkey while op sockets exist, so the attacker cannot force this state. PR:L - AF_ALG socket creation and binding the paes/phmac algorithms need no capability, so a local unprivileged user holding usable key material can push requests through the paes engine path. UI:N - No victim action is needed. Once the engine-side failure condition exists, the attacker's own AF_ALG requests (or ordinary dm-crypt I/O) hit the double completion. S:U - The corruption stays within the kernel's own security authority. There is no guest-to-host or other boundary crossing. C:H - crypto_pump_requests() calls crypto_request_complete() a second time after crypto_finalize_skcipher_request(). In AF_ALG the extra complete of ctx->wait lets a later request's areq be freed while the engine still processes it, so the engine keeps reading freed memory (use-after-free). I:H - The engine's skcipher walk and cpacf output keep writing into the freed request and scatterlist memory. For dm-crypt, the same bio completes twice. Both are use-after-free writes that can be used for heap corruption. A:H - The double completion corrupts request/bio lifetime (double bio end or a use-after-free on the areq), which can crash the kernel or corrupt dm-crypt I/O.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 6cd87cb5ef6ca50ae17c371482ceaab1d635e232 to < 972e0d9b7d1d112240ccde1f1be85bf9ffaa1720 (affected · git)6cd87cb5ef6ca50ae17c371482ceaab1d635e232 to < 5480291aa848e19e61175abfd457933516db70c6 (affected · git)6cd87cb5ef6ca50ae17c371482ceaab1d635e232 to < ac1481320110b803ab9b79ab4d2ca11a74fc05f2 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.16 (affected)0 to < 6.16 (unaffected · semver)6.18.53 through 6.18.* (unaffected · semver)7.2.7 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
s390/crypto: Fix wrong return code to engine in asynch callbacks
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a2bad4a4e6c3362d5cf48cc7efaa4d613a10f3daad273f5dd8ebbcb97ccc052c
- Ingested
- 19 Oct 2026, 09:34:28 UTC
- Source record
- Official CVE record