CVE-2026-143106: fs/splice: clamp an over-reported write_iter result

Published Dec 3, 2026
·
Updated

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

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch a3de58b12ce0

Event History

Dec 3, 2026
CVE Published
via MITRE·09:19 AM
Data Sourced
via MITRE·09:19 AM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems are exposed when iter_file_splice_write() calls a ->write_iter() implementation that reports writing more bytes than were present in the iterator it received. The resulting incorrect pipe accounting can advance pipe->tail beyond pipe->head and release a zeroed pipe buffer.

2

How can I tell whether this condition has occurred?

Affected execution may produce the warning "Splice Exceeded!" with returned, total, and remaining byte counts. The described failure can then result in an Oops reporting a general protection fault in iter_file_splice_write().

3

What does the fix change?

The fix clamps the length returned by ->write_iter() to the size of the iterator actually passed to it. This prevents underflow of sd.total_len and keeps pipe-buffer dismissal accounting consistent when an implementation violates the iterator contract.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203