5.3

CVE-2024-38582: linux Improper Locking

CVSS: 5.3v3.1MediumModified
AliasesUBUNTU-CVE-2024-38582DEBIAN-CVE-2024-38582
Published 19-06-2024Last modified 23-05-2026

Vulnerability summary

CVE-2024-38582 is a medium (CVSS 5.3) Improper Locking vulnerability in linux. EPSS estimates a 0.86% chance of exploitation in the next 30 days, higher than 57.8% of scored vulnerabilities.

Overall risk
21/100
0100
Low · default modelHow is this calculated?
CVSS score
5.3/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.86%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 29 · Related 25

Timeline

  1. 19-06-2024
    PublishedVulnerability first disclosed.
  2. 23-05-2026
    Last modifiedVulnerability information updated.

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().

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.86%

Chance of exploitation in the next 30 days

Percentile

58%

Versus all other CVEs

30-day change

0.00 pp

From 0.86% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.86%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Ubuntu129 products
  • linuxAll versions (No fix recorded) | < 5.4.0-192.212 | < 5.15.0-121.131 | < 6.8.0-40.40
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.4.0-1130.140 | < 5.15.0-1069.75 | < 6.8.0-1013.14
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 7ef3ff2fea8bf5e4a21cef47ad87710a3d0fdb52, < 911d38be151921a5d152bb55e81fd752384c6830 | ≥ 7ef3ff2fea8bf5e4a21cef47ad87710a3d0fdb52, < bc9cee50a4a4ca23bdc49f75ea8242d8a2193b3b | ≥ 7ef3ff2fea8bf5e4a21cef47ad87710a3d0fdb52, < eff7cdf890b02596b8d73e910bdbdd489175dbdb | ≥ 7ef3ff2fea8bf5e4a21cef47ad87710a3d0fdb52, < 06afce714d87c7cd1dcfccbcd800c5c5d2cf1cfd | ≥ 7ef3ff2fea8bf5e4a21cef47ad87710a3d0fdb52, < 1c3844c5f4eac043954ebf6403fa9fd1f0e9c1c0 | ≥ 7ef3ff2fea8bf5e4a21cef47ad87710a3d0fdb52, < a8799662fed1f8747edae87a1937549288baca6a | ≥ 7ef3ff2fea8bf5e4a21cef47ad87710a3d0fdb52, < 6e5c8e8e024e147b834f56f2115aad241433679b | ≥ 7ef3ff2fea8bf5e4a21cef47ad87710a3d0fdb52, < c516db6ab9eabbedbc430b4f93b0d8728e9b427f | ≥ 7ef3ff2fea8bf5e4a21cef47ad87710a3d0fdb52, < eb85dace897c5986bc2f36b3c783c6abb8a4292e | c23f3a9fa7826af0465b9408b186f6b555991890 | 28cd54f27d309bd65db8ff4b8e6275345287484c | ec7cae16b37ab478d6d7e33e8563b24ca189e6cf | d26f2dfa556323787ee1ebd5d03aeaa8650c7404 | 52e87609d9d3ea34cadb5676e8ea85d025ac9632 | 7bb9e4a06e12583f1418b669dc45bb3ee84496c6 | ≥ 3.2.68, < 3.3 | ≥ 3.4.107, < 3.5 | ≥ 3.10.69, < 3.11 | ≥ 3.12.38, < 3.13 | ≥ 3.14.33, < 3.15 | ≥ 3.18.7, < 3.19 | 3.19
  • linux_kernel< 4.19.316 | ≥ 4.20, < 5.4.278 | ≥ 5.5, < 5.10.219 | ≥ 5.11, < 5.15.161 | ≥ 5.16, < 6.1.93 | ≥ 6.2, < 6.6.33 | ≥ 6.7, < 6.8.12 | ≥ 6.9, < 6.9.3
Debian1 product
  • linux< 6.1.94-1 | < 6.8.12-1

3 vendors · 132 products

References

31 links
Show all 31 references