net: tls: prevent chain-after-chain in plain text SG
Summary
| CVE | CVE-2026-64046 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-19 16:17:44 UTC |
| Updated | 2026-07-20 15:17:05 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: net: tls: prevent chain-after-chain in plain text SG Sashiko points out that if end = 0 (start != 0) the current code will create a chain link to content type right after the wrap link: This would create a chain where the wrap link points directly to another chain link. The scatterlist API sg_next iterator does not recursively resolve consecutive chain links. meaning this is illegal input to crypto. The wrapping link is unnecessary if end = 0. end is the entry after the last one used so end = 0 means there's nothing pushed after the wrap: end start i v v v [ ]...[ ][ d ][ d ][ d ][ d ][rsv for wrap] Skip the wrapping in this case. TLS 1.3 can use the "wrapping slot" for it's chaining if end = 0. This avoids the chain-after-chain. Move the wrap chaining before marking END and chaining off content type, that feels like more logical ordering to me, but should not matter from functional perspective. |
Risk And Classification
Primary CVSS: v3.1 9.8 CRITICAL from 416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.001760000 probability, percentile 0.073870000 (date 2026-07-20)
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 9aaaa56845a06aeabdd597cbe19492dc01f281ec 49a5faaa471ddcd37b6893970c9916eb836e7c31 git | Not specified |
| CNA | Linux | Linux | affected 9aaaa56845a06aeabdd597cbe19492dc01f281ec 91359966e247c0244c66d50bbb8e74aefa4321c3 git | Not specified |
| CNA | Linux | Linux | affected 9aaaa56845a06aeabdd597cbe19492dc01f281ec 410351158dfef2d67fea6603680b3a6013c6ed9d git | Not specified |
| CNA | Linux | Linux | affected 9aaaa56845a06aeabdd597cbe19492dc01f281ec acdc12b71c9aa4be5dcd2c8062753c6d2033e235 git | Not specified |
| CNA | Linux | Linux | affected 9aaaa56845a06aeabdd597cbe19492dc01f281ec 929b1548e63ac72e104c07d8ee8cbbeeba2fa89a git | Not specified |
| CNA | Linux | Linux | affected 9aaaa56845a06aeabdd597cbe19492dc01f281ec af855f4c966afafef74faf8390c7b86568c0d46d git | Not specified |
| CNA | Linux | Linux | affected 9aaaa56845a06aeabdd597cbe19492dc01f281ec b9c015ef1a7bf1e8dc67f21c6381f36deb2c3a36 git | Not specified |
| CNA | Linux | Linux | affected 9aaaa56845a06aeabdd597cbe19492dc01f281ec ff26a0e8377dec07e4a7230db7675bed1b9a6d03 git | Not specified |
| CNA | Linux | Linux | affected d529d6c9f7e3aaeac13c4948f79799ccb825f29d git | Not specified |
| CNA | Linux | Linux | affected 5.4.14 5.5 semver | Not specified |
| CNA | Linux | Linux | affected 5.5 | Not specified |
| CNA | Linux | Linux | unaffected 5.5 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.258 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.209 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.175 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.142 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.92 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.34 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0.11 7.0.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.1 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/91359966e247c0244c66d50bbb8e74aefa4321c3 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/929b1548e63ac72e104c07d8ee8cbbeeba2fa89a | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/410351158dfef2d67fea6603680b3a6013c6ed9d | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/af855f4c966afafef74faf8390c7b86568c0d46d | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/49a5faaa471ddcd37b6893970c9916eb836e7c31 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/acdc12b71c9aa4be5dcd2c8062753c6d2033e235 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/b9c015ef1a7bf1e8dc67f21c6381f36deb2c3a36 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/ff26a0e8377dec07e4a7230db7675bed1b9a6d03 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.