CVE-2026-98388
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| perf6.18 | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel | Amazon Linux | 1:6.1.189-236.399.amzn2023 |
| python3-perf6.18 | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| microvm-kernel | Amazon Linux | 1:6.1.189-236.399.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | ae1e630bcaac739f625822078edbaea98366930d, d54f14655fd7d7b293698a8b6918563c4c0465e7, bb43679356f1f2a4c6b1c88aec4f021e5b5c74e9 |
| Linux | Linux | 7.2, 0, 5.10.271 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | microvm-kernel | 0 |
| linux | linux_kernel | 6.18.40, 6.12.97, 6.1.178 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel-livepatch-6.1.189-236.399 | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
…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