{"id":"CVE-2026-143106","summary":"fs/splice: clamp an over-reported write_iter result","details":"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 -\u003ewrite_iter().  It then\nsubtracts the returned length from sd.total_len and walks the pipe\nbuffers by that length.  A -\u003ewrite_iter() implementation that reports\nmore bytes than the iterator held makes sd.total_len underflow and the\ndismissal loop advance pipe-\u003etail past pipe-\u003ehead, 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-\u003ewrite_iter(), so the pipe accounting stays consistent even when a\nproducer violates the iterator contract.","modified":"2026-12-03T11:01:20.027359097Z","published":"2026-12-03T09:19:23.118Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143106.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2d956723e82cddae8ff8e9da99a666217b02065f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4e410d2bd373d13d11d1827156f7b8ba9a246953"},{"type":"WEB","url":"https://git.kernel.org/stable/c/730fb5d6fcd6062c3264cc782e5efd05688a91e6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e8a2c6fe88a825fef0ea6ac501309de90adef02f"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143106.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143106"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"8d0207652cbe27d1f962050737848e5ad4671958"},{"fixed":"4e410d2bd373d13d11d1827156f7b8ba9a246953"},{"fixed":"e8a2c6fe88a825fef0ea6ac501309de90adef02f"},{"fixed":"730fb5d6fcd6062c3264cc782e5efd05688a91e6"},{"fixed":"2d956723e82cddae8ff8e9da99a666217b02065f"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143106.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.16.0"},{"fixed":"6.12.120"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143106.json"}}],"schema_version":"1.9.2"}