{"id":"CVE-2026-143106","state":"PUBLISHED","title":"fs/splice: clamp an over-reported write_iter result","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/splice: clamp an over-reported write_iter result\n\niter_file_splice_write() builds a bvec iterator of at most\nsd.total_len - left bytes and passes it to ->write_iter().  It then\nsubtracts the returned length from sd.total_len and walks the pipe\nbuffers by that length.  A ->write_iter() implementation that reports\nmore bytes than the iterator held makes sd.total_len underflow and the\ndismissal loop advance pipe->tail past pipe->head, releasing a zeroed\npipe buffer:\n\n  Splice Exceeded! ret=7 tot=1 left=0\n  Oops: general protection fault\n  RIP: 0010:iter_file_splice_write+0xb6f/0x1170\n\nCommit a3de58b12ce0 (\"netfs: Fix unbuffered write error handling\")\nadded the warning for this condition but only reports it.  Clamp the\nreturn value to the size of the iterator that was actually handed to\n->write_iter(), so the pipe accounting stays consistent even when a\nproducer violates the iterator contract.","publishedAt":"2026-12-03T09:19:23.118Z","updatedAt":"2026-12-03T09:19:23.118Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8d0207652cbe27d1f962050737848e5ad4671958","status":"affected","lessThan":"4e410d2bd373d13d11d1827156f7b8ba9a246953","versionType":"git"},{"version":"8d0207652cbe27d1f962050737848e5ad4671958","status":"affected","lessThan":"e8a2c6fe88a825fef0ea6ac501309de90adef02f","versionType":"git"},{"version":"8d0207652cbe27d1f962050737848e5ad4671958","status":"affected","lessThan":"730fb5d6fcd6062c3264cc782e5efd05688a91e6","versionType":"git"},{"version":"8d0207652cbe27d1f962050737848e5ad4671958","status":"affected","lessThan":"2d956723e82cddae8ff8e9da99a666217b02065f","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/splice.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.16","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","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":["fs/splice.c"]}],"references":["https://git.kernel.org/stable/c/4e410d2bd373d13d11d1827156f7b8ba9a246953","https://git.kernel.org/stable/c/e8a2c6fe88a825fef0ea6ac501309de90adef02f","https://git.kernel.org/stable/c/730fb5d6fcd6062c3264cc782e5efd05688a91e6","https://git.kernel.org/stable/c/2d956723e82cddae8ff8e9da99a666217b02065f"],"weaknesses":[],"ingestedAt":"2026-12-03T09:28:04.553Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143106.json","commit":"9fd484e43f2e14021809e195d28c1172759faad0","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143106","state":"PUBLISHED","datePublished":"2026-12-03T09:19:23.118Z","dateUpdated":"2026-12-03T09:19:23.118Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.349Z"},"containers":{"cna":{"title":"fs/splice: clamp an over-reported write_iter result","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/splice: clamp an over-reported write_iter result\n\niter_file_splice_write() builds a bvec iterator of at most\nsd.total_len - left bytes and passes it to ->write_iter().  It then\nsubtracts the returned length from sd.total_len and walks the pipe\nbuffers by that length.  A ->write_iter() implementation that reports\nmore bytes than the iterator held makes sd.total_len underflow and the\ndismissal loop advance pipe->tail past pipe->head, releasing a zeroed\npipe buffer:\n\n  Splice Exceeded! ret=7 tot=1 left=0\n  Oops: general protection fault\n  RIP: 0010:iter_file_splice_write+0xb6f/0x1170\n\nCommit a3de58b12ce0 (\"netfs: Fix unbuffered write error handling\")\nadded the warning for this condition but only reports it.  Clamp the\nreturn value to the size of the iterator that was actually handed to\n->write_iter(), so the pipe accounting stays consistent even when a\nproducer violates the iterator contract."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8d0207652cbe27d1f962050737848e5ad4671958","status":"affected","lessThan":"4e410d2bd373d13d11d1827156f7b8ba9a246953","versionType":"git"},{"version":"8d0207652cbe27d1f962050737848e5ad4671958","status":"affected","lessThan":"e8a2c6fe88a825fef0ea6ac501309de90adef02f","versionType":"git"},{"version":"8d0207652cbe27d1f962050737848e5ad4671958","status":"affected","lessThan":"730fb5d6fcd6062c3264cc782e5efd05688a91e6","versionType":"git"},{"version":"8d0207652cbe27d1f962050737848e5ad4671958","status":"affected","lessThan":"2d956723e82cddae8ff8e9da99a666217b02065f","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/splice.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.16","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","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":["fs/splice.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/4e410d2bd373d13d11d1827156f7b8ba9a246953"},{"url":"https://git.kernel.org/stable/c/e8a2c6fe88a825fef0ea6ac501309de90adef02f"},{"url":"https://git.kernel.org/stable/c/730fb5d6fcd6062c3264cc782e5efd05688a91e6"},{"url":"https://git.kernel.org/stable/c/2d956723e82cddae8ff8e9da99a666217b02065f"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:19:23.118Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.16","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.16","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.16","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.16","versionEndExcluding":"7.4-rc3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}