CVE-2026-138922
publishedcrypto: sa2ul - Fix HMAC key preparation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxd2c8ac187fc922e73930a1b2f6a211e27f595d01 to < 15797b618528bd2e7b94e8aac167f5ae23e24e1a · d2c8ac187fc922e73930a1b2f6a211e27f595d01 to < 09da3a7fe7951e7659ee924d79db38812064d666 · d2c8ac187fc922e73930a1b2f6a211e27f595d01 to < 780cd10c8e78f97ed768be229acff0ffd5483477 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.9 (affected) · 0 to < 5.9 (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 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 |
Description
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/[email protected]/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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | d2c8ac187fc922e73930a1b2f6a211e27f595d01 to < 15797b618528bd2e7b94e8aac167f5ae23e24e1a (affected · git)d2c8ac187fc922e73930a1b2f6a211e27f595d01 to < 09da3a7fe7951e7659ee924d79db38812064d666 (affected · git)d2c8ac187fc922e73930a1b2f6a211e27f595d01 to < 780cd10c8e78f97ed768be229acff0ffd5483477 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.9 (affected)0 to < 5.9 (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
crypto: sa2ul - Fix HMAC key preparation
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5f9052988b3a0146d7d88fcba85ac2c34e5644f5af978d9c81926d762c947293
- Ingested
- 30 Nov 2026, 13:30:07 UTC
- Source record
- Official CVE record