spi: mpc52xx: Add cancel_work_sync before module remove (Linux Linux)

CVE-2024-50051
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: spi: mpc52xx: Add cancel_work_sync before module remove If we remove the module which will call mpc52xx_spi_remove it will free 'ms' through spi_unregister_controller. while the work ms->work will be used. The sequence of operations that may lead to a UAF bug. Fix it by ensuring that the work is canceled before proceeding with the cleanup in mpc52xx_spi_remove.

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:HCISA-ADP
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)
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected ca632f556697d45d67ed5cada7cedf3ddfe0db4b < d0cde3911cf24e1bcdd4caa1d1b9ef57589db5a1 ; affected ca632f556697d45d67ed5cada7cedf3ddfe0db4b < e0c6ce8424095c2da32a063d3fc027494c689817 ; affected ca632f556697d45d67ed5cada7cedf3ddfe0db4b < cd5106c77d6d6828aa82449f01f4eb436d602a21 ; affected ca632f556697d45d67ed5cada7cedf3ddfe0db4b < 373d55a47dc662e5e30d12ad5d334312f757c1f1 ; affected ca632f556697d45d67ed5cada7cedf3ddfe0db4b < f65d85bc1ffd8a2c194bb2cd65e35ed3648ddd59 ; affected ca632f556697d45d67ed5cada7cedf3ddfe0db4b < 90b72189de2cddacb26250579da0510b29a8b82b
Linux · Linuxaffected 3.1 ; unaffected 0 < 3.1 ; unaffected 5.4.287 ≤ 5.4.* ; unaffected 5.10.231 ≤ 5.10.* ; unaffected 5.15.174 ≤ 5.15.* ; unaffected 6.1.120 ≤ 6.1.*

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