wifi: mt76: do not run mt76_unregister_device() on unregistered hw (Linux Linux)

CVE-2023-53071
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.20 % · centile 10 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: do not run mt76_unregister_device() on unregistered hw Trying to probe a mt7921e pci card without firmware results in a successful probe where ieee80211_register_hw hasn't been called. When removing the driver, ieee802111_unregister_hw is called unconditionally leading to a kernel NULL pointer dereference. Fix the issue running mt76_unregister_device routine just for registered hw.

Faiblesses (CWE)

  • CWE-476 — Déréférencement de pointeur nul

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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 1c71e03afe4b457a15e50de40006b927dfc00755 < dffe86df26aee01a5fc56a175b7a7f157961e370 ; affected 1c71e03afe4b457a15e50de40006b927dfc00755 < 2d34f27714c97a9786a30b3bb54944d6d8ed612f ; affected 1c71e03afe4b457a15e50de40006b927dfc00755 < 41130c32f3a18fcc930316da17f3a5f3bc326aa1
Linux · Linuxaffected 5.18 ; unaffected 0 < 5.18 ; unaffected 6.1.113 ≤ 6.1.* ; unaffected 6.2.9 ≤ 6.2.* ; unaffected 6.3 ≤ *

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