{"id":"CVE-2026-64046","aliases":["CVE-2026-64046"],"related":[],"kind":"vulnerability","state":"published","title":"net: tls: prevent chain-after-chain in plain text SG","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: tls: prevent chain-after-chain in plain text SG\n\nSashiko points out that if end = 0 (start != 0) the current\ncode will create a chain link to content type right after\nthe wrap link:\n\n  This would create a chain where the wrap link points directly\n  to another chain link. The scatterlist API sg_next iterator\n  does not recursively resolve consecutive chain links.\n\nmeaning this is illegal input to crypto.\n\nThe wrapping link is unnecessary if end = 0. end is the entry after\nthe last one used so end = 0 means there's nothing pushed after\nthe wrap:\n\n   end         start            i\n    v            v              v\n  [   ]...[   ][ d ][ d ][ d ][ d ][rsv for wrap]\n\nSkip the wrapping in this case.\n\nTLS 1.3 can use the \"wrapping slot\" for it's chaining if end = 0.\nThis avoids the chain-after-chain.\n\nMove the wrap chaining before marking END and chaining off content\ntype, that feels like more logical ordering to me, but should not\nmatter from functional perspective.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: tls: prevent chain-after-chain in plain text SG\n\nSashiko points out that if end = 0 (start != 0) the current\ncode will create a chain link to content type right after\nthe wrap link:\n\n  This would create a chain where the wrap link points directly\n  to another chain link. The scatterlist API sg_next iterator\n  does not recursively resolve consecutive chain links.\n\nmeaning this is illegal input to crypto.\n\nThe wrapping link is unnecessary if end = 0. end is the entry after\nthe last one used so end = 0 means there's nothing pushed after\nthe wrap:\n\n   end         start            i\n    v            v              v\n  [   ]...[   ][ d ][ d ][ d ][ d ][rsv for wrap]\n\nSkip the wrapping in this case.\n\nTLS 1.3 can use the \"wrapping slot\" for it's chaining if end = 0.\nThis avoids the chain-after-chain.\n\nMove the wrap chaining before marking END and chaining off content\ntype, that feels like more logical ordering to me, but should not\nmatter from functional perspective.","source":"cvelist"}],"published":"2026-07-19T15:39:31.129Z","modified":"2026-10-19T21:17:21.583Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-20"],"affected":[{"ranges":[{"type":"git","introduced":"9aaaa56845a06aeabdd597cbe19492dc01f281ec","fixed":"49a5faaa471ddcd37b6893970c9916eb836e7c31","status":"affected"},{"type":"git","introduced":"9aaaa56845a06aeabdd597cbe19492dc01f281ec","fixed":"91359966e247c0244c66d50bbb8e74aefa4321c3","status":"affected"},{"type":"git","introduced":"9aaaa56845a06aeabdd597cbe19492dc01f281ec","fixed":"410351158dfef2d67fea6603680b3a6013c6ed9d","status":"affected"},{"type":"git","introduced":"9aaaa56845a06aeabdd597cbe19492dc01f281ec","fixed":"acdc12b71c9aa4be5dcd2c8062753c6d2033e235","status":"affected"},{"type":"git","introduced":"9aaaa56845a06aeabdd597cbe19492dc01f281ec","fixed":"929b1548e63ac72e104c07d8ee8cbbeeba2fa89a","status":"affected"},{"type":"git","introduced":"9aaaa56845a06aeabdd597cbe19492dc01f281ec","fixed":"af855f4c966afafef74faf8390c7b86568c0d46d","status":"affected"},{"type":"git","introduced":"9aaaa56845a06aeabdd597cbe19492dc01f281ec","fixed":"b9c015ef1a7bf1e8dc67f21c6381f36deb2c3a36","status":"affected"},{"type":"git","introduced":"9aaaa56845a06aeabdd597cbe19492dc01f281ec","fixed":"ff26a0e8377dec07e4a7230db7675bed1b9a6d03","status":"affected"},{"type":"git","version":"d529d6c9f7e3aaeac13c4948f79799ccb825f29d","status":"affected"},{"type":"semver","introduced":"5.4.14","fixed":"5.5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.5","status":"unaffected"},{"type":"semver","introduced":"5.10.258","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.209","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.175","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.142","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.92","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.34","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.11","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.4.14","fixed":"5.5"},{"status":"affected","introduced":"5.5.1","fixed":"5.10.258"},{"status":"affected","introduced":"5.11","fixed":"5.15.209"},{"status":"affected","introduced":"5.16","fixed":"6.1.175"},{"status":"affected","introduced":"6.2","fixed":"6.6.142"},{"status":"affected","introduced":"6.7","fixed":"6.12.92"},{"status":"affected","introduced":"6.13","fixed":"6.18.34"},{"status":"affected","introduced":"6.19","fixed":"7.0.11"},{"status":"affected","version":"5.5"},{"status":"affected","version":"5.5"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/49a5faaa471ddcd37b6893970c9916eb836e7c31","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/91359966e247c0244c66d50bbb8e74aefa4321c3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/410351158dfef2d67fea6603680b3a6013c6ed9d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/acdc12b71c9aa4be5dcd2c8062753c6d2033e235","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/929b1548e63ac72e104c07d8ee8cbbeeba2fa89a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/af855f4c966afafef74faf8390c7b86568c0d46d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b9c015ef1a7bf1e8dc67f21c6381f36deb2c3a36","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ff26a0e8377dec07e4a7230db7675bed1b9a6d03","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-10-16T15:35:52.163Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-64046","url":"https://www.cve.org/CVERecord?id=CVE-2026-64046","licence":"CVE Terms of Use","modified":"2026-10-19T20:28:10.562Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-64046","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64046","licence":"Public domain","modified":"2026-10-19T21:17:21.583Z"}],"updatedAt":"2026-11-25T22:59:28.964Z","epss":{"score":0.00514,"percentile":0.45299,"date":"2026-12-01T12:00:22.000Z"}}