CVE-2024-38583CWE-416

CVE-2024-38583

High · published June 19, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
16.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00258 · 16.5th percentile
Weakness
CWE-416 · Use After Free
Published
2024-06-19T18:15Z
Affected products (8)
ProductVersionsFixed in
linux/linux_kernel≥ 2.6.35, < 4.19.3164.19.316
linux/linux_kernel≥ 4.20, < 5.4.2785.4.278
linux/linux_kernel≥ 5.5, < 5.10.2195.10.219
linux/linux_kernel≥ 5.11, < 5.15.1615.15.161
linux/linux_kernel≥ 5.16, < 6.1.946.1.94
linux/linux_kernel≥ 6.2, < 6.6.336.6.33
linux/linux_kernel≥ 6.7, < 6.8.126.8.12
linux/linux_kernel≥ 6.9, < 6.9.36.9.3
References (19)
https://git.kernel.org/stable/c/2f12b2c03c5dae1a0de0a9e5853177e3d6eee3c6 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/67fa90d4a2ccd9ebb0e1e168c7d0b5d0cf3c7148 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/68e738be5c518fc3c4e9146b66f67c8fee0135fb · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/822ae5a8eac30478578a75f7e064f0584931bf2d · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/82933c84f188dcfe89eb26b0b48ab5d1ca99d164 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/86a30d6302deddb9fb97ba6fc4b04d0e870b582a · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/e65ccf3a4de4f0c763d94789615b83e11f204438 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/f5d4e04634c9cf68bdf23de08ada0bb92e8befe7 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/f9186bba4ea282b07293c1c892441df3a5441cb0 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/2f12b2c03c5dae1a0de0a9e5853177e3d6eee3c6 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/67fa90d4a2ccd9ebb0e1e168c7d0b5d0cf3c7148 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/68e738be5c518fc3c4e9146b66f67c8fee0135fb · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/822ae5a8eac30478578a75f7e064f0584931bf2d · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/82933c84f188dcfe89eb26b0b48ab5d1ca99d164 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/86a30d6302deddb9fb97ba6fc4b04d0e870b582a · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/e65ccf3a4de4f0c763d94789615b83e11f204438 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/f5d4e04634c9cf68bdf23de08ada0bb92e8befe7 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/f9186bba4ea282b07293c1c892441df3a5441cb0 · af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html · af854a3a-2127-422b-91ae-364da2661108
EPSS history
Timeline
  • 19 JUN 13:37Z
    nilfs2: fix use-after-free of timer for log writer thread
    cvelistv5