{"id":"CVE-2026-143187","state":"PUBLISHED","title":"tls: Consume empty data records in tls_sw_splice_read()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ntls: Consume empty data records in tls_sw_splice_read()\n\nA zero-length application_data record decrypts to full_len == 0,\nso tls_sw_splice_read() splices zero bytes and returns zero. A zero\nreturn from a splice read means EOF, and the caller tears down a\nconnection that is still live.\n\nConsume the record and fetch the next one, as tls_sw_read_sock()\ndoes. The cap on consecutive empty records bounds the loop.\n\nWhen an empty record precedes a close_notify, splice(2) now returns\n-EINVAL from the control-record test instead of a false EOF. A\nsplice that reaches an alert record already reports -EINVAL.","publishedAt":"2026-12-03T09:20:17.335Z","updatedAt":"2026-12-03T09:20:17.335Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c46234ebb4d1eee5e09819f49169e51cfc6eb909","status":"affected","lessThan":"f2b0dd5b71952777fde1f63dbf1ee16764b492ba","versionType":"git"},{"version":"c46234ebb4d1eee5e09819f49169e51cfc6eb909","status":"affected","lessThan":"db6a6c6863bd22b2543e313cb8e4807fdd33778b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/tls/tls_sw.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.17","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/tls/tls_sw.c"]}],"references":["https://git.kernel.org/stable/c/f2b0dd5b71952777fde1f63dbf1ee16764b492ba","https://git.kernel.org/stable/c/db6a6c6863bd22b2543e313cb8e4807fdd33778b"],"weaknesses":[],"ingestedAt":"2026-12-03T09:40:06.136Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143187.json","commit":"9e309c7c0f08856e2558a1df33f75dca027fab70","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143187","state":"PUBLISHED","datePublished":"2026-12-03T09:20:17.335Z","dateUpdated":"2026-12-03T09:20:17.335Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.358Z"},"containers":{"cna":{"title":"tls: Consume empty data records in tls_sw_splice_read()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ntls: Consume empty data records in tls_sw_splice_read()\n\nA zero-length application_data record decrypts to full_len == 0,\nso tls_sw_splice_read() splices zero bytes and returns zero. A zero\nreturn from a splice read means EOF, and the caller tears down a\nconnection that is still live.\n\nConsume the record and fetch the next one, as tls_sw_read_sock()\ndoes. The cap on consecutive empty records bounds the loop.\n\nWhen an empty record precedes a close_notify, splice(2) now returns\n-EINVAL from the control-record test instead of a false EOF. A\nsplice that reaches an alert record already reports -EINVAL."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c46234ebb4d1eee5e09819f49169e51cfc6eb909","status":"affected","lessThan":"f2b0dd5b71952777fde1f63dbf1ee16764b492ba","versionType":"git"},{"version":"c46234ebb4d1eee5e09819f49169e51cfc6eb909","status":"affected","lessThan":"db6a6c6863bd22b2543e313cb8e4807fdd33778b","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/tls/tls_sw.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.17","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/tls/tls_sw.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/f2b0dd5b71952777fde1f63dbf1ee16764b492ba"},{"url":"https://git.kernel.org/stable/c/db6a6c6863bd22b2543e313cb8e4807fdd33778b"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:20:17.335Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.17","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.17","versionEndExcluding":"7.4-rc3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}