Linux kernel shmem_file check accepts wrong inode type
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Partial Red Hat: 6 without a fix
No CVSS vector from any source. Fix status from CNA and Red Hat.
Summary
The Linux kernel from 4.18 has a flaw in shmem_file(), which seal handling and memfd preservation use to confirm a file is shmem-backed. The check only tests the file's mapping, and that mapping can belong to another file, so it does not confirm the inode is a real shmem inode. These paths can then access inode state of the wrong type.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 4.18 and later | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.5, 7.4-rc2 | Patch available | CNA |
- Linux VendorLinux Affected 4.18 and later Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.5, 7.4-rc2 Patch available CNA
Remediation
Fixed Linux kernel versions are 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.5 and 7.4-rc2. Red Hat lists no fix planned for Red Hat Enterprise Linux 6 and no fix available for Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat Enterprise Linux 10, Red Hat OpenShift Container Platform 4 and Red Hat OpenShift Container Platform 5.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.5, 7.4-rc2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet: Fix deferred |
Not affected: 1 product
- Red Hat Enterprise Linux 7
Timeline
- 2026-11-20 Threatist record created from CVE-2026-99734
- 2026-11-20 Alias added: GHSA-m8wg-v6g2-5xf8
- 2026-11-20 Affected versions changed · Red Hat
- 2026-11-20 CVSS score added · Red Hat
- 2026-11-23 Fix available: Linux/Linux@1b6acc6d060a52d610b95a15e3b10ef92fa94ec8, Linux/[email protected], Linux/[email protected] +9 · CNA
- 2026-11-23 6 new references · CNA
References
Other 8
- https://git.kernel.org/stable/c/c640660546a0d6401df8a3bade44106e718acdb8
- https://git.kernel.org/stable/c/1b6acc6d060a52d610b95a15e3b10ef92fa94ec8
- https://git.kernel.org/stable/c/d59c534c9a89ca9b87a4d8e0012e8d9e9879fac5
- https://git.kernel.org/stable/c/ecc5ee1575c02a87f48867614328604400c65fc0
- https://git.kernel.org/stable/c/f9632dbb5d546d4bd30d922b6ed44735160a3664
- https://git.kernel.org/stable/c/8c4a93bb9736256a97660505f0e0d1c01ef60f20
- https://git.kernel.org/stable/c/ea5cc241113f7820ce037dbcf8b7eb959fbf1c0d
- https://git.kernel.org/stable/c/d3710111839d11339e414b1bb3fea3d05ab83f6e
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-99734 · CVE Program
- CVE-2026-99734 · NVD
- FIRST EPSS
- GHSA-m8wg-v6g2-5xf8 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-99734 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences