{"id":"CVE-2026-99825","aliases":["CVE-2026-99825"],"related":[],"kind":"vulnerability","state":"published","title":"splice: avoid stale f_pos writeback on error","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsplice: avoid stale f_pos writeback on error\n\ndo_splice() snapshots an implicit file position before calling the splice\nhelper. Since splice does not take f_pos_lock, another operation on the\nsame open file description can update f_pos while the helper is blocked.\nIf the helper then fails, the unconditional writeback restores the stale\nsnapshot.\n\nFor a directory without ->splice_read, a file-to-pipe splice fails with\n-EINVAL. A concurrent directory mutation and getdents() call can advance\nf_pos and refresh the filesystem's revalidation cookie before that failure\nrestores only the old position. The next ext2 readdir can then trust an\noffset inside a directory entry and copy data from the adjacent page to\nuserspace.\n\nOnly update an implicit file position when splice returns a non-negative\nresult, matching read and write. Keep explicit offset updates unchanged.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsplice: avoid stale f_pos writeback on error\n\ndo_splice() snapshots an implicit file position before calling the splice\nhelper. Since splice does not take f_pos_lock, another operation on the\nsame open file description can update f_pos while the helper is blocked.\nIf the helper then fails, the unconditional writeback restores the stale\nsnapshot.\n\nFor a directory without ->splice_read, a file-to-pipe splice fails with\n-EINVAL. A concurrent directory mutation and getdents() call can advance\nf_pos and refresh the filesystem's revalidation cookie before that failure\nrestores only the old position. The next ext2 readdir can then trust an\noffset inside a directory entry and copy data from the adjacent page to\nuserspace.\n\nOnly update an implicit file position when splice returns a non-negative\nresult, matching read and write. Keep explicit offset updates unchanged.","source":"cvelist"}],"published":"2026-11-30T13:17:22.801Z","modified":"2026-11-30T14:20:15.110Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"7995bd287134f6c8f80d94bebe7396f05a9bc42b","fixed":"b4a95e689fd42a988a36f454dbe113db677e4374","status":"affected"},{"type":"git","introduced":"7995bd287134f6c8f80d94bebe7396f05a9bc42b","fixed":"3c90f154220720b409e243e2cc94534c42e912f2","status":"affected"},{"type":"git","introduced":"7995bd287134f6c8f80d94bebe7396f05a9bc42b","fixed":"ab0aa486a687e5467910f601a7afc6a4bd4a831d","status":"affected"},{"type":"git","introduced":"7995bd287134f6c8f80d94bebe7396f05a9bc42b","fixed":"bf8d84f78fb8ed4a00e259184bd73830108dd1d0","status":"affected"},{"type":"git","introduced":"7995bd287134f6c8f80d94bebe7396f05a9bc42b","fixed":"3a2d1aa0e395b5f190fc1a89bbe41f857b20ce60","status":"affected"},{"type":"git","introduced":"7995bd287134f6c8f80d94bebe7396f05a9bc42b","fixed":"8bceb60345446206ddaa648020e5bbff65409af8","status":"affected"},{"type":"git","introduced":"7995bd287134f6c8f80d94bebe7396f05a9bc42b","fixed":"9802608232a65e6054bad9def7d3df03c567bf58","status":"affected"},{"type":"git","introduced":"7995bd287134f6c8f80d94bebe7396f05a9bc42b","fixed":"79b496ebe382866e3a05090b7dc9ae95e85e65b2","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.10","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/b4a95e689fd42a988a36f454dbe113db677e4374","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3c90f154220720b409e243e2cc94534c42e912f2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ab0aa486a687e5467910f601a7afc6a4bd4a831d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bf8d84f78fb8ed4a00e259184bd73830108dd1d0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3a2d1aa0e395b5f190fc1a89bbe41f857b20ce60","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8bceb60345446206ddaa648020e5bbff65409af8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9802608232a65e6054bad9def7d3df03c567bf58","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/79b496ebe382866e3a05090b7dc9ae95e85e65b2","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99825","url":"https://www.cve.org/CVERecord?id=CVE-2026-99825","licence":"CVE Terms of Use","modified":"2026-11-30T13:17:22.801Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99825","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99825","licence":"Public domain","modified":"2026-11-30T14:20:15.110Z"}],"updatedAt":"2026-11-30T14:33:40.710Z","epss":{"score":0.0022,"percentile":0.13279,"date":"2026-12-01T12:00:22.000Z"}}