CVE-2026-98388 (GCVE-0-2026-98388)
Vulnerability from cvelistv5 – Published: 2026-10-14 13:25 – Updated: 2026-10-19 09:18
VLAI
EPSS
VEX
Title
exec: do_close_on_exec() before taking exec_update_lock
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.
Severity
No CVSS data available.
Assigner
References
8 references
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Linux | Linux |
Affected:
ae1e630bcaac739f625822078edbaea98366930d , < 955973fff4a36d39a848b00cac1706863f568fe1
(git)
Affected: d54f14655fd7d7b293698a8b6918563c4c0465e7 , < 550feab5b01000ab314868b62211fb3ddfd600e8 (git) Affected: bb43679356f1f2a4c6b1c88aec4f021e5b5c74e9 , < 5aacc19ba2b1faf84c4a2f2cf9a1784e03d1ff38 (git) Affected: 7456ae990a9738962b33146916fabca62ae3d4e0 , < 3feb4020bfb7ccf0d347f27051639d25e19cd65d (git) Affected: 4bfe8c481846cee52473a2f7d7b30ee8e6749fc4 , < 0d86cd6b709c39216e6ee5ea8f0fc4242bbb2b53 (git) Affected: f9b4b03ccc9c69bf7f7298d4559906ebea7143b3 , < 19ddef61ee0a49782a60f8f497e50597ad5de2da (git) Affected: 6650527444dadc63d84aa939d14ecba4fadb2f69 , < 63be3d8511bdafa095cd14a393cbf3c58dbbb928 (git) Affected: 6650527444dadc63d84aa939d14ecba4fadb2f69 , < e780259b54e618ceb4763fbc21314acf3565e813 (git) Affected: c1cfd63326f5d09999134e9052c353faf738286e (git) Affected: 5.10.261 , < 5.10.271 (semver) Affected: 5.15.212 , < 5.15.222 (semver) Affected: 6.1.178 , < 6.1.189 (semver) Affected: 6.6.145 , < 6.6.158 (semver) Affected: 6.12.97 , < 6.12.111 (semver) Affected: 6.18.40 , < 6.18.53 (semver) Affected: 7.1.4 , < 7.2 (semver) |
|
| Linux | Linux |
Affected:
7.2
Unaffected: 0 , < 7.2 (semver) Unaffected: 5.10.271 , ≤ 5.10.* (semver) Unaffected: 5.15.222 , ≤ 5.15.* (semver) Unaffected: 6.1.189 , ≤ 6.1.* (semver) Unaffected: 6.6.158 , ≤ 6.6.* (semver) Unaffected: 6.12.111 , ≤ 6.12.* (semver) Unaffected: 6.18.53 , ≤ 6.18.* (semver) Unaffected: 7.2.7 , ≤ 7.2.* (semver) Unaffected: 7.3 , ≤ * (original_commit_for_fix) |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"fs/exec.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "955973fff4a36d39a848b00cac1706863f568fe1",
"status": "affected",
"version": "ae1e630bcaac739f625822078edbaea98366930d",
"versionType": "git"
},
{
"lessThan": "550feab5b01000ab314868b62211fb3ddfd600e8",
"status": "affected",
"version": "d54f14655fd7d7b293698a8b6918563c4c0465e7",
"versionType": "git"
},
{
"lessThan": "5aacc19ba2b1faf84c4a2f2cf9a1784e03d1ff38",
"status": "affected",
"version": "bb43679356f1f2a4c6b1c88aec4f021e5b5c74e9",
"versionType": "git"
},
{
"lessThan": "3feb4020bfb7ccf0d347f27051639d25e19cd65d",
"status": "affected",
"version": "7456ae990a9738962b33146916fabca62ae3d4e0",
"versionType": "git"
},
{
"lessThan": "0d86cd6b709c39216e6ee5ea8f0fc4242bbb2b53",
"status": "affected",
"version": "4bfe8c481846cee52473a2f7d7b30ee8e6749fc4",
"versionType": "git"
},
{
"lessThan": "19ddef61ee0a49782a60f8f497e50597ad5de2da",
"status": "affected",
"version": "f9b4b03ccc9c69bf7f7298d4559906ebea7143b3",
"versionType": "git"
},
{
"lessThan": "63be3d8511bdafa095cd14a393cbf3c58dbbb928",
"status": "affected",
"version": "6650527444dadc63d84aa939d14ecba4fadb2f69",
"versionType": "git"
},
{
"lessThan": "e780259b54e618ceb4763fbc21314acf3565e813",
"status": "affected",
"version": "6650527444dadc63d84aa939d14ecba4fadb2f69",
"versionType": "git"
},
{
"status": "affected",
"version": "c1cfd63326f5d09999134e9052c353faf738286e",
"versionType": "git"
},
{
"lessThan": "5.10.271",
"status": "affected",
"version": "5.10.261",
"versionType": "semver"
},
{
"lessThan": "5.15.222",
"status": "affected",
"version": "5.15.212",
"versionType": "semver"
},
{
"lessThan": "6.1.189",
"status": "affected",
"version": "6.1.178",
"versionType": "semver"
},
{
"lessThan": "6.6.158",
"status": "affected",
"version": "6.6.145",
"versionType": "semver"
},
{
"lessThan": "6.12.111",
"status": "affected",
"version": "6.12.97",
"versionType": "semver"
},
{
"lessThan": "6.18.53",
"status": "affected",
"version": "6.18.40",
"versionType": "semver"
},
{
"lessThan": "7.2",
"status": "affected",
"version": "7.1.4",
"versionType": "semver"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"fs/exec.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "7.2"
},
{
"lessThan": "7.2",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.271",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.222",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.189",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.158",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.111",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.53",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.2.*",
"status": "unaffected",
"version": "7.2.7",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.271",
"versionStartIncluding": "5.10.261",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.222",
"versionStartIncluding": "5.15.212",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.189",
"versionStartIncluding": "6.1.178",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.6.158",
"versionStartIncluding": "6.6.145",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.111",
"versionStartIncluding": "6.12.97",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.53",
"versionStartIncluding": "6.18.40",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.2.7",
"versionStartIncluding": "7.2",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.3",
"versionStartIncluding": "7.2",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "7.1.4",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nexec: do_close_on_exec() before taking exec_update_lock\n\ndo_close_on_exec() currently happens while holding the exec_update_lock,\nwhich is used in a lot of places that access process state to\nsynchronize access checks.\nI recently added another such use of exec_update_lock, causing a\nregression.\n\ndo_close_on_exec() can block waiting for a reply from a filesystem.\nThat means a hung filesystem can block codepaths that use\nexec_update_lock; and it also means that a FUSE filesystem which\nattempts to inspect the calling process can deadlock.\n\nTo avoid such problems, move do_close_on_exec() before the\nexec_update_lock is taken, but after the FD table has been copied if\nnecessary.\n\nI have looked through all the calls between the old and new position of\nthe do_close_on_exec() call; there seems to be no file descriptor table\naccess in between."
}
],
"providerMetadata": {
"dateUpdated": "2026-10-19T09:18:39.224Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/955973fff4a36d39a848b00cac1706863f568fe1"
},
{
"url": "https://git.kernel.org/stable/c/550feab5b01000ab314868b62211fb3ddfd600e8"
},
{
"url": "https://git.kernel.org/stable/c/5aacc19ba2b1faf84c4a2f2cf9a1784e03d1ff38"
},
{
"url": "https://git.kernel.org/stable/c/3feb4020bfb7ccf0d347f27051639d25e19cd65d"
},
{
"url": "https://git.kernel.org/stable/c/0d86cd6b709c39216e6ee5ea8f0fc4242bbb2b53"
},
{
"url": "https://git.kernel.org/stable/c/19ddef61ee0a49782a60f8f497e50597ad5de2da"
},
{
"url": "https://git.kernel.org/stable/c/63be3d8511bdafa095cd14a393cbf3c58dbbb928"
},
{
"url": "https://git.kernel.org/stable/c/e780259b54e618ceb4763fbc21314acf3565e813"
}
],
"title": "exec: do_close_on_exec() before taking exec_update_lock",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-98388",
"datePublished": "2026-10-14T13:25:52.117Z",
"dateReserved": "2026-09-25T10:25:14.346Z",
"dateUpdated": "2026-10-19T09:18:39.224Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-98388",
"date": "2026-11-17",
"epss": "0.00216",
"percentile": "0.12176"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"fs/exec.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "955973fff4a36d39a848b00cac1706863f568fe1",
"status": "affected",
"version": "ae1e630bcaac739f625822078edbaea98366930d",
"versionType": "git"
},
{
"lessThan": "550feab5b01000ab314868b62211fb3ddfd600e8",
"status": "affected",
"version": "d54f14655fd7d7b293698a8b6918563c4c0465e7",
"versionType": "git"
},
{
"lessThan": "5aacc19ba2b1faf84c4a2f2cf9a1784e03d1ff38",
"status": "affected",
"version": "bb43679356f1f2a4c6b1c88aec4f021e5b5c74e9",
"versionType": "git"
},
{
"lessThan": "3feb4020bfb7ccf0d347f27051639d25e19cd65d",
"status": "affected",
"version": "7456ae990a9738962b33146916fabca62ae3d4e0",
"versionType": "git"
},
{
"lessThan": "0d86cd6b709c39216e6ee5ea8f0fc4242bbb2b53",
"status": "affected",
"version": "4bfe8c481846cee52473a2f7d7b30ee8e6749fc4",
"versionType": "git"
},
{
"lessThan": "19ddef61ee0a49782a60f8f497e50597ad5de2da",
"status": "affected",
"version": "f9b4b03ccc9c69bf7f7298d4559906ebea7143b3",
"versionType": "git"
},
{
"lessThan": "63be3d8511bdafa095cd14a393cbf3c58dbbb928",
"status": "affected",
"version": "6650527444dadc63d84aa939d14ecba4fadb2f69",
"versionType": "git"
},
{
"lessThan": "e780259b54e618ceb4763fbc21314acf3565e813",
"status": "affected",
"version": "6650527444dadc63d84aa939d14ecba4fadb2f69",
"versionType": "git"
},
{
"status": "affected",
"version": "c1cfd63326f5d09999134e9052c353faf738286e",
"versionType": "git"
},
{
"lessThan": "5.10.271",
"status": "affected",
"version": "5.10.261",
"versionType": "semver"
},
{
"lessThan": "5.15.222",
"status": "affected",
"version": "5.15.212",
"versionType": "semver"
},
{
"lessThan": "6.1.189",
"status": "affected",
"version": "6.1.178",
"versionType": "semver"
},
{
"lessThan": "6.6.158",
"status": "affected",
"version": "6.6.145",
"versionType": "semver"
},
{
"lessThan": "6.12.111",
"status": "affected",
"version": "6.12.97",
"versionType": "semver"
},
{
"lessThan": "6.18.53",
"status": "affected",
"version": "6.18.40",
"versionType": "semver"
},
{
"lessThan": "7.2",
"status": "affected",
"version": "7.1.4",
"versionType": "semver"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"fs/exec.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "7.2"
},
{
"lessThan": "7.2",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.271",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.222",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.189",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.158",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.111",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.53",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.2.*",
"status": "unaffected",
"version": "7.2.7",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nexec: do_close_on_exec() before taking exec_update_lock\n\ndo_close_on_exec() currently happens while holding the exec_update_lock,\nwhich is used in a lot of places that access process state to\nsynchronize access checks.\nI recently added another such use of exec_update_lock, causing a\nregression.\n\ndo_close_on_exec() can block waiting for a reply from a filesystem.\nThat means a hung filesystem can block codepaths that use\nexec_update_lock; and it also means that a FUSE filesystem which\nattempts to inspect the calling process can deadlock.\n\nTo avoid such problems, move do_close_on_exec() before the\nexec_update_lock is taken, but after the FD table has been copied if\nnecessary.\n\nI have looked through all the calls between the old and new position of\nthe do_close_on_exec() call; there seems to be no file descriptor table\naccess in between."
}
],
"id": "CVE-2026-98388",
"lastModified": "2026-10-19T10:18:42.120",
"metrics": {},
"published": "2026-10-14T14:17:49.617",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/0d86cd6b709c39216e6ee5ea8f0fc4242bbb2b53"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/19ddef61ee0a49782a60f8f497e50597ad5de2da"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/3feb4020bfb7ccf0d347f27051639d25e19cd65d"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/550feab5b01000ab314868b62211fb3ddfd600e8"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/5aacc19ba2b1faf84c4a2f2cf9a1784e03d1ff38"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/63be3d8511bdafa095cd14a393cbf3c58dbbb928"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/955973fff4a36d39a848b00cac1706863f568fe1"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/e780259b54e618ceb4763fbc21314acf3565e813"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Received"
}
},
"redhat_vex": {
"aggregate_severity": "Low",
"current_release_date": "2026-11-07T11:30:01+00:00",
"cve": "CVE-2026-98388",
"id": "CVE-2026-98388",
"initial_release_date": "2026-10-14T00:00:00+00:00",
"product_status:known_affected": "14",
"product_status:known_not_affected": "189",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "kernel: exec: do_close_on_exec() before taking exec_update_lock",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98388.json",
"version": "3"
},
"suse_vex": {
"aggregate_severity": "moderate",
"current_release_date": "2026-11-04T18:00:58Z",
"cve": "CVE-2026-98388",
"id": "CVE-2026-98388",
"initial_release_date": "2026-10-15T14:05:31Z",
"product_status:known_not_affected": "348",
"product_status:recommended": "4",
"source": "SUSE CSAF VEX",
"status": "interim",
"title": "SUSE CVE CVE-2026-98388",
"url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-98388.json",
"version": "4"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…