CVE-2026-138922

Source
https://cve.org/CVERecord?id=CVE-2026-138922
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138922.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-138922
Downstream
Published
2026-11-30T13:26:13Z
Modified
2026-11-30T15:01:29Z
Summary
crypto: sa2ul - Fix HMAC key preparation
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138922.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
d2c8ac187fc922e73930a1b2f6a211e27f595d01
Fixed
15797b618528bd2e7b94e8aac167f5ae23e24e1a
Fixed
09da3a7fe7951e7659ee924d79db38812064d666
Fixed
780cd10c8e78f97ed768be229acff0ffd5483477

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138922.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.9.0
Fixed
6.18.64
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138922.json"