{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-99826",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-25T10:25:14.436Z",
        "datePublished": "2026-11-30T13:17:23.685Z",
        "dateUpdated": "2026-11-30T13:17:23.685Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:17:23.685Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbacking-file: always end a queued write\n\nWrites to a loop device with direct I/O on an overlay file make the\nnext freeze of the upper filesystem hang for ever.\n\nEvery kiocb_start_write() needs a kiocb_end_write(). For a write that\nis queued, vfs_iocb_iter_write() leaves the end to the completion, and\nbacking_aio_rw_complete() only calls kiocb_end_write() when IOCB_WRITE\nis set in the flags copied from the submitter. In-kernel submitters\nsuch as loop do not set that flag, so each queued write keeps the\nfreeze protection of the backing filesystem.\n\nDirect writes to a loop device with direct I/O backed by an overlay\nfile left fsfreeze of the ext4 upper filesystem, and a later touch\nthere, blocked in D state. It takes write access to the node of the\nloop device, which root has by default, to attach the file and to write.\n\nThe fix used here is to mark a write in struct backing_aio and to call\nkiocb_end_write() on completion of every marked write.\n\nReproduced under qemu without KVM, on v7.3-rc6-21-g602042bf29f6 with\nearlier fixes of this series applied, with and without this change,\nonce each. The kernel was not changed for the run. With this change\nfsfreeze finished in about a second. Not run: the nvmet and LIO file\nbackends, which do not set IOCB_WRITE either, FUSE passthrough, and an\nxfs upper filesystem.\n\n[amir: use aio->is_write to explicitly mark a write aio]"
                }
            ],
            "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": "2406a307ac7ddfd7effeeaff6947149ec6a95b4e",
                            "lessThan": "f3a432558686e2a5338e228acb2a464fff5995d8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2406a307ac7ddfd7effeeaff6947149ec6a95b4e",
                            "lessThan": "4fbdca296d8b54d680784282bf007945454820fc",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2406a307ac7ddfd7effeeaff6947149ec6a95b4e",
                            "lessThan": "9fef91f9e63b66743d8ada7436c44adf3f85859d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2406a307ac7ddfd7effeeaff6947149ec6a95b4e",
                            "lessThan": "7219ab069818c456a46e2303948f286e9f199947",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2406a307ac7ddfd7effeeaff6947149ec6a95b4e",
                            "lessThan": "3bf132de175803dcea0d6598b47d467cb6a2a1b5",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2406a307ac7ddfd7effeeaff6947149ec6a95b4e",
                            "lessThan": "c3fd39ceaaeb43b45a6ffddea62b9f09eeb3aeb7",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2406a307ac7ddfd7effeeaff6947149ec6a95b4e",
                            "lessThan": "501ed625cdd25d5a264e1a553439963f9a810b63",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2406a307ac7ddfd7effeeaff6947149ec6a95b4e",
                            "lessThan": "627cdcbc2a2eceb0452078a0c14370f9f1f17a91",
                            "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": "5.6",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.6",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.275",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.226",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.118",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.64",
                            "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": "5.6",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.6",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.6",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.6",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.6",
                                    "versionEndExcluding": "6.12.118"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.6",
                                    "versionEndExcluding": "6.18.64"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.6",
                                    "versionEndExcluding": "7.3.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.6",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/f3a432558686e2a5338e228acb2a464fff5995d8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/4fbdca296d8b54d680784282bf007945454820fc"
                },
                {
                    "url": "https://git.kernel.org/stable/c/9fef91f9e63b66743d8ada7436c44adf3f85859d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/7219ab069818c456a46e2303948f286e9f199947"
                },
                {
                    "url": "https://git.kernel.org/stable/c/3bf132de175803dcea0d6598b47d467cb6a2a1b5"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c3fd39ceaaeb43b45a6ffddea62b9f09eeb3aeb7"
                },
                {
                    "url": "https://git.kernel.org/stable/c/501ed625cdd25d5a264e1a553439963f9a810b63"
                },
                {
                    "url": "https://git.kernel.org/stable/c/627cdcbc2a2eceb0452078a0c14370f9f1f17a91"
                }
            ],
            "title": "backing-file: always end a queued write",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}