CVE-2026-139649
publishedcrypto: asymmetric_keys/x509 - copy X.509 TBS for data signature algorithms
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxf3eccecd782dbaf33d5ad0d1fd22ea277300acdb to < 2ce5faae61b98545210e6a6b77f3df0f81656fcf · f3eccecd782dbaf33d5ad0d1fd22ea277300acdb to < 2618f76b277cef3df8ebdff403b05705f5f8a36d · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux7.0 (affected) · 0 to < 7.0 (unaffected · semver) · 7.3.6 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: asymmetric_keys/x509 - copy X.509 TBS for data signature algorithms For signature algorithms operating on a message rather than a digest, x509_get_sig_params() points sig->m directly into cert->tbs. cert->tbs is the preparsed add_key() payload. The syscall wipes and frees it on return, while the instantiated key retains public_key_signature. A later KEYCTL_LINK into an asymmetric restricted keyring therefore passes a dangling message pointer to ML-DSA. KASAN reports a slab-use-after-free in mldsa_verify(), with allocation and free provenance both leading to __do_sys_add_key(). Reuse is also an integrity issue: bytes occupying the freed object become the authenticated message instead of the certificate's own TBSCertificate. Give the signature object its own copy of the TBS, as is already done for a precomputed digest, and release it through the existing m_free contract.
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 | f3eccecd782dbaf33d5ad0d1fd22ea277300acdb to < 2ce5faae61b98545210e6a6b77f3df0f81656fcf (affected · git)f3eccecd782dbaf33d5ad0d1fd22ea277300acdb to < 2618f76b277cef3df8ebdff403b05705f5f8a36d (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 7.0 (affected)0 to < 7.0 (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
crypto: asymmetric_keys/x509 - copy X.509 TBS for data signature algorithms
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b2e59e86119e2eff2c4677c5cbc8778291935f052080f42e0e22b80da80a0ed8
- Ingested
- 30 Nov 2026, 13:43:49 UTC
- Source record
- Official CVE record