7.8
HIGH CVSS 3.1
CVE-2024-38583
nilfs2: fix use-after-free of timer for log writer thread
Description

In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix use-after-free of timer for log writer thread Patch series "nilfs2: fix log writer related issues". This bug fix series covers three nilfs2 log writer-related issues, including a timer use-after-free issue and potential deadlock issue on unmount, and a potential freeze issue in event synchronization found during their analysis. Details are described in each commit log. This patch (of 3): A use-after-free issue has been reported regarding the timer sc_timer on the nilfs_sc_info structure. The problem is that even though it is used to wake up a sleeping log writer thread, sc_timer is not shut down until the nilfs_sc_info structure is about to be freed, and is used regardless of the thread's lifetime. Fix this issue by limiting the use of sc_timer only while the log writer thread is alive.

INFO

Published Date :

June 19, 2024, 2:15 p.m.

Last Modified :

Nov. 4, 2025, 6:16 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2024-38583 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
Solution
This addresses a use-after-free vulnerability within the Linux kernel.
  • Update the affected kernel package.
  • Reboot the system after updating.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-38583.

URL Resource
https://git.kernel.org/stable/c/2f12b2c03c5dae1a0de0a9e5853177e3d6eee3c6 Patch
https://git.kernel.org/stable/c/67fa90d4a2ccd9ebb0e1e168c7d0b5d0cf3c7148 Patch
https://git.kernel.org/stable/c/68e738be5c518fc3c4e9146b66f67c8fee0135fb Patch
https://git.kernel.org/stable/c/822ae5a8eac30478578a75f7e064f0584931bf2d Patch
https://git.kernel.org/stable/c/82933c84f188dcfe89eb26b0b48ab5d1ca99d164 Patch
https://git.kernel.org/stable/c/86a30d6302deddb9fb97ba6fc4b04d0e870b582a Patch
https://git.kernel.org/stable/c/e65ccf3a4de4f0c763d94789615b83e11f204438 Patch
https://git.kernel.org/stable/c/f5d4e04634c9cf68bdf23de08ada0bb92e8befe7 Patch
https://git.kernel.org/stable/c/f9186bba4ea282b07293c1c892441df3a5441cb0 Patch
https://git.kernel.org/stable/c/2f12b2c03c5dae1a0de0a9e5853177e3d6eee3c6 Patch
https://git.kernel.org/stable/c/67fa90d4a2ccd9ebb0e1e168c7d0b5d0cf3c7148 Patch
https://git.kernel.org/stable/c/68e738be5c518fc3c4e9146b66f67c8fee0135fb Patch
https://git.kernel.org/stable/c/822ae5a8eac30478578a75f7e064f0584931bf2d Patch
https://git.kernel.org/stable/c/82933c84f188dcfe89eb26b0b48ab5d1ca99d164 Patch
https://git.kernel.org/stable/c/86a30d6302deddb9fb97ba6fc4b04d0e870b582a Patch
https://git.kernel.org/stable/c/e65ccf3a4de4f0c763d94789615b83e11f204438 Patch
https://git.kernel.org/stable/c/f5d4e04634c9cf68bdf23de08ada0bb92e8befe7 Patch
https://git.kernel.org/stable/c/f9186bba4ea282b07293c1c892441df3a5441cb0 Patch
https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-38583 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-38583 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-38583 vulnerability anywhere in the article.

  • tripwire.com
VERT Threat Alert: August 2024 Patch Tuesday Analysis

Today’s VERT Alert addresses Microsoft’s August 2024 Security Updates. VERT is actively working on coverage for these vulnerabilities and expects to ship ASPL-1119 as soon as coverage is completed.CVE ... Read more

Published Date: Aug 13, 2024 (1 year, 4 months ago)

The following table lists the changes that have been made to the CVE-2024-38583 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 04, 2025

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://git.kernel.org/stable/c/2f12b2c03c5dae1a0de0a9e5853177e3d6eee3c6
    Added Reference https://git.kernel.org/stable/c/67fa90d4a2ccd9ebb0e1e168c7d0b5d0cf3c7148
    Added Reference https://git.kernel.org/stable/c/68e738be5c518fc3c4e9146b66f67c8fee0135fb
    Added Reference https://git.kernel.org/stable/c/822ae5a8eac30478578a75f7e064f0584931bf2d
    Added Reference https://git.kernel.org/stable/c/82933c84f188dcfe89eb26b0b48ab5d1ca99d164
    Added Reference https://git.kernel.org/stable/c/86a30d6302deddb9fb97ba6fc4b04d0e870b582a
    Added Reference https://git.kernel.org/stable/c/e65ccf3a4de4f0c763d94789615b83e11f204438
    Added Reference https://git.kernel.org/stable/c/f5d4e04634c9cf68bdf23de08ada0bb92e8befe7
    Added Reference https://git.kernel.org/stable/c/f9186bba4ea282b07293c1c892441df3a5441cb0
  • Initial Analysis by [email protected]

    Aug. 01, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://git.kernel.org/stable/c/2f12b2c03c5dae1a0de0a9e5853177e3d6eee3c6 No Types Assigned https://git.kernel.org/stable/c/2f12b2c03c5dae1a0de0a9e5853177e3d6eee3c6 Patch
    Changed Reference Type https://git.kernel.org/stable/c/67fa90d4a2ccd9ebb0e1e168c7d0b5d0cf3c7148 No Types Assigned https://git.kernel.org/stable/c/67fa90d4a2ccd9ebb0e1e168c7d0b5d0cf3c7148 Patch
    Changed Reference Type https://git.kernel.org/stable/c/68e738be5c518fc3c4e9146b66f67c8fee0135fb No Types Assigned https://git.kernel.org/stable/c/68e738be5c518fc3c4e9146b66f67c8fee0135fb Patch
    Changed Reference Type https://git.kernel.org/stable/c/822ae5a8eac30478578a75f7e064f0584931bf2d No Types Assigned https://git.kernel.org/stable/c/822ae5a8eac30478578a75f7e064f0584931bf2d Patch
    Changed Reference Type https://git.kernel.org/stable/c/82933c84f188dcfe89eb26b0b48ab5d1ca99d164 No Types Assigned https://git.kernel.org/stable/c/82933c84f188dcfe89eb26b0b48ab5d1ca99d164 Patch
    Changed Reference Type https://git.kernel.org/stable/c/86a30d6302deddb9fb97ba6fc4b04d0e870b582a No Types Assigned https://git.kernel.org/stable/c/86a30d6302deddb9fb97ba6fc4b04d0e870b582a Patch
    Changed Reference Type https://git.kernel.org/stable/c/e65ccf3a4de4f0c763d94789615b83e11f204438 No Types Assigned https://git.kernel.org/stable/c/e65ccf3a4de4f0c763d94789615b83e11f204438 Patch
    Changed Reference Type https://git.kernel.org/stable/c/f5d4e04634c9cf68bdf23de08ada0bb92e8befe7 No Types Assigned https://git.kernel.org/stable/c/f5d4e04634c9cf68bdf23de08ada0bb92e8befe7 Patch
    Changed Reference Type https://git.kernel.org/stable/c/f9186bba4ea282b07293c1c892441df3a5441cb0 No Types Assigned https://git.kernel.org/stable/c/f9186bba4ea282b07293c1c892441df3a5441cb0 Patch
    Added CWE NIST CWE-416
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 2.6.35 up to (excluding) 4.19.316 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.278 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.219 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.161 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.94 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.33 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.8.12 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.9 up to (excluding) 6.9.3
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jul. 15, 2024

    Action Type Old Value New Value
    Removed Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 27, 2024

    Action Type Old Value New Value
    Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html [No types assigned]
  • CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 19, 2024

    Action Type Old Value New Value
    Added Description In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix use-after-free of timer for log writer thread Patch series "nilfs2: fix log writer related issues". This bug fix series covers three nilfs2 log writer-related issues, including a timer use-after-free issue and potential deadlock issue on unmount, and a potential freeze issue in event synchronization found during their analysis. Details are described in each commit log. This patch (of 3): A use-after-free issue has been reported regarding the timer sc_timer on the nilfs_sc_info structure. The problem is that even though it is used to wake up a sleeping log writer thread, sc_timer is not shut down until the nilfs_sc_info structure is about to be freed, and is used regardless of the thread's lifetime. Fix this issue by limiting the use of sc_timer only while the log writer thread is alive.
    Added Reference kernel.org https://git.kernel.org/stable/c/822ae5a8eac30478578a75f7e064f0584931bf2d [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/82933c84f188dcfe89eb26b0b48ab5d1ca99d164 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/67fa90d4a2ccd9ebb0e1e168c7d0b5d0cf3c7148 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/e65ccf3a4de4f0c763d94789615b83e11f204438 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/86a30d6302deddb9fb97ba6fc4b04d0e870b582a [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/f9186bba4ea282b07293c1c892441df3a5441cb0 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/2f12b2c03c5dae1a0de0a9e5853177e3d6eee3c6 [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/68e738be5c518fc3c4e9146b66f67c8fee0135fb [No types assigned]
    Added Reference kernel.org https://git.kernel.org/stable/c/f5d4e04634c9cf68bdf23de08ada0bb92e8befe7 [No types assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact