nilfs2: fix use-after-free of timer for log writer thread (Linux Linux)

CVE-2024-38583
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.26 % · centile 18 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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.

Faiblesses (CWE)

  • CWE-416 — Utilisation après libération

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected fdce895ea5dd4e24edf1f4d693827349a4e5b3b4 < 822ae5a8eac30478578a75f7e064f0584931bf2d ; affected fdce895ea5dd4e24edf1f4d693827349a4e5b3b4 < 82933c84f188dcfe89eb26b0b48ab5d1ca99d164 ; affected fdce895ea5dd4e24edf1f4d693827349a4e5b3b4 < 67fa90d4a2ccd9ebb0e1e168c7d0b5d0cf3c7148 ; affected fdce895ea5dd4e24edf1f4d693827349a4e5b3b4 < e65ccf3a4de4f0c763d94789615b83e11f204438 ; affected fdce895ea5dd4e24edf1f4d693827349a4e5b3b4 < 86a30d6302deddb9fb97ba6fc4b04d0e870b582a ; affected fdce895ea5dd4e24edf1f4d693827349a4e5b3b4 < f9186bba4ea282b07293c1c892441df3a5441cb0
Linux · Linuxaffected 2.6.35 ; unaffected 0 < 2.6.35 ; unaffected 4.19.316 ≤ 4.19.* ; unaffected 5.4.278 ≤ 5.4.* ; unaffected 5.10.219 ≤ 5.10.* ; unaffected 5.15.161 ≤ 5.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD