{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-99828",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-25T10:25:14.436Z",
        "datePublished": "2026-11-30T13:17:25.302Z",
        "dateUpdated": "2026-11-30T13:17:25.302Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:17:25.302Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbacking-file: enforce append-only and immutable backing inodes\n\nFUSE passthrough opens the backing file anew whenever the FUSE file is\nopened. fuse_passthrough_open() passes the flags of that open to\nbacking_file_open() which opens the backing file with vfs_open() and the\ncredentials of the server. But vfs_open() doesn't go through may_open().\nSo the backing inode is never checked for S_APPEND and S_IMMUTABLE. The\nchecks that did run were done on the FUSE inode and that one never has\neither flag.\n\nSo anyone who may open the FUSE file for writing can overwrite an\nappend-only backing file anywhere or write to an immutable one. The\nserver only has to register the file and a read-only or even an O_PATH\nfile descriptor is enough for that. Registering requires CAP_SYS_ADMIN\nbut the writer can be any user that the server lets open the file.\n\nThe FUSE inode is checked instead of the backing inode in a few more\nplaces:\n\n- do_mmap() refuses a shared mapping of an append-only file that was\n  opened for writing. A FUSE file opened with O_RDWR | O_APPEND passes\n  the open check and can then be mapped shared and written to at any\n  offset.\n\n- fcntl(F_SETFL) and RWF_NOAPPEND refuse to take append mode away from a\n  file on an append-only inode. On the FUSE file both succeed. A\n  synchronous write still appends because the backing file was opened\n  with O_APPEND. But an asynchronous write is submitted with the flags\n  of the user's kiocb and lands at the given offset.\n\nDo the checks on the backing inode. backing_file_open() refuses to open\nan immutable inode for writing and an append-only inode for writing\nwithout O_APPEND, just like may_open(). backing_file_mmap() refuses a\nshared mapping of an append-only inode, just like do_mmap(). And writes\nand splices to a backing file in append mode fail if append mode was\ntaken away from the user file.\n\nA FUSE file that was opened before the backing file became append-only\ncan still write anywhere. That's what happens on the native filesystem\nas well and the backing file of such a file isn't in append mode. Two\ndifferences remain. F_SETFL succeeds and the next write fails. And FUSE\nreports EIO for a refused open because it turns every error from opening\nthe backing file into EIO.\n\noverlayfs uses the same helpers but it mirrors S_APPEND and S_IMMUTABLE\nin its own inode and a chattr through the overlay never sets them on the\nupper inode. So for overlayfs this only changes something if the upper\ninode is changed behind the overlay's back."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/backing-file.c"
                    ],
                    "versions": [
                        {
                            "version": "4a90451bbc7f7fde94041fbb9ca96dd915069943",
                            "lessThan": "23b0b7d7c79227009c3a11e12fe11b8a406b0fbe",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4a90451bbc7f7fde94041fbb9ca96dd915069943",
                            "lessThan": "4a70894450cb4d0d5308a9b831e30a8fe0a5a156",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4a90451bbc7f7fde94041fbb9ca96dd915069943",
                            "lessThan": "6e68116a8559a7d181c836043d357e9c9b20b6a5",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "4a90451bbc7f7fde94041fbb9ca96dd915069943",
                            "lessThan": "19b18e01d0361ce495be153ecce80b581086ab3f",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/backing-file.c"
                    ],
                    "versions": [
                        {
                            "version": "6.9",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.9",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.119",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.63",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.4",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.9",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.9",
                                    "versionEndExcluding": "6.18.63"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.9",
                                    "versionEndExcluding": "7.3.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.9",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/23b0b7d7c79227009c3a11e12fe11b8a406b0fbe"
                },
                {
                    "url": "https://git.kernel.org/stable/c/4a70894450cb4d0d5308a9b831e30a8fe0a5a156"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6e68116a8559a7d181c836043d357e9c9b20b6a5"
                },
                {
                    "url": "https://git.kernel.org/stable/c/19b18e01d0361ce495be153ecce80b581086ab3f"
                }
            ],
            "title": "backing-file: enforce append-only and immutable backing inodes",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}