AZL-118115: CVE-2026-143106 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
fs/splice: clamp an over-reported writeiter result
iterfilesplicewrite() builds a bvec iterator of at most sd.totallen - left bytes and passes it to ->writeiter(). It then subtracts the returned length from sd.totallen and walks the pipe buffers by that length. A ->writeiter() implementation that reports more bytes than the iterator held makes sd.totallen underflow and the dismissal loop advance pipe->tail past pipe->head, releasing a zeroed pipe buffer:
Splice Exceeded! ret=7 tot=1 left=0 Oops: general protection fault RIP: 0010:iterfilesplicewrite+0xb6f/0x1170
Commit a3de58b12ce0 ("netfs: Fix unbuffered write error handling") added the warning for this condition but only reports it. Clamp the return value to the size of the iterator that was actually handed to ->writeiter(), so the pipe accounting stays consistent even when a producer violates the iterator contract.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch a3de58b12ce0
Event History
Frequently Asked Questions
What condition is required to trigger the faulty pipe accounting?
A file splice write must call a ->write_iter() implementation that reports writing more bytes than the iterator it received. That over-reported result can cause the splice code to underflow its remaining-length accounting and advance pipe state incorrectly.
How can I tell whether this condition has occurred?
The kernel may log a "Splice Exceeded!" warning with returned, total, and remaining byte counts. The described failure can also produce a general protection fault in iter_file_splice_write().
What does the fix change?
It clamps the byte count returned by ->write_iter() to the size of the iterator passed to it. This keeps pipe-buffer accounting consistent even if a write_iter implementation violates the iterator contract.