# CVE-2026-64046: net: tls: prevent chain-after-chain in plain text SG

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 45% of CVEs (2026-12-01)
- Published: 2026-07-19T15:39:31.129Z
- Modified: 2026-10-19T21:17:21.583Z
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 9aaaa56845a06aeabdd597cbe19492dc01f281ec before 49a5faaa471ddcd37b6893970c9916eb836e7c31; from 9aaaa56845a06aeabdd597cbe19492dc01f281ec before 91359966e247c0244c66d50bbb8e74aefa4321c3; from 9aaaa56845a06aeabdd597cbe19492dc01f281ec before 410351158dfef2d67fea6603680b3a6013c6ed9d; from 9aaaa56845a06aeabdd597cbe19492dc01f281ec before acdc12b71c9aa4be5dcd2c8062753c6d2033e235; from 9aaaa56845a06aeabdd597cbe19492dc01f281ec before 929b1548e63ac72e104c07d8ee8cbbeeba2fa89a; from 9aaaa56845a06aeabdd597cbe19492dc01f281ec before af855f4c966afafef74faf8390c7b86568c0d46d; from 9aaaa56845a06aeabdd597cbe19492dc01f281ec before b9c015ef1a7bf1e8dc67f21c6381f36deb2c3a36; from 9aaaa56845a06aeabdd597cbe19492dc01f281ec before ff26a0e8377dec07e4a7230db7675bed1b9a6d03; d529d6c9f7e3aaeac13c4948f79799ccb825f29d; from 5.4.14 before 5.5; 5.5 (not affected: before 5.5; from 5.10.258 up to 5.10.*; from 5.15.209 up to 5.15.*; from 6.1.175 up to 6.1.*; from 6.6.142 up to 6.6.*; from 6.12.92 up to 6.12.*; from 6.18.34 up to 6.18.*; from 7.0.11 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 5.4.14 before 5.5; from 5.5.1 before 5.10.258; from 5.11 before 5.15.209; from 5.16 before 6.1.175; from 6.2 before 6.6.142; from 6.7 before 6.12.92; from 6.13 before 6.18.34; from 6.19 before 7.0.11; 5.5; 7.1

## References

- <https://git.kernel.org/stable/c/49a5faaa471ddcd37b6893970c9916eb836e7c31> (patch)
- <https://git.kernel.org/stable/c/91359966e247c0244c66d50bbb8e74aefa4321c3> (patch)
- <https://git.kernel.org/stable/c/410351158dfef2d67fea6603680b3a6013c6ed9d> (patch)
- <https://git.kernel.org/stable/c/acdc12b71c9aa4be5dcd2c8062753c6d2033e235> (patch)
- <https://git.kernel.org/stable/c/929b1548e63ac72e104c07d8ee8cbbeeba2fa89a> (patch)
- <https://git.kernel.org/stable/c/af855f4c966afafef74faf8390c7b86568c0d46d> (patch)
- <https://git.kernel.org/stable/c/b9c015ef1a7bf1e8dc67f21c6381f36deb2c3a36> (patch)
- <https://git.kernel.org/stable/c/ff26a0e8377dec07e4a7230db7675bed1b9a6d03> (patch)

## Sources

- CVE List: [CVE-2026-64046](https://www.cve.org/CVERecord?id=CVE-2026-64046), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-64046](https://nvd.nist.gov/vuln/detail/CVE-2026-64046), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-64046 · Whole record: https://cve.day/CVE-2026-64046.json · Rebuilt by cve.day 2026-11-25T22:59:28.964Z
