1. Accueil
  2. Vulnérabilités
  3. CVE-2022-49350

CVE-2022-49350

In the Linux kernel, the following vulnerability has been resolved: net: mdio: unexport __init-annotated…

Publiée le 26 févr. 2025 · modifiée le 17 juin 2026 · Sources : NVD, EPSS (FIRST)

Faible 28/100

Résumé

In the Linux kernel, the following vulnerability has been resolved: net: mdio: unexport __init-annotated mdio_bus_init() EXPORT_SYMBOL and __init is a bad combination because the .init.text section is freed up after the initialization. Hence, modules cannot use symbols annotated __init. The access to a freed symbol may end up with kernel panic. modpost used to detect it, but it has been broken for a decade. Recently, I fixed modpost so it started to warn it again, then this showed up in linux-next builds. There are two ways to fix it: - Remove __init - Remove EXPORT_SYMBOL I chose the latter for this case because the only in-tree call-site, drivers/net/phy/phy_device.c is never compiled as modular. (CONFIG_PHYLIB is boolean)

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Linux (8 ligne(s))
Linux
ProduitVersionsCorrigé dansSource
Linux kernel de 4.12 (inclus) à 4.14.283 (exclu) — NVD
Linux kernel de 4.15 (inclus) à 4.19.247 (exclu) — NVD
Linux kernel de 4.20 (inclus) à 5.4.198 (exclu) — NVD
Linux kernel de 5.5 (inclus) à 5.10.122 (exclu) — NVD
Linux kernel de 5.11 (inclus) à 5.15.47 (exclu) — NVD
Linux kernel de 5.16 (inclus) à 5.17.15 (exclu) — NVD
Linux kernel de 5.18 (inclus) à 5.18.4 (exclu) — NVD
Linux kernel 5.19 — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-908 · Autre (CWE-908)

Comment sont obtenues et calculées ces données