CVE-2026-99734
mm/shmem: make shmem_file() check the file's inode
Check your servers for CVE-2026-99734
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-99734 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:
mm/shmem: make shmem_file() check the file's inode
shmem_file() only checks if file->f_mapping is a shmem mapping. This mapping can belong to another file, however, as with a Coda file backed by a tmpfs container after mmap().
So it does not guarantee that the file inode is an actual shmem inode.
Seal handling and memfd preservation use this check before accessing shmem inode state, so they can access an inode of the wrong type.
Let's make shmem_file() check the inode's file operations instead, to identify shmem inodes reliably. This will identify regular shmem inodes, including memfds and ordinary tmpfs files, independently of wrapper file operations.
Use shmem_mapping() in collapse_file() instead to not change the behavior of collapse_file(): it operates on the page cache and uses mapping->host for shmem inode operations. Focusing on the file does not seem relevant.
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 4.30% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from c49fcfcda8b5b06529103664f0291f433f5e6d24, before c640660546a0d6401df8a3bade44106e718acdb8 affected from c49fcfcda8b5b06529103664f0291f433f5e6d24, before 1b6acc6d060a52d610b95a15e3b10ef92fa94ec8 affected from c49fcfcda8b5b06529103664f0291f433f5e6d24, before d59c534c9a89ca9b87a4d8e0012e8d9e9879fac5 affected from c49fcfcda8b5b06529103664f0291f433f5e6d24, before ecc5ee1575c02a87f48867614328604400c65fc0 affected from c49fcfcda8b5b06529103664f0291f433f5e6d24, before f9632dbb5d546d4bd30d922b6ed44735160a3664 affected from c49fcfcda8b5b06529103664f0291f433f5e6d24, before 8c4a93bb9736256a97660505f0e0d1c01ef60f20 affected from c49fcfcda8b5b06529103664f0291f433f5e6d24, before ea5cc241113f7820ce037dbcf8b7eb959fbf1c0d affected from c49fcfcda8b5b06529103664f0291f433f5e6d24, before d3710111839d11339e414b1bb3fea3d05ab83f6e
Other versions: unaffected
|
| Linux |
affected 4.18 unaffected before 4.18 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.119 up to and including 6.12.* unaffected from 6.18.65 up to and including 6.18.* unaffected from 7.3.5 up to and including 7.3.* unaffected 7.4-rc2 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-99734 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99734
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-99734
trivy image --scanners vuln IMAGE | grep CVE-2026-99734
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/c640660546a0d6401df8a3bade44106e718acdb8 git.kernel.org
- https://git.kernel.org/stable/c/1b6acc6d060a52d610b95a15e3b10ef92fa94ec8 git.kernel.org
- https://git.kernel.org/stable/c/d59c534c9a89ca9b87a4d8e0012e8d9e9879fac5 git.kernel.org
- https://git.kernel.org/stable/c/ecc5ee1575c02a87f48867614328604400c65fc0 git.kernel.org
- https://git.kernel.org/stable/c/f9632dbb5d546d4bd30d922b6ed44735160a3664 git.kernel.org
- https://git.kernel.org/stable/c/8c4a93bb9736256a97660505f0e0d1c01ef60f20 git.kernel.org
- https://git.kernel.org/stable/c/ea5cc241113f7820ce037dbcf8b7eb959fbf1c0d git.kernel.org
- https://git.kernel.org/stable/c/d3710111839d11339e414b1bb3fea3d05ab83f6e git.kernel.org
Source: the record CVE-2026-99734 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