# CVE-2026-99828: backing-file: enforce append-only and immutable backing inodes

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-11-30T13:17:25.302Z
- Modified: 2026-11-30T14:20:15.503Z
- Assigned by: Linux

## Description

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

backing-file: enforce append-only and immutable backing inodes

FUSE passthrough opens the backing file anew whenever the FUSE file is
opened. fuse_passthrough_open() passes the flags of that open to
backing_file_open() which opens the backing file with vfs_open() and the
credentials of the server. But vfs_open() doesn't go through may_open().
So the backing inode is never checked for S_APPEND and S_IMMUTABLE. The
checks that did run were done on the FUSE inode and that one never has
either flag.

So anyone who may open the FUSE file for writing can overwrite an
append-only backing file anywhere or write to an immutable one. The
server only has to register the file and a read-only or even an O_PATH
file descriptor is enough for that. Registering requires CAP_SYS_ADMIN
but the writer can be any user that the server lets open the file.

The FUSE inode is checked instead of the backing inode in a few more
places:

- do_mmap() refuses a shared mapping of an append-only file that was
  opened for writing. A FUSE file opened with O_RDWR | O_APPEND passes
  the open check and can then be mapped shared and written to at any
  offset.

- fcntl(F_SETFL) and RWF_NOAPPEND refuse to take append mode away from a
  file on an append-only inode. On the FUSE file both succeed. A
  synchronous write still appends because the backing file was opened
  with O_APPEND. But an asynchronous write is submitted with the flags
  of the user's kiocb and lands at the given offset.

Do the checks on the backing inode. backing_file_open() refuses to open
an immutable inode for writing and an append-only inode for writing
without O_APPEND, just like may_open(). backing_file_mmap() refuses a
shared mapping of an append-only inode, just like do_mmap(). And writes
and splices to a backing file in append mode fail if append mode was
taken away from the user file.

A FUSE file that was opened before the backing file became append-only
can still write anywhere. That's what happens on the native filesystem
as well and the backing file of such a file isn't in append mode. Two
differences remain. F_SETFL succeeds and the next write fails. And FUSE
reports EIO for a refused open because it turns every error from opening
the backing file into EIO.

overlayfs uses the same helpers but it mirrors S_APPEND and S_IMMUTABLE
in its own inode and a chattr through the overlay never sets them on the
upper inode. So for overlayfs this only changes something if the upper
inode is changed behind the overlay's back.

(As written by CVE List.)

## Affected

- Linux Linux: from 4a90451bbc7f7fde94041fbb9ca96dd915069943 before 23b0b7d7c79227009c3a11e12fe11b8a406b0fbe; from 4a90451bbc7f7fde94041fbb9ca96dd915069943 before 4a70894450cb4d0d5308a9b831e30a8fe0a5a156; from 4a90451bbc7f7fde94041fbb9ca96dd915069943 before 6e68116a8559a7d181c836043d357e9c9b20b6a5; from 4a90451bbc7f7fde94041fbb9ca96dd915069943 before 19b18e01d0361ce495be153ecce80b581086ab3f; 6.9 (not affected: before 6.9; from 6.12.119 up to 6.12.*; from 6.18.63 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/23b0b7d7c79227009c3a11e12fe11b8a406b0fbe>
- <https://git.kernel.org/stable/c/4a70894450cb4d0d5308a9b831e30a8fe0a5a156>
- <https://git.kernel.org/stable/c/6e68116a8559a7d181c836043d357e9c9b20b6a5>
- <https://git.kernel.org/stable/c/19b18e01d0361ce495be153ecce80b581086ab3f>

## Sources

- CVE List: [CVE-2026-99828](https://www.cve.org/CVERecord?id=CVE-2026-99828), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-99828](https://nvd.nist.gov/vuln/detail/CVE-2026-99828), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-99828 · Whole record: https://cve.day/CVE-2026-99828.json · Rebuilt by cve.day 2026-11-30T14:33:29.251Z
