CVE-2026-53302: crypto: eip93 - fix hmac setkey algo selection

Published Jun 26, 2026
·
Updated

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

crypto: eip93 - fix hmac setkey algo selection

eip93hmacsetkey() allocates a temporary ahash transform for computing HMAC ipad/opad key material. The allocation uses the driver-specific cradrivername (e.g. "sha256-eip93") but passes CRYPTOALGASYNC as the mask, which excludes async algorithms.

Since the EIP93 hash algorithms are the only ones registered under those driver names and they are inherently async, the lookup is self-contradictory and always fails with -ENOENT.

When called from the AEAD setkey path, this failure leaves the SA record partially initialized with zeroed digest fields. A subsequent crypto operation then dereferences a NULL pointer in the request context, resulting in a kernel panic:

pc : eip93aeadhandleresult+0xc8c/0x1240 [cryptohweip93] lr : eip93aeadhandleresult+0xbec/0x1240 [cryptohweip93] sp : ffffffc082feb820 x29: ffffffc082feb820 x28: ffffff8011043980 x27: 0000000000000000 x26: 0000000000000000 x25: ffffffc078da0bc8 x24: 0000000091043980 x23: ffffff8004d59e50 x22: ffffff8004d59410 x21: ffffff8004d593c0 x20: ffffff8004d593c0 x19: ffffff8004d4f300 x18: 0000000000000000 x17: 0000000000000000 x16: 0000000000000000 x15: 0000007fda7aa498 x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000000 x10: fffffffff8127a80 x9 : 0000000000000000 x8 : ffffff8004d4f380 x7 : 0000000000000000 x6 : 000000000000003f x5 : 0000000000000040 x4 : 0000000000000008 x3 : 0000000000000009 x2 : 0000000000000008 x1 : 0000000028000003 x0 : ffffff8004d388c0 Code: 910142b6 f94012e0 f9002aa0 f90006d3 (f9400740)

The reported symbol eip93aeadhandleresult+0xc8c is a resolution artifact from static functions being merged under the nearest exported symbol. Decoding the faulting sequence:

910142b6 ADD X22, X21, #0x50 f94012e0 LDR X0, [X23, #0x20] f9002aa0 STR X0, [X21, #0x50] f90006d3 STR X19, [X22, #0x8] f9400740 LDR X0, [X26, #0x8]

The faulting LDR at [X26, #0x8] is loading ctx->flags (offset 8 in eip93hashctx), where ctx has been resolved to NULL from a partially initialized or unreachable transform context following the failed setkey.

Fix this by dropping the CRYPTOALGASYNC mask from the cryptoallocahash() call. The code already handles async completion correctly via cryptowaitreq(), so there is no requirement to restrict the lookup to synchronous algorithms.

Note that hashing a single 64-byte block through the hardware is likely slower than doing it in software due to the DMA round-trip overhead, but offloading it may still spare CPU cycles on the slower embedded cores where this IP is found.

[Detailed investigation report of this bug]

Affected Software

3 affected components
Linux Kernel
Linux Linux kernel>=6.15<6.18.33
Linux Linux kernel>=6.19<7.0.10

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    In eip93 HMAC setkey algo selection, fix by dropping the CRYPTO_ALG_ASYNC mask (do not exclude synchronous algorithms by applying CRYPTO_ALG_ASYNC). This ensures the setkey lookup uses synchronous algorithms only and avoids dereferencing a NULL pointer after failed setkey.

    Linux kernel crypto driver eip93 (crypto_hw_eip93) CRYPTO_ALG_ASYNC mask handling = drop CRYPTO_ALG_ASYNC mask (restrict algo selection to synchronous algorithms)

Event History

Jun 26, 2026
CVE Published
via MITRE·07:40 PM
Data Sourced
via MITRE·07:40 PM
Description
Data Sourced
via NVD·08:17 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-53302?

CVE-2026-53302 has a medium severity rating of 5.5 according to the CVSS 3.1 scoring system.

2

How do I fix CVE-2026-53302?

To fix CVE-2026-53302, update your Linux kernel to the latest version where the vulnerability has been patched.

3

What is the risk associated with CVE-2026-53302?

CVE-2026-53302 has a risk score of 32, indicating that it poses a notable threat to system security.

4

What type of vulnerability is CVE-2026-53302?

CVE-2026-53302 is classified as a Null Pointer Dereference vulnerability within the Linux kernel.

5

In which software is CVE-2026-53302 found?

CVE-2026-53302 is found in the Linux kernel software.

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