CVE-2026-98984
Received Received - Intake

Race Condition in Linux Kernel Mount Handling

Vulnerability report for CVE-2026-98984, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-10-23

Last updated on: 2026-10-23

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: dcache: don't put a mountpoint on a dentry that's being removed rmdir(), unlink() and rename() call dont_mount() on the victim and then detach_mounts() with the victim's inode locked. do_lock_mount() takes the inode lock of the mountpoint and checks cant_mount() so a mount can't show up after detach_mounts(). But attach_recursive_mnt() makes a second mountpoint for the root of the source mount so that the mounts already located at the destination can be put on top of it. No inode is locked for that one and d_set_mounted() only refuses a dentry that is unlinked. Between detach_mounts() and d_delete() the victim is still hashed: rmrace: b passed dont_mount() and detach_mounts(), sleeping T2: move_mount(S, /tmp/plcant/x, BENEATH) = 0 errno 0 () T1: rmdir(/tmp/plcant/d/b) = 0 errno 0 109 107 0:61 /d/b//deleted /tmp/plcant/x rw,relatime - tmpfs tmpfs rw 108 109 0:63 / /tmp/plcant/x rw,relatime - tmpfs T rw A bind mount of the directory that's being removed is moved beneath an existing mount while the rmdir() is located between the two calls. The mount ends up on the removed directory and nothing will ever detach it. Check cant_mount() in d_set_mounted() as well. dont_mount() raises the flag under d_lock before detach_mounts() runs so either the mountpoint is set first and detach_mounts() finds the mount or the flag is seen and the mount is refused.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-10-23
Last Modified
2026-10-23
Generated
2026-10-23
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 14 associated CPEs
Vendor Product Version / Range
Linux Linux 1064f874abc0d05eeed8993815f584d847b72486
Linux Linux 1064f874abc0d05eeed8993815f584d847b72486
Linux Linux 1064f874abc0d05eeed8993815f584d847b72486
Linux Linux 1064f874abc0d05eeed8993815f584d847b72486
Linux Linux 1064f874abc0d05eeed8993815f584d847b72486
Linux Linux 5e6ef5ef6eaf690faad3a7c6c665ebf45d7b6ccf
Linux Linux 839d42687dfce0ed0ea2c6bd8d707cc0e276fbe7
Linux Linux 808e83e5add13152bd4a88346487de68395c136b
Linux Linux 6de9d08a9718ee9c12ba6343c50141c2d633e3dc
Linux Linux 4.1.40
Linux Linux 4.4.54
Linux Linux 4.9.15
Linux Linux 4.10.3
Linux Linux 4.11

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
AI Quick Actions have not been generated yet.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-98984. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart