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
kernelAmazon
Fixed in:0:4.14.349-266.564.amzn2
Fixed in:0:4.14.349-266.564.amzn2
kernel-debuginfoAmazon
Fixed in:0:4.14.349-266.564.amzn2
Fixed in:0:4.14.349-266.564.amzn2
kernel-debuginfo-common-aarch64Amazon
Fixed in:0:4.14.349-266.564.amzn2
kernel-debuginfo-common-x86_64Amazon
Fixed in:0:4.14.349-266.564.amzn2
kernel-develAmazon
Fixed in:0:4.14.349-266.564.amzn2
Fixed in:0:4.14.349-266.564.amzn2
kernel-headersAmazon
Fixed in:0:4.14.349-266.564.amzn2
Fixed in:0:4.14.349-266.564.amzn2
Fixed in:0:4.14.349-266.564.amzn2
kernel-livepatch-4.14.349-266.564Amazon
Fixed in:0:1.0-0.amzn2
kernel-toolsAmazon
Fixed in:0:4.14.349-266.564.amzn2
Fixed in:0:4.14.349-266.564.amzn2
kernel-tools-debuginfoAmazon
Fixed in:0:4.14.349-266.564.amzn2
Fixed in:0:4.14.349-266.564.amzn2
kernel-tools-develAmazon
Fixed in:0:4.14.349-266.564.amzn2
Fixed in:0:4.14.349-266.564.amzn2
perfAmazon
Fixed in:0:4.14.349-266.564.amzn2
Fixed in:0:4.14.349-266.564.amzn2
perf-debuginfoAmazon
Fixed in:0:4.14.349-266.564.amzn2
Fixed in:0:4.14.349-266.564.amzn2
python-perfAmazon
Fixed in:0:4.14.349-266.564.amzn2
Fixed in:0:4.14.349-266.564.amzn2
python-perf-debuginfoAmazon
Fixed in:0:4.14.349-266.564.amzn2
Fixed in:0:4.14.349-266.564.amzn2
linuxDebian
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

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

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

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

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

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

linux-aws-5.4Ubuntu
Fixed in:5.4.0-1130.140~18.04.1USN-6951-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

linux-azureUbuntu
Fixed in:5.4.0-1135.142USN-6951-2

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

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

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

linux-azure-5.4Ubuntu
Fixed in:5.4.0-1135.142~18.04.1USN-6951-3

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

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

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

linux-bluefieldUbuntu
Fixed in:5.4.0-1090.97USN-6951-4

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

linux-gcpUbuntu
Fixed in:5.4.0-1134.143USN-6951-1

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

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

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

linux-gcp-5.4Ubuntu
Fixed in:5.4.0-1134.143~18.04.1USN-6951-1

This Ubuntu release reached end-of-life on 2023-05-31. Extended security maintenance is available until 2028-04-01.

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

This Ubuntu release reached end-of-life on 2025-05-31. Extended security maintenance is available until 2030-04-02.

Fixed in:5.15.0-1052.59USN-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
57thpercentile

Moderate risk: more likely to be exploited than 57% 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 168 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 57% 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 kernel (Amazon), kernel-debuginfo (Amazon), kernel-debuginfo-common-aarch64 (Amazon), kernel-debuginfo-common-x86_64 (Amazon), and 164 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>

Check your Linux endpoints for this class of vulnerability

TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.

Patch your fleet freeStart 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 2026-06-17.