CVE-2024-38582nilfs2: fix potential hang in nilfs_detach_log_writer()
- 5.3MediumCVSS base score
- 0.86%Exploitation in 30 daysEPSS · top 41% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix potential hang in nilfs_detach_log_writer() Syzbot has reported a potential hang in nilfs_detach_log_writer() called during nilfs2 unmount. Analysis revealed that this is because nilfs_segctor_sync(), which synchronizes with the log writer thread, can be called after nilfs_segctor_destroy() terminates that thread, as shown in the call trace below: nilfs_detach_log_writer nilfs_segctor_destroy nilfs_segctor_kill_thread --> Shut down log writer thread flush_work nilfs_iput_work_func nilfs_dispose_list iput nilfs_evict_inode nilfs_transaction_commit nilfs_construct_segment (if inode needs sync) nilfs_segctor_sync --> Attempt to synchronize with log writer thread *** DEADLOCK *** Fix this issue by changing nilfs_segctor_sync() so that the log writer thread returns normally without synchronizing after it terminates, and by forcing tasks that are already waiting to complete once after the thread terminates. The skipped inode metadata flushout will then be processed together in the subsequent cleanup work in nilfs_segctor_destroy().
Timeline
ID reserved
By Linux
- 1 day later
· 1 day later
Published
- 23 months later
· 23 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVDNVD · Modified | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
- EPSS (exploitation in 30 days)
- 0.86% · top 41% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.
Affected products
- affected 7ef3ff2fea8bf5e4a21cef47ad87710a3d0fdb52 – < 911d38be151921a5d152bb55e81fd752384c6830
- affected 7ef3ff2fea8bf5e4a21cef47ad87710a3d0fdb52 – < bc9cee50a4a4ca23bdc49f75ea8242d8a2193b3b
- affected 7ef3ff2fea8bf5e4a21cef47ad87710a3d0fdb52 – < eff7cdf890b02596b8d73e910bdbdd489175dbdb
- affected 7ef3ff2fea8bf5e4a21cef47ad87710a3d0fdb52 – < 06afce714d87c7cd1dcfccbcd800c5c5d2cf1cfd
- affected 7ef3ff2fea8bf5e4a21cef47ad87710a3d0fdb52 – < 1c3844c5f4eac043954ebf6403fa9fd1f0e9c1c0
- affected 7ef3ff2fea8bf5e4a21cef47ad87710a3d0fdb52 – < a8799662fed1f8747edae87a1937549288baca6a
- affected 7ef3ff2fea8bf5e4a21cef47ad87710a3d0fdb52 – < 6e5c8e8e024e147b834f56f2115aad241433679b
- affected 7ef3ff2fea8bf5e4a21cef47ad87710a3d0fdb52 – < c516db6ab9eabbedbc430b4f93b0d8728e9b427f
- affected 7ef3ff2fea8bf5e4a21cef47ad87710a3d0fdb52 – < eb85dace897c5986bc2f36b3c783c6abb8a4292e
- affected c23f3a9fa7826af0465b9408b186f6b555991890
- affected 28cd54f27d309bd65db8ff4b8e6275345287484c
- affected ec7cae16b37ab478d6d7e33e8563b24ca189e6cf
- affected d26f2dfa556323787ee1ebd5d03aeaa8650c7404
- affected 52e87609d9d3ea34cadb5676e8ea85d025ac9632
- affected 7bb9e4a06e12583f1418b669dc45bb3ee84496c6
- affected 3.2.68 – < 3.3
- affected 3.4.107 – < 3.5
- affected 3.10.69 – < 3.11
- affected 3.12.38 – < 3.13
- affected 3.14.33 – < 3.15
- affected 3.18.7 – < 3.19
- affected 3.19
- unaffected < 3.19
- unaffected 4.19.316 – ≤ 4.19.*
- unaffected 5.4.278 – ≤ 5.4.*
- unaffected 5.10.219 – ≤ 5.10.*
- unaffected 5.15.161 – ≤ 5.15.*
- unaffected 6.1.93 – ≤ 6.1.*
- unaffected 6.6.33 – ≤ 6.6.*
- unaffected 6.8.12 – ≤ 6.8.*
- unaffected 6.9.3 – ≤ 6.9.*
- unaffected 6.10 – ≤ *
References
References10
- https://git.kernel.org/stable/c/911d38be151921a5d152bb55e81fd752384c6830 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/bc9cee50a4a4ca23bdc49f75ea8242d8a2193b3b (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/eff7cdf890b02596b8d73e910bdbdd489175dbdb (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/06afce714d87c7cd1dcfccbcd800c5c5d2cf1cfd (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/1c3844c5f4eac043954ebf6403fa9fd1f0e9c1c0 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/a8799662fed1f8747edae87a1937549288baca6a (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/6e5c8e8e024e147b834f56f2115aad241433679b (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/c516db6ab9eabbedbc430b4f93b0d8728e9b427f (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/eb85dace897c5986bc2f36b3c783c6abb8a4292e (opens in a new tab)x_transferred
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-37445 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-38582)Record last updated .