CVE-2026-99825: splice: avoid stale f_pos writeback on error

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

splice: avoid stale fpos writeback on error

dosplice() snapshots an implicit file position before calling the splice helper. Since splice does not take fposlock, another operation on the same open file description can update fpos while the helper is blocked. If the helper then fails, the unconditional writeback restores the stale snapshot.

For a directory without ->spliceread, a file-to-pipe splice fails with -EINVAL. A concurrent directory mutation and getdents() call can advance fpos and refresh the filesystem's revalidation cookie before that failure restores only the old position. The next ext2 readdir can then trust an offset inside a directory entry and copy data from the adjacent page to userspace.

Only update an implicit file position when splice returns a non-negative result, matching read and write. Keep explicit offset updates unchanged.

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 30, 2026
CVE Published
via MITRE·01:17 PM
Data Sourced
via MITRE·01:17 PM
Description

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