{"api_version":"1","generated_at":"2026-10-22T12:53:04+00:00","cve":"CVE-2026-98388","urls":{"html":"https://cve.report/CVE-2026-98388","api":"https://cve.report/api/cve/CVE-2026-98388.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-98388","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-98388"},"summary":{"title":"exec: do_close_on_exec() before taking exec_update_lock","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-10-14 14:17:49","updated_at":"2026-10-19 10:18:42"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/550feab5b01000ab314868b62211fb3ddfd600e8","name":"https://git.kernel.org/stable/c/550feab5b01000ab314868b62211fb3ddfd600e8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/955973fff4a36d39a848b00cac1706863f568fe1","name":"https://git.kernel.org/stable/c/955973fff4a36d39a848b00cac1706863f568fe1","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/3feb4020bfb7ccf0d347f27051639d25e19cd65d","name":"https://git.kernel.org/stable/c/3feb4020bfb7ccf0d347f27051639d25e19cd65d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e780259b54e618ceb4763fbc21314acf3565e813","name":"https://git.kernel.org/stable/c/e780259b54e618ceb4763fbc21314acf3565e813","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5aacc19ba2b1faf84c4a2f2cf9a1784e03d1ff38","name":"https://git.kernel.org/stable/c/5aacc19ba2b1faf84c4a2f2cf9a1784e03d1ff38","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/19ddef61ee0a49782a60f8f497e50597ad5de2da","name":"https://git.kernel.org/stable/c/19ddef61ee0a49782a60f8f497e50597ad5de2da","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0d86cd6b709c39216e6ee5ea8f0fc4242bbb2b53","name":"https://git.kernel.org/stable/c/0d86cd6b709c39216e6ee5ea8f0fc4242bbb2b53","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/63be3d8511bdafa095cd14a393cbf3c58dbbb928","name":"https://git.kernel.org/stable/c/63be3d8511bdafa095cd14a393cbf3c58dbbb928","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-98388","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98388","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ae1e630bcaac739f625822078edbaea98366930d 955973fff4a36d39a848b00cac1706863f568fe1 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d54f14655fd7d7b293698a8b6918563c4c0465e7 550feab5b01000ab314868b62211fb3ddfd600e8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected bb43679356f1f2a4c6b1c88aec4f021e5b5c74e9 5aacc19ba2b1faf84c4a2f2cf9a1784e03d1ff38 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7456ae990a9738962b33146916fabca62ae3d4e0 3feb4020bfb7ccf0d347f27051639d25e19cd65d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4bfe8c481846cee52473a2f7d7b30ee8e6749fc4 0d86cd6b709c39216e6ee5ea8f0fc4242bbb2b53 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected f9b4b03ccc9c69bf7f7298d4559906ebea7143b3 19ddef61ee0a49782a60f8f497e50597ad5de2da git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6650527444dadc63d84aa939d14ecba4fadb2f69 63be3d8511bdafa095cd14a393cbf3c58dbbb928 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6650527444dadc63d84aa939d14ecba4fadb2f69 e780259b54e618ceb4763fbc21314acf3565e813 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c1cfd63326f5d09999134e9052c353faf738286e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.10.261 5.10.271 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.15.212 5.15.222 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.1.178 6.1.189 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.6.145 6.6.158 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.12.97 6.12.111 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.18.40 6.18.53 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7.1.4 7.2 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7.2","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.271 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.222 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.189 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.158 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.111 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.53 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.7 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"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"},"nvd":{"publishedDate":"2026-10-14 14:17:49","lastModifiedDate":"2026-10-19 10:18:42","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"98388","Ordinal":"1","Title":"exec: do_close_on_exec() before taking exec_update_lock","CVE":"CVE-2026-98388","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"98388","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"exec: do_close_on_exec() before taking exec_update_lock"}]}}}