{"id":"CVE-2024-38583","published":"2024-06-19T13:37:39Z","modified":"2026-08-05T11:32:58Z","title":"nilfs2: fix use-after-free of timer for log writer thread","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnilfs2: fix use-after-free of timer for log writer thread\n\nPatch series \"nilfs2: fix log writer related issues\".\n\nThis bug fix series covers three nilfs2 log writer-related issues,\nincluding a timer use-after-free issue and potential deadlock issue on\nunmount, and a potential freeze issue in event synchronization found\nduring their analysis.  Details are described in each commit log.\n\n\nThis patch (of 3):\n\nA use-after-free issue has been reported regarding the timer sc_timer on\nthe nilfs_sc_info structure.\n\nThe problem is that even though it is used to wake up a sleeping log\nwriter thread, sc_timer is not shut down until the nilfs_sc_info structure\nis about to be freed, and is used regardless of the thread's lifetime.\n\nFix this issue by limiting the use of sc_timer only while the log writer\nthread is alive.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00258,"percentile":0.17835,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/822ae5a8eac30478578a75f7e064f0584931bf2d","tags":[]},{"url":"https://git.kernel.org/stable/c/82933c84f188dcfe89eb26b0b48ab5d1ca99d164","tags":[]},{"url":"https://git.kernel.org/stable/c/67fa90d4a2ccd9ebb0e1e168c7d0b5d0cf3c7148","tags":[]},{"url":"https://git.kernel.org/stable/c/e65ccf3a4de4f0c763d94789615b83e11f204438","tags":[]},{"url":"https://git.kernel.org/stable/c/86a30d6302deddb9fb97ba6fc4b04d0e870b582a","tags":[]},{"url":"https://git.kernel.org/stable/c/f9186bba4ea282b07293c1c892441df3a5441cb0","tags":[]},{"url":"https://git.kernel.org/stable/c/2f12b2c03c5dae1a0de0a9e5853177e3d6eee3c6","tags":[]},{"url":"https://git.kernel.org/stable/c/68e738be5c518fc3c4e9146b66f67c8fee0135fb","tags":[]},{"url":"https://git.kernel.org/stable/c/f5d4e04634c9cf68bdf23de08ada0bb92e8befe7","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html","tags":[]}],"priority":{"score":9.0,"factors":[{"name":"EPSS percentile","points":3.57},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= fdce895ea5dd4e24edf1f4d693827349a4e5b3b4, < 822ae5a8eac30478578a75f7e064f0584931bf2d",">= fdce895ea5dd4e24edf1f4d693827349a4e5b3b4, < 82933c84f188dcfe89eb26b0b48ab5d1ca99d164",">= fdce895ea5dd4e24edf1f4d693827349a4e5b3b4, < 67fa90d4a2ccd9ebb0e1e168c7d0b5d0cf3c7148",">= fdce895ea5dd4e24edf1f4d693827349a4e5b3b4, < e65ccf3a4de4f0c763d94789615b83e11f204438",">= fdce895ea5dd4e24edf1f4d693827349a4e5b3b4, < 86a30d6302deddb9fb97ba6fc4b04d0e870b582a",">= fdce895ea5dd4e24edf1f4d693827349a4e5b3b4, < f9186bba4ea282b07293c1c892441df3a5441cb0",">= fdce895ea5dd4e24edf1f4d693827349a4e5b3b4, < 2f12b2c03c5dae1a0de0a9e5853177e3d6eee3c6",">= fdce895ea5dd4e24edf1f4d693827349a4e5b3b4, < 68e738be5c518fc3c4e9146b66f67c8fee0135fb",">= fdce895ea5dd4e24edf1f4d693827349a4e5b3b4, < f5d4e04634c9cf68bdf23de08ada0bb92e8befe7"]},{"vendor":"Linux","product":"Linux","versions":["2.6.35"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T17:13:56.689885Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-37446","exploited":false,"provenance":"source"}}