PT-2026-162795

CVE-2026-99828

·

Published

2026-11-30

·

Updated

2026-11-30

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

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.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾