CVE & CISA-KEV Catalog

CVE-2024-38582

MEDIUM
5.3
CVSS v3
NVD

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

How to fix

Remediation Available
linuxDebian
Fixed in:5.10.221-1CVE-2024-38582
Fixed in:6.1.94-1CVE-2024-38582
Fixed in:6.8.12-1CVE-2024-38582
Fixed in:6.8.12-1CVE-2024-38582
linuxUbuntu
Fixed in:5.4.0-192.212USN-6951-1
Fixed in:5.15.0-121.131USN-7007-1
Fixed in:6.8.0-40.40USN-6949-1
linux-awsUbuntu
Fixed in:5.4.0-1130.140USN-6951-1
Fixed in:5.15.0-1069.75USN-7007-1
Fixed in:6.8.0-1013.14USN-6949-1
linux-aws-5.15Ubuntu
Fixed in:5.15.0-1069.75~20.04.1USN-7007-1
linux-aws-5.4Ubuntu
Fixed in:5.4.0-1130.140~18.04.1USN-6951-1
linux-azureUbuntu
Fixed in:5.4.0-1135.142USN-6951-2
Fixed in:5.15.0-1072.81USN-7009-1
linux-azure-5.15Ubuntu
Fixed in:5.15.0-1072.81~20.04.1USN-7009-1
linux-azure-5.4Ubuntu
Fixed in:5.4.0-1135.142~18.04.1USN-6951-3
linux-azure-fdeUbuntu
Fixed in:5.15.0-1072.81.1USN-7009-1
linux-azure-fde-5.15Ubuntu
Fixed in:5.15.0-1072.81~20.04.1.1USN-7009-2
linux-bluefieldUbuntu
Fixed in:5.4.0-1090.97USN-6951-4
linux-gcpUbuntu
Fixed in:5.4.0-1134.143USN-6951-1
Fixed in:5.15.0-1068.76USN-7007-1
Fixed in:6.8.0-1012.13USN-6949-1
linux-gcp-5.15Ubuntu
Fixed in:5.15.0-1068.76~20.04.1USN-7007-1
linux-gcp-5.4Ubuntu
Fixed in:5.4.0-1134.143~18.04.1USN-6951-1
linux-gkeUbuntu
Fixed in:5.15.0-1066.72USN-7007-1
Fixed in:6.8.0-1008.11USN-6949-1
linux-gkeopUbuntu
Fixed in:5.4.0-1097.101USN-6951-1
Fixed in:5.15.0-1052.59USN-7007-1
linux-gkeop-5.15Ubuntu
Fixed in:5.15.0-1052.59~20.04.1USN-7007-1
linux-hwe-5.15Ubuntu
Fixed in:5.15.0-121.131~20.04.1USN-7007-1
linux-hwe-5.4Ubuntu
Fixed in:5.4.0-192.212~18.04.1USN-6951-1
linux-ibmUbuntu
Fixed in:5.4.0-1077.82USN-6951-1
Fixed in:5.15.0-1062.65USN-7007-1
Fixed in:6.8.0-1010.10USN-6949-1
linux-ibm-5.15Ubuntu
Fixed in:5.15.0-1062.65~20.04.1USN-7007-2
linux-ibm-5.4Ubuntu
Fixed in:5.4.0-1077.82~18.04.1USN-6951-1
linux-image-5.15.0-1035-xilinx-zynqmpUbuntu
Fixed in:5.15.0-1035.39USN-7019-1
linux-image-5.15.0-1052-gkeopUbuntu
Fixed in:5.15.0-1052.59~20.04.1USN-7007-1
Fixed in:5.15.0-1052.59USN-7007-1
linux-image-5.15.0-1062-ibmUbuntu
Fixed in:5.15.0-1062.65~20.04.1USN-7007-2
Fixed in:5.15.0-1062.65USN-7007-1
linux-image-5.15.0-1062-raspiUbuntu
Fixed in:5.15.0-1062.65USN-7007-1
linux-image-5.15.0-1064-intel-iotgUbuntu
Fixed in:5.15.0-1064.70~20.04.1+1USN-7007-1
Fixed in:5.15.0-1064.70USN-7007-1
linux-image-5.15.0-1064-nvidiaUbuntu
Fixed in:5.15.0-1064.65USN-7007-1
linux-image-5.15.0-1064-nvidia-lowlatencyUbuntu
Fixed in:5.15.0-1064.65USN-7007-1
linux-image-5.15.0-1066-gkeUbuntu
Fixed in:5.15.0-1066.72USN-7007-1

This vulnerability affects an unusually large number of packages. The highest-confidence fixes are shown above; the full list is longer. Check the referenced advisories for complete coverage.

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityLow

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Exploit Intelligence

0.86%probability of exploitation in 30 days
56thpercentile

Moderate risk: more likely to be exploited than 56% of all known CVEs.

References

Related Vulnerabilities

Other CWE-667 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2019-10072High7.573%-Fix
CVE-2002-1850High7.517%-Fix
CVE-2009-2699High7.514%-Fix
CVE-2004-0174High7.512%--
CVE-2009-4272High7.511%--
CVE-2020-24606High8.65.2%-Fix

Common questions

How do I fix CVE-2024-38582?

Published advisories record a fix for 154 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2024-38582 being actively exploited?

Not that we know of. CVE-2024-38582 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.86% is the estimated probability that it will be exploited in the next 30 days. That is higher than 56% of all scored CVEs.

How severe is CVE-2024-38582?

CVE-2024-38582 has a CVSS v3 base score of 5.3, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2024-38582 affect?

Published advisories record a fix for linux (Debian), linux (Ubuntu), linux-aws (Ubuntu), linux-aws-5.15 (Ubuntu), and 150 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2024-38582
CVE-2024-38582 severity badge

Markdown

[![CVE-2024-38582](https://tridentstack.com/cve/badge/CVE-2024-38582.svg)](https://tridentstack.com/cve/CVE-2024-38582)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-38582"><img src="https://tridentstack.com/cve/badge/CVE-2024-38582.svg" alt="CVE-2024-38582"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-04.