net: hns3: fix kernel crash when devlink reload during initialization (Linux Linux)

CVE-2024-36900
MEDIUM 5.5

En bref

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

Description

In the Linux kernel, the following vulnerability has been resolved: net: hns3: fix kernel crash when devlink reload during initialization The devlink reload process will access the hardware resources, but the register operation is done before the hardware is initialized. So, processing the devlink reload during initialization may lead to kernel crash. This patch fixes this by registering the devlink after hardware initialization.

Faiblesses (CWE)

  • CWE-908 — Utilisation d'une ressource non initialisée

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 cd6242991d2e3990c828a7c2215d2d3321f1da39 < 72ede790f5a03c3957487400a1b72ebce293a2e7 ; affected cd6242991d2e3990c828a7c2215d2d3321f1da39 < 5c623fe0534806b627054da09b6f51b7b2f7b9cd ; affected cd6242991d2e3990c828a7c2215d2d3321f1da39 < c98bc78ce0909ccc92005e2cb6609ec6c7942f69 ; affected cd6242991d2e3990c828a7c2215d2d3321f1da39 < 35d92abfbad88cf947c010baf34b075e40566095
Linux · Linuxaffected 5.15 ; unaffected 0 < 5.15 ; unaffected 6.1.91 ≤ 6.1.* ; unaffected 6.6.31 ≤ 6.6.* ; unaffected 6.8.10 ≤ 6.8.* ; unaffected 6.9 ≤ *

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