net: seeq: Fix use after free vulnerability in ether3 Driver Due to Race Condition (Linux Linux)

CVE-2024-47747
HIGH 7.8

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: net: seeq: Fix use after free vulnerability in ether3 Driver Due to Race Condition In the ether3_probe function, a timer is initialized with a callback function ether3_ledoff, bound to &prev(dev)->timer. Once the timer is started, there is a risk of a race condition if the module or device is removed, triggering the ether3_remove function to perform cleanup. The sequence of operations that may lead to a UAF bug is as follows: CPU0 CPU1 | ether3_ledoff ether3_remove | free_netdev(dev); | put_devic | kfree(dev); | | ether3_outw(priv(dev)->regs.config2 |= CFG2_CTRLO, REG_CONFIG2); | // use dev Fix it by ensuring that the timer is canceled before proceeding with the cleanup in ether3_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: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.0CVSS:3.1/AV:L/AC:H/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 6fd9c53f71862a4797b7ed8a5de80e2c64829f56 < 25d559ed2beec9b34045886100dac46d1ad92eba ; affected 6fd9c53f71862a4797b7ed8a5de80e2c64829f56 < b5a84b6c772564c8359a9a0fbaeb2a2944aa1ee9 ; affected 6fd9c53f71862a4797b7ed8a5de80e2c64829f56 < 338a0582b28e69460df03af50e938b86b4206353 ; affected 6fd9c53f71862a4797b7ed8a5de80e2c64829f56 < 822c7bb1f6f8b0331e8d1927151faf8db3b33afd ; affected 6fd9c53f71862a4797b7ed8a5de80e2c64829f56 < 1c57d61a43293252ad732007c7070fdb112545fd ; affected 6fd9c53f71862a4797b7ed8a5de80e2c64829f56 < d2abc379071881798d20e2ac1d332ad855ae22f3
Linux · Linuxaffected 4.15 ; unaffected 0 < 4.15 ; unaffected 4.19.323 ≤ 4.19.* ; unaffected 5.4.285 ≤ 5.4.* ; unaffected 5.10.227 ≤ 5.10.* ; unaffected 5.15.168 ≤ 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