CVE-2026-97589: s390/crypto: Fix wrong return code to engine in asynch callbacks

Published Sep 25, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

s390/crypto: Fix wrong return code to engine in asynch callbacks

When cryptofinalizehashrequest() or cryptofinalizeskcipherrequest() explicitly completes a request, the doonerequest 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 cryptorequestcomplete(), resulting in a double completion. This pattern occurs in paess390.c 4 times and once in phmacs390.c.

Fixed in phmacdoonerequest() and all four paes doonerequest callbacks (ecb, cbc, ctr, xts) by returning 0 after explicit finalization instead of propagating the error code.

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 25, 2026
CVE Published
via MITRE·10:22 AM
Data Sourced
via MITRE·10:22 AM
DescriptionSeverity
Data Sourced
via NVD·11:17 AM
DescriptionSeverity

Frequently Asked Questions

1

Which systems are affected by this issue?

The affected code is in the Linux kernel s390 crypto drivers, specifically PAES ECB, CBC, CTR, and XTS request callbacks and the PHMAC request callback. Systems that do not use these s390 crypto driver paths are not described as affected by the provided information.

2

What condition triggers the double completion?

It occurs when crypto_finalize_hash_request() or crypto_finalize_skcipher_request() explicitly completes a request but the do_one_request callback returns a negative error code. The crypto engine then treats the request as not having been handled and calls crypto_request_complete() again.

3

What is the relevant remediation?

Apply the kernel fix that changes phmac_do_one_request() and the four PAES do_one_request callbacks to return 0 after explicitly finalizing a request. This tells the crypto engine that the callback successfully handled request completion.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203