CVE-2026-98388
kernel: exec: do_close_on_exec() before taking exec_update_lock
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · October 14, 2026
Updated · October 18, 2026
Description
A flaw was found in the Linux kernel. During program execution, the kernel closes file descriptors marked for close-on-exec while holding an internal process state lock. If closing a file descriptor stalls on an unresponsive or user-space filesystem, the lock remains held and blocks related system operations. A local attacker can exploit this behavior to trigger a deadlock, resulting in a Denial of Service (DoS).
Statement
A low impact denial of service flaw was found in the Linux kernel as shipped in Red Hat offerings. During program execution, the kernel closes file descriptors marked for close-on-exec (do_close_on_exec()) while holding exec_update_lock, a lock that is used in many places that access process state to synchronize access checks. Closing a file descriptor can block waiting for a reply from a filesystem, so a hung or unresponsive filesystem keeps the lock held and blocks kernel code paths that use exec_update_lock; a FUSE filesystem whose daemon attempts to inspect the calling process can also deadlock. A local unprivileged attacker can exploit this behavior by triggering program execution with a close-on-exec file descriptor backed by such a filesystem, hanging process execution and related process-state operations and causing a local denial of service. There is no impact on confidentiality or integrity. The Red Hat CVSS:3.1 base score is 5.5 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H); while that base score maps to Moderate, Red Hat Product Security assesses the overall impact of this flaw as LOW because exploitation requires local access with a prepared close-on-exec file descriptor on a suitable blocking filesystem and the result is limited to a local denial of service. Of the Red Hat products in scope, only the kernel in the Red Hat Enterprise Linux 6 Extended Lifecycle Support stream is listed as affected, and that stream is out of support scope so no fix is planned for it. The kernels in Red Hat Enterprise Linux 7, 8, 9, and 10 (including the kernel-rt variant), the Red Hat In-Vehicle OS kernels, and the Red Hat Enterprise Linux CoreOS images shipped with OpenShift Container Platform are not affected because the vulnerable code is not present in those kernels.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-833 · Deadlock