SecurityContext

CVE-2024-38582: Linux Kernel - Denial of Service

  • Cve: CVE-2024-38582
  • Name: Linux Kernel - Denial of Service
  • 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().
  • Impact: Potential system hang during unmount, leading to denial of service and system instability.
  • Remediation: Update to the latest Linux kernel version where this fix is included.
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.3
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
  • Epss score: 0.00861
  • Epss percentile: 0.59283
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2024-06-19T14:15:18Z
  • Age in days: 888
  • Modified at: 2026-06-17T07:40:38Z
  • Patch available: yes
  • References total: 10
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-38582
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: vulnerability type, requirements, hackerone

Cwe

IdName
CWE-667Improper Locking

References

Same in every row:

  • Source: nvd
UrlTags
https://git.kernel.org/stable/c/06afce714d87c7cd1dcfccbcd800c5c5d2cf1cfdPatch
https://git.kernel.org/stable/c/1c3844c5f4eac043954ebf6403fa9fd1f0e9c1c0Patch
https://git.kernel.org/stable/c/6e5c8e8e024e147b834f56f2115aad241433679bPatch
https://git.kernel.org/stable/c/911d38be151921a5d152bb55e81fd752384c6830Patch
https://git.kernel.org/stable/c/a8799662fed1f8747edae87a1937549288baca6aPatch
https://git.kernel.org/stable/c/bc9cee50a4a4ca23bdc49f75ea8242d8a2193b3bPatch
https://git.kernel.org/stable/c/c516db6ab9eabbedbc430b4f93b0d8728e9b427fPatch
https://git.kernel.org/stable/c/eb85dace897c5986bc2f36b3c783c6abb8a4292ePatch
https://git.kernel.org/stable/c/eff7cdf890b02596b8d73e910bdbdd489175dbdbPatch
https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 6.9, < 6.9.3; >= 6.7, < 6.8.12; >= 6.2, < 6.6.33; >= 5.16, < 6.1.93; >= 5.11, < 5.15.161; >= 5.5, < 5.10.219; >= 4.20, < 5.4.278; < 4.19.316nonvd/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports