CVE-2026-74307
ext4: validate donor file superblock early in EXT4_IOC_MOVE_EXT
Check your servers for CVE-2026-74307
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-74307 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:
ext4: validate donor file superblock early in EXT4_IOC_MOVE_EXT
Reject the EXT4_IOC_MOVE_EXT ioctl early if the donor file does not belong to the same superblock as the original file. Currently, this validation is performed inside ext4_move_extents() by mext_check_validity(), but only after lock_two_nondirectories() has already acquired the inode locks. When the donor fd refers to a file on a different filesystem (e.g., overlayfs), this late validation creates a circular lock dependency:
CPU0 (overlayfs write) CPU1 (ext4 ioctl) ---- ---- inode_lock(ovl_inode) mnt_want_write_file(filp) sb_start_write(ext4_sb) [sb_writers] backing_file_write_iter() vfs_iter_write(real_file) file_start_write(real_file) sb_start_write(ext4_sb) [blocked by freeze] lock_two_nondirectories() inode_lock(ovl_inode) [blocked]
With a concurrent freeze operation holding sb_writers write side, this forms a deadlock cycle: CPU0 waits for freeze to complete, freeze waits for CPU1's sb_writers reader to exit, CPU1 waits for CPU0's inode lock.
Since EXT4_IOC_MOVE_EXT exchanges physical extents between two files, it fundamentally requires both files to reside on the same ext4 filesystem. Moving the superblock check before any lock acquisition is both semantically correct and eliminates the circular dependency by ensuring that cross-filesystem donor fds are rejected before sb_writers or inode locks are taken.
Exploitation
EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.82% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from fcf6b1b729bcd23f2b49a84fb33ffbb44712ee6a, before 23380fc1bf5d3b75dcbd51eb72be4eb0a3300370 affected from fcf6b1b729bcd23f2b49a84fb33ffbb44712ee6a, before 663f184b51492093d408e518efc95ee13b5b4440 affected from fcf6b1b729bcd23f2b49a84fb33ffbb44712ee6a, before 74796e886ca39fcb0d3fd36ea6a39c62784ab6fb affected from fcf6b1b729bcd23f2b49a84fb33ffbb44712ee6a, before 29e07ec352f0ad06c833a18bf47d82c81f55544f affected from fcf6b1b729bcd23f2b49a84fb33ffbb44712ee6a, before fb52013cad9e9b7d3a6a14ea1bcd841e41da7c6c affected from fcf6b1b729bcd23f2b49a84fb33ffbb44712ee6a, before c143957520c6c9b5cd72e0de8b52b814f0c576fe
Other versions: unaffected
|
| Linux |
affected 3.18 unaffected before 3.18 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.97 up to and including 6.12.* unaffected from 6.18.57 up to and including 6.18.* unaffected from 7.1.5 up to and including 7.1.* unaffected 7.2 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-74307 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-74307
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-74307
trivy image --scanners vuln IMAGE | grep CVE-2026-74307
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/23380fc1bf5d3b75dcbd51eb72be4eb0a3300370 git.kernel.org
- https://git.kernel.org/stable/c/663f184b51492093d408e518efc95ee13b5b4440 git.kernel.org
- https://git.kernel.org/stable/c/74796e886ca39fcb0d3fd36ea6a39c62784ab6fb git.kernel.org
- https://git.kernel.org/stable/c/29e07ec352f0ad06c833a18bf47d82c81f55544f git.kernel.org
- https://git.kernel.org/stable/c/fb52013cad9e9b7d3a6a14ea1bcd841e41da7c6c git.kernel.org
- https://git.kernel.org/stable/c/c143957520c6c9b5cd72e0de8b52b814f0c576fe git.kernel.org
Source: the record CVE-2026-74307 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