CVE-2026-99825
publishedsplice: avoid stale f_pos writeback on error
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux7995bd287134f6c8f80d94bebe7396f05a9bc42b to < b4a95e689fd42a988a36f454dbe113db677e4374 · 7995bd287134f6c8f80d94bebe7396f05a9bc42b to < 3c90f154220720b409e243e2cc94534c42e912f2 · 7995bd287134f6c8f80d94bebe7396f05a9bc42b to < ab0aa486a687e5467910f601a7afc6a4bd4a831d · 7995bd287134f6c8f80d94bebe7396f05a9bc42b to < bf8d84f78fb8ed4a00e259184bd73830108dd1d0 · 7995bd287134f6c8f80d94bebe7396f05a9bc42b to < 3a2d1aa0e395b5f190fc1a89bbe41f857b20ce60 · 7995bd287134f6c8f80d94bebe7396f05a9bc42b to < 8bceb60345446206ddaa648020e5bbff65409af8 · 7995bd287134f6c8f80d94bebe7396f05a9bc42b to < 9802608232a65e6054bad9def7d3df03c567bf58 · 7995bd287134f6c8f80d94bebe7396f05a9bc42b to < 79b496ebe382866e3a05090b7dc9ae95e85e65b2 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux3.10 (affected) · 0 to < 3.10 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
Description
In the Linux kernel, the following vulnerability has been resolved: splice: avoid stale f_pos writeback on error do_splice() snapshots an implicit file position before calling the splice helper. Since splice does not take f_pos_lock, another operation on the same open file description can update f_pos while the helper is blocked. If the helper then fails, the unconditional writeback restores the stale snapshot. For a directory without ->splice_read, a file-to-pipe splice fails with -EINVAL. A concurrent directory mutation and getdents() call can advance f_pos 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 7995bd287134f6c8f80d94bebe7396f05a9bc42b to < b4a95e689fd42a988a36f454dbe113db677e4374 (affected · git)7995bd287134f6c8f80d94bebe7396f05a9bc42b to < 3c90f154220720b409e243e2cc94534c42e912f2 (affected · git)7995bd287134f6c8f80d94bebe7396f05a9bc42b to < ab0aa486a687e5467910f601a7afc6a4bd4a831d (affected · git)7995bd287134f6c8f80d94bebe7396f05a9bc42b to < bf8d84f78fb8ed4a00e259184bd73830108dd1d0 (affected · git)7995bd287134f6c8f80d94bebe7396f05a9bc42b to < 3a2d1aa0e395b5f190fc1a89bbe41f857b20ce60 (affected · git)7995bd287134f6c8f80d94bebe7396f05a9bc42b to < 8bceb60345446206ddaa648020e5bbff65409af8 (affected · git)7995bd287134f6c8f80d94bebe7396f05a9bc42b to < 9802608232a65e6054bad9def7d3df03c567bf58 (affected · git)7995bd287134f6c8f80d94bebe7396f05a9bc42b to < 79b496ebe382866e3a05090b7dc9ae95e85e65b2 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 3.10 (affected)0 to < 3.10 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/3a2d1aa0e395b5f190fc1a89bbe41f857b20ce60
- https://git.kernel.org/stable/c/3c90f154220720b409e243e2cc94534c42e912f2
- https://git.kernel.org/stable/c/79b496ebe382866e3a05090b7dc9ae95e85e65b2
- https://git.kernel.org/stable/c/8bceb60345446206ddaa648020e5bbff65409af8
- https://git.kernel.org/stable/c/9802608232a65e6054bad9def7d3df03c567bf58
- https://git.kernel.org/stable/c/ab0aa486a687e5467910f601a7afc6a4bd4a831d
- https://git.kernel.org/stable/c/b4a95e689fd42a988a36f454dbe113db677e4374
- https://git.kernel.org/stable/c/bf8d84f78fb8ed4a00e259184bd73830108dd1d0
Provider assertions
1Linux · cna
splice: avoid stale f_pos writeback on error
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d9c21bafdb956fa86f70bab432b5ea5450bf77e8888d1499299700de2dd80e95
- Ingested
- 30 Nov 2026, 13:30:07 UTC
- Source record
- Official CVE record