VDB

CVE-2026-98388

CVE-2026-98388 PUBLISHED

exec: do_close_on_exec() before taking exec_update_lock

Reported by linux · Published October 14, 2026

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.

EPSS 0.22% · 12.1th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
perf6.18Amazon Linux1:6.18.54-121.166.amzn2023
kernelAmazon Linux1:6.1.189-236.399.amzn2023
python3-perf6.18Amazon Linux1:6.18.54-121.166.amzn2023
microvm-kernelAmazon Linux1:6.1.189-236.399.amzn2023

Risk scores

EPSS Score
0.22%
12.1th percentile

Affected products

VendorProductVersions
LinuxLinuxae1e630bcaac739f625822078edbaea98366930d, d54f14655fd7d7b293698a8b6918563c4c0465e7, bb43679356f1f2a4c6b1c88aec4f021e5b5c74e9
LinuxLinux7.2, 0, 5.10.271
amazon:2023perf6.180
amazon:2023kernel0
amazon:2023python3-perf6.180
amazon:2023microvm-kernel0
linuxlinux_kernel6.18.40, 6.12.97, 6.1.178
amazon:2023kernel6.18-tools0
amazon:2023kernel-tools0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023perf6.120
amazon:2023kernel6.18-headers0
amazon:2023kernel6.120
amazon:2023kernel-livepatch-6.1.189-236.3990
amazon:2023bpftool6.120
amazon:2023kernel6.180
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-headers0
amazon:2023kernel6.12-headers0

…and 19 more

Timeline

  • Oct 14, 2026 Coalition ESS Score
  • Oct 14, 2026 CVE Published
  • Oct 15, 2026 EPSS Score (9 in total, the first dated here)
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-98388
vulnetix vdb fixes CVE-2026-98388

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98388/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›