Use-after-free in Linux kernel overlayfs directory listing
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 6 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
The Linux kernel from 4.15 contains a use-after-free in the overlayfs readdir cache. A directory listed during copy-up can cause the readdir cache of another open file descriptor to be freed, because the upper directory is published before its whiteout flag is set. A local unprivileged user with low privileges can trigger it.
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: ovl: set OVL_WHITEOUTS before publishing the upper dir Listing a directory while it is copied up causes a use-after-free of the readdir cache. A merge directory must never be iterated as a real upper directory: that mode frees the cache in OVL_I(inode)->cache without looking at its refcount, while files opened in merged mode still use it. ovl_copy_up_workdir() publishes the upper dentry before it sets OVL_WHITEOUTS, and ovl_dir_open() samples both without a lock, so an open between the two stores finds the upper directory and takes it for a real one. With a delay between the two stores, an unprivileged process that listed a directory during its copy-up saw only "." and "..", and its next getdents freed the readdir cache of another descriptor. Fix this by setting OVL_WHITEOUTS before ovl_inode_update(), so that ovl_dir_reset() agrees with ovl_dir_open(), and by testing OVL_TYPE_MERGE() of the path type in ovl_dir_open(), so that an open that observes the upper dentry never iterates a merge dir as a real dir, regardless of the order in which it observes the flag. [amir: test OVL_TYPE_MERGE() instead of smp_rmb() in ovl_dir_open()]
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.15 and later | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2, 7.4-rc1 | Patch available | CNA |
- Linux VendorLinux Affected 4.15 and later Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2, 7.4-rc1 Patch available CNA
Remediation
Update the Linux kernel to 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.61, 7.3.2 or 7.4-rc1, depending on the branch in use. Red Hat lists no fix plan available for Red Hat Enterprise Linux 7, 8, 9 and 10 and Red Hat OpenShift Container Platform 4 and 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.117, 6.18.61, 7.3.2, 7.4-rc1
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet |
| Red Hat Enterprise Linux 7 | Affected | No fix yet |
| Red Hat Enterprise Linux 8 | Affected | No fix yet |
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet |
Not affected: 1 product
- Red Hat Enterprise Linux 6
Timeline
- 2026-11-19 Threatist record created from CVE-2026-99424
- 2026-11-19 Alias added: GHSA-php5-h7fx-pmgj
- 2026-11-20 Affected versions changed · Red Hat
- 2026-11-20 CVSS score added · Red Hat
- 2026-11-22 CVSS score added · CNA
- 2026-11-23 Fix available: Linux/Linux@0c0c2086680ea9eb4945fa610df5e252213b9d24, Linux/Linux@4b079c17a1088b50a117f9a40708e30a3874dba9, Linux/[email protected] +5 · CNA
- 2026-11-23 4 new references · CNA
References
Other 8
- https://git.kernel.org/stable/c/4b079c17a1088b50a117f9a40708e30a3874dba9
- https://git.kernel.org/stable/c/c585b90d28036e5adf38790efc3de0613d41237d
- https://git.kernel.org/stable/c/6fff0fe13fb982cc19a1f8825ce5a49ed7dd23a3
- https://git.kernel.org/stable/c/0c0c2086680ea9eb4945fa610df5e252213b9d24
- https://git.kernel.org/stable/c/43ad4a3090e1c2a0c34e9802882b42c5c078d556
- https://git.kernel.org/stable/c/7805739ce4577f2c53f5a30be2d48e83e91c63bc
- https://git.kernel.org/stable/c/ea5327a9228bfd1609e54f1fca50786e8f963da5
- https://git.kernel.org/stable/c/cbec8610ec5aaf35df50094ff639febc23f20773
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-99424 · CVE Program
- CVE-2026-99424 · NVD
- FIRST EPSS
- GHSA-php5-h7fx-pmgj · GitHub Advisory Database · CC BY 4.0
- CVE-2026-99424 · 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