{"dataType":"CVE_RECORD","cveMetadata":{"cveId":"CVE-2024-38582","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-06-18T19:36:34.928Z","datePublished":"2024-06-19T13:37:39.163Z","dateUpdated":"2026-01-05T10:36:40.840Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-01-05T10:36:40.840Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnilfs2: fix potential hang in nilfs_detach_log_writer()\n\nSyzbot has reported a potential hang in nilfs_detach_log_writer() called\nduring nilfs2 unmount.\n\nAnalysis revealed that this is because nilfs_segctor_sync(), which\nsynchronizes with the log writer thread, can be called after\nnilfs_segctor_destroy() terminates that thread, as shown in the call trace\nbelow:\n\nnilfs_detach_log_writer\n  nilfs_segctor_destroy\n    nilfs_segctor_kill_thread  --> Shut down log writer thread\n    flush_work\n      nilfs_iput_work_func\n        nilfs_dispose_list\n          iput\n            nilfs_evict_inode\n              nilfs_transaction_commit\n                nilfs_construct_segment (if inode needs sync)\n                  nilfs_segctor_sync  --> Attempt to synchronize with\n                                          log writer thread\n                           *** DEADLOCK ***\n\nFix this issue by changing nilfs_segctor_sync() so that the log writer\nthread returns normally without synchronizing after it terminates, and by\nforcing tasks that are already waiting to complete once after the thread\nterminates.\n\nThe skipped inode metadata flushout will then be processed together in the\nsubsequent cleanup work in nilfs_segctor_destroy()."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nilfs2/segment.c"],"versions":[{"version":"7ef3ff2fea8bf5e4a21cef47ad87710a3d0fdb52","lessThan":"911d38be151921a5d152bb55e81fd752384c6830","status":"affected","versionType":"git"},{"version":"7ef3ff2fea8bf5e4a21cef47ad87710a3d0fdb52","lessThan":"bc9cee50a4a4ca23bdc49f75ea8242d8a2193b3b","status":"affected","versionType":"git"},{"version":"7ef3ff2fea8bf5e4a21cef47ad87710a3d0fdb52","lessThan":"eff7cdf890b02596b8d73e910bdbdd489175dbdb","status":"affected","versionType":"git"},{"version":"7ef3ff2fea8bf5e4a21cef47ad87710a3d0fdb52","lessThan":"06afce714d87c7cd1dcfccbcd800c5c5d2cf1cfd","status":"affected","versionType":"git"},{"version":"7ef3ff2fea8bf5e4a21cef47ad87710a3d0fdb52","lessThan":"1c3844c5f4eac043954ebf6403fa9fd1f0e9c1c0","status":"affected","versionType":"git"},{"version":"7ef3ff2fea8bf5e4a21cef47ad87710a3d0fdb52","lessThan":"a8799662fed1f8747edae87a1937549288baca6a","status":"affected","versionType":"git"},{"version":"7ef3ff2fea8bf5e4a21cef47ad87710a3d0fdb52","lessThan":"6e5c8e8e024e147b834f56f2115aad241433679b","status":"affected","versionType":"git"},{"version":"7ef3ff2fea8bf5e4a21cef47ad87710a3d0fdb52","lessThan":"c516db6ab9eabbedbc430b4f93b0d8728e9b427f","status":"affected","versionType":"git"},{"version":"7ef3ff2fea8bf5e4a21cef47ad87710a3d0fdb52","lessThan":"eb85dace897c5986bc2f36b3c783c6abb8a4292e","status":"affected","versionType":"git"},{"version":"c23f3a9fa7826af0465b9408b186f6b555991890","status":"affected","versionType":"git"},{"version":"28cd54f27d309bd65db8ff4b8e6275345287484c","status":"affected","versionType":"git"},{"version":"ec7cae16b37ab478d6d7e33e8563b24ca189e6cf","status":"affected","versionType":"git"},{"version":"d26f2dfa556323787ee1ebd5d03aeaa8650c7404","status":"affected","versionType":"git"},{"version":"52e87609d9d3ea34cadb5676e8ea85d025ac9632","status":"affected","versionType":"git"},{"version":"7bb9e4a06e12583f1418b669dc45bb3ee84496c6","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/nilfs2/segment.c"],"versions":[{"version":"3.19","status":"affected"},{"version":"0","lessThan":"3.19","status":"unaffected","versionType":"semver"},{"version":"4.19.316","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.278","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.219","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.161","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.93","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.33","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.8.12","lessThanOrEqual":"6.8.*","status":"unaffected","versionType":"semver"},{"version":"6.9.3","lessThanOrEqual":"6.9.*","status":"unaffected","versionType":"semver"},{"version":"6.10","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.19","versionEndExcluding":"4.19.316"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.19","versionEndExcluding":"5.4.278"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.19","versionEndExcluding":"5.10.219"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.19","versionEndExcluding":"5.15.161"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.19","versionEndExcluding":"6.1.93"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.19","versionEndExcluding":"6.6.33"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.19","versionEndExcluding":"6.8.12"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.19","versionEndExcluding":"6.9.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.19","versionEndExcluding":"6.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.2.68"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.4.107"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.10.69"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12.38"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.14.33"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.18.7"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/911d38be151921a5d152bb55e81fd752384c6830"},{"url":"https://git.kernel.org/stable/c/bc9cee50a4a4ca23bdc49f75ea8242d8a2193b3b"},{"url":"https://git.kernel.org/stable/c/eff7cdf890b02596b8d73e910bdbdd489175dbdb"},{"url":"https://git.kernel.org/stable/c/06afce714d87c7cd1dcfccbcd800c5c5d2cf1cfd"},{"url":"https://git.kernel.org/stable/c/1c3844c5f4eac043954ebf6403fa9fd1f0e9c1c0"},{"url":"https://git.kernel.org/stable/c/a8799662fed1f8747edae87a1937549288baca6a"},{"url":"https://git.kernel.org/stable/c/6e5c8e8e024e147b834f56f2115aad241433679b"},{"url":"https://git.kernel.org/stable/c/c516db6ab9eabbedbc430b4f93b0d8728e9b427f"},{"url":"https://git.kernel.org/stable/c/eb85dace897c5986bc2f36b3c783c6abb8a4292e"}],"title":"nilfs2: fix potential hang in nilfs_detach_log_writer()","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"problemTypes":[{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-noinfo Not enough information"}]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.3,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"LOW","privilegesRequired":"NONE","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2024-06-20T14:52:09.028015Z","id":"CVE-2024-38582","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-11-08T18:41:35.298Z"}},{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/911d38be151921a5d152bb55e81fd752384c6830","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/bc9cee50a4a4ca23bdc49f75ea8242d8a2193b3b","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/eff7cdf890b02596b8d73e910bdbdd489175dbdb","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/06afce714d87c7cd1dcfccbcd800c5c5d2cf1cfd","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/1c3844c5f4eac043954ebf6403fa9fd1f0e9c1c0","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/a8799662fed1f8747edae87a1937549288baca6a","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/6e5c8e8e024e147b834f56f2115aad241433679b","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/c516db6ab9eabbedbc430b4f93b0d8728e9b427f","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/eb85dace897c5986bc2f36b3c783c6abb8a4292e","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html"}],"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2025-11-04T17:21:35.321Z"}}]},"dataVersion":"5.2"}