Security mailing lists by PureSourceCode

CVE-2026-138922

not scored yet

crypto: sa2ul - Fix HMAC key preparation

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

crypto: sa2ul - Fix HMAC key preparation

sa_prepare_iopads() has multiple bugs, as discussed at
https://lore.kernel.org/linux-crypto/20260831055141.1632832-1-s-vadapalli@ti.com/T/#u

  • Commit 3bf533787910 ("crypto: sha256 - Use the partial block API")
    introduced a 1-byte buffer overflow in the SHA-256 case by making the
    crypto_shash_export() write 1 more than sizeof(struct sha256_state).

  • It never worked for HMAC keys longer than 64 bytes in the first place.

Fix both of these bugs by just using the crypto library to prepare the
key, like what the chelsio and qat drivers do. Also remove the
pointless use of an indirect call.

Published
30 Nov 2026
Last modified
30 Nov 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= d2c8ac187fc922e73930a1b2f6a211e27f595d01, < 15797b618528bd2e7b94e8aac167f5ae23e24e1a; >= d2c8ac187fc922e73930a1b2f6a211e27f595d01, < 09da3a7fe7951e7659ee924d79db38812064d666; >= d2c8ac187fc922e73930a1b2f6a211e27f595d01, < 780cd10c8e78f97ed768be229acff0ffd5483477 15797b618528bd2e7b94e8aac167f5ae23e24e1a, 09da3a7fe7951e7659ee924d79db38812064d666, 780cd10c8e78f97ed768be229acff0ffd5483477
CVE List Linux Linux = 5.9

References

History

  • 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 13:31 UTC · CVE List: first stored (published 30 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.