CVE-2026-99826
backing-file: always end a queued write
Check your servers for CVE-2026-99826
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99826 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
backing-file: always end a queued write
Writes to a loop device with direct I/O on an overlay file make the next freeze of the upper filesystem hang for ever.
Every kiocb_start_write() needs a kiocb_end_write(). For a write that is queued, vfs_iocb_iter_write() leaves the end to the completion, and backing_aio_rw_complete() only calls kiocb_end_write() when IOCB_WRITE is set in the flags copied from the submitter. In-kernel submitters such as loop do not set that flag, so each queued write keeps the freeze protection of the backing filesystem.
Direct writes to a loop device with direct I/O backed by an overlay file left fsfreeze of the ext4 upper filesystem, and a later touch there, blocked in D state. It takes write access to the node of the loop device, which root has by default, to attach the file and to write.
The fix used here is to mark a write in struct backing_aio and to call kiocb_end_write() on completion of every marked write.
Reproduced under qemu without KVM, on v7.3-rc6-21-g602042bf29f6 with earlier fixes of this series applied, with and without this change, once each. The kernel was not changed for the run. With this change fsfreeze finished in about a second. Not run: the nvmet and LIO file backends, which do not set IOCB_WRITE either, FUSE passthrough, and an xfs upper filesystem.
[amir: use aio->is_write to explicitly mark a write aio]
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.2% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 2406a307ac7ddfd7effeeaff6947149ec6a95b4e, before f3a432558686e2a5338e228acb2a464fff5995d8 affected from 2406a307ac7ddfd7effeeaff6947149ec6a95b4e, before 4fbdca296d8b54d680784282bf007945454820fc affected from 2406a307ac7ddfd7effeeaff6947149ec6a95b4e, before 9fef91f9e63b66743d8ada7436c44adf3f85859d affected from 2406a307ac7ddfd7effeeaff6947149ec6a95b4e, before 7219ab069818c456a46e2303948f286e9f199947 affected from 2406a307ac7ddfd7effeeaff6947149ec6a95b4e, before 3bf132de175803dcea0d6598b47d467cb6a2a1b5 affected from 2406a307ac7ddfd7effeeaff6947149ec6a95b4e, before c3fd39ceaaeb43b45a6ffddea62b9f09eeb3aeb7 affected from 2406a307ac7ddfd7effeeaff6947149ec6a95b4e, before 501ed625cdd25d5a264e1a553439963f9a810b63 affected from 2406a307ac7ddfd7effeeaff6947149ec6a95b4e, before 627cdcbc2a2eceb0452078a0c14370f9f1f17a91
Other versions: unaffected
|
| Linux |
affected 5.6 unaffected before 5.6 unaffected from 5.10.275 up to and including 5.10.* unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.118 up to and including 6.12.* unaffected from 6.18.64 up to and including 6.18.* unaffected from 7.3.4 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99826 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99826
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-99826
trivy image --scanners vuln IMAGE | grep CVE-2026-99826
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/f3a432558686e2a5338e228acb2a464fff5995d8 git.kernel.org
- https://git.kernel.org/stable/c/4fbdca296d8b54d680784282bf007945454820fc git.kernel.org
- https://git.kernel.org/stable/c/9fef91f9e63b66743d8ada7436c44adf3f85859d git.kernel.org
- https://git.kernel.org/stable/c/7219ab069818c456a46e2303948f286e9f199947 git.kernel.org
- https://git.kernel.org/stable/c/3bf132de175803dcea0d6598b47d467cb6a2a1b5 git.kernel.org
- https://git.kernel.org/stable/c/c3fd39ceaaeb43b45a6ffddea62b9f09eeb3aeb7 git.kernel.org
- https://git.kernel.org/stable/c/501ed625cdd25d5a264e1a553439963f9a810b63 git.kernel.org
- https://git.kernel.org/stable/c/627cdcbc2a2eceb0452078a0c14370f9f1f17a91 git.kernel.org
Source: the record CVE-2026-99826 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse