CVE-2026-98388 json
exec: do_close_on_exec() before taking exec_update_lock
published 28d ago modified 23d ago also EUVD-2026-101037
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 12%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
exec: do_close_on_exec() before taking exec_update_lock
do_close_on_exec() currently happens while holding the exec_update_lock, which is used in a lot of places that access process state to synchronize access checks. I recently added another such use of exec_update_lock, causing a regression.
do_close_on_exec() can block waiting for a reply from a filesystem. That means a hung filesystem can block codepaths that use exec_update_lock; and it also means that a FUSE filesystem which attempts to inspect the calling process can deadlock.
To avoid such problems, move do_close_on_exec() before the exec_update_lock is taken, but after the FD table has been copied if necessary.
I have looked through all the calls between the old and new position of the do_close_on_exec() call; there seems to be no file descriptor table access in between.
Patch / fix
- Linux Linux 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.111, 6.18.53, 7.2, 7.3
- linux Debian 12 6.1.190-1
- linux Debian 13 6.12.111-1
- linux Debian 14 7.2.7-1
debian advisories DEBIAN-CVE-2026-98388
- linux Ubuntu 22.04 LTS 5.15.0-202.212
- linux Ubuntu 24.04 LTS 6.8.0-149.149
- linux Ubuntu 26.04 LTS 7.0.0-42.42
- linux-aws Ubuntu 22.04 LTS 5.15.0-1119.126
- linux-aws Ubuntu 24.04 LTS 6.8.0-1069.74
- linux-aws Ubuntu 26.04 LTS 7.0.0-1016.17
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1120.130
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1073.81
ubuntu advisories UBUNTU-CVE-2026-98388
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-source openSUSE Tumbleweed 7.2.11-1.1
opensuse advisories openSUSE-SU-2026:12165-1
- git.kernel.org/stable/c/955973fff4a36d39a848b00cac1706863f568fe1 commit
- git.kernel.org/stable/c/550feab5b01000ab314868b62211fb3ddfd600e8 commit
- git.kernel.org/stable/c/5aacc19ba2b1faf84c4a2f2cf9a1784e03d1ff38 commit
- git.kernel.org/stable/c/3feb4020bfb7ccf0d347f27051639d25e19cd65d commit
- git.kernel.org/stable/c/0d86cd6b709c39216e6ee5ea8f0fc4242bbb2b53 commit
- git.kernel.org/stable/c/19ddef61ee0a49782a60f8f497e50597ad5de2da commit
- git.kernel.org/stable/c/63be3d8511bdafa095cd14a393cbf3c58dbbb928 commit
- git.kernel.org/stable/c/e780259b54e618ceb4763fbc21314acf3565e813 commit
Is CVE-2026-98388 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-98388 updated cvss 5.5
kernel: exec: do_close_on_exec() before taking exec_update_lock
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 moreaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernel Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9 Red Hat OpenShift Container Platform 5 openshift/ose-rhel-coreos-9not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.22% chance of exploitation in the next 30 days, higher than 12% of all scored CVEs (FIRST EPSS, 2026-11-11).
Affected products
- Linux Linux
Classification
- Technology feeds
References
- git.kernel.org /stable/c/955973fff4a36d39a848b00cac1706863f568fe1
- git.kernel.org /stable/c/550feab5b01000ab314868b62211fb3ddfd600e8
- git.kernel.org /stable/c/5aacc19ba2b1faf84c4a2f2cf9a1784e03d1ff38
- git.kernel.org /stable/c/3feb4020bfb7ccf0d347f27051639d25e19cd65d
- git.kernel.org /stable/c/0d86cd6b709c39216e6ee5ea8f0fc4242bbb2b53
- git.kernel.org /stable/c/19ddef61ee0a49782a60f8f497e50597ad5de2da
- git.kernel.org /stable/c/63be3d8511bdafa095cd14a393cbf3c58dbbb928
- git.kernel.org /stable/c/e780259b54e618ceb4763fbc21314acf3565e813
Sources
- CVE List CVE-2026-98388
- NVD CVE-2026-98388
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.