CVE-2024-38583
nilfs2: fix use-after-free of timer for log writer thread
Reported by linux · Published June 19, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-tools | Amazon Linux | 4.14.349-266.564.amzn2 |
| kernel-livepatch-4.14.349-266.564 | Amazon Linux | 1.0-0.amzn2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | fdce895ea5dd4e24edf1f4d693827349a4e5b3b4, fdce895ea5dd4e24edf1f4d693827349a4e5b3b4, fdce895ea5dd4e24edf1f4d693827349a4e5b3b4 |
| Linux | Linux | 2.6.35, 0, 4.19.316 |
| amazon:2 | kernel-tools | 0 |
| amazon:2 | kernel-livepatch-4.14.349-266.564 | 0 |
| Linux | Linux | 6.1.94, *, * |
| amazon:2 | kernel-headers | 0 |
| amazon:2 | kernel-devel | 0 |
| linux | linux_kernel | 2.6.35, 2.6.35, 2.6.35 |
| amazon:2 | perf | 0 |
| amazon:2 | kernel-tools-devel | 0 |
| amazon:2 | python-perf | 0 |
| amazon:2 | kernel | 0 |
Timeline
- Jun 19, 2024 CVE Published
- Jun 20, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (8 in total, the first dated here)
- Jan 8, 2026 Security Advisory (325 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (248 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-38583
vulnetix vdb fixes CVE-2024-38583
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-38583/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart