net: hns3: fix a deadlock problem when config TC during resetting (Linux Linux)

CVE-2024-44995
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.19 % · centile 9 ()
É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: hns3: fix a deadlock problem when config TC during resetting When config TC during the reset process, may cause a deadlock, the flow is as below: pf reset start │ ▼ ...... setup tc │ │ ▼ ▼ DOWN: napi_disable() napi_disable()(skip) │ │ │ ▼ ▼ ...... ...... │ │ ▼ │ napi_enable() │ ▼ UINIT: netif_napi_del() │ ▼ ...... │ ▼ INIT: netif_napi_add() │ ▼ ...... global reset start │ │ ▼ ▼ UP: napi_enable()(skip) ...... │ │ ▼ ▼ ...... napi_disable() In reset process, the driver will DOWN the port and then UINIT, in this case, the setup tc process will UP the port before UINIT, so cause the problem. Adds a DOWN process in UINIT to fix it.

Faiblesses (CWE)

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.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 bb6b94a896d4dd4dcdeccca87c3fd22521c652c0 < 67492d4d105c0a6321b00c393eec96b9a7a97a16 ; affected bb6b94a896d4dd4dcdeccca87c3fd22521c652c0 < fc250eca15bde34c4c8f806b9d88f55bd56a992c ; affected bb6b94a896d4dd4dcdeccca87c3fd22521c652c0 < 195918217448a6bb7f929d6a2ffffce9f1ece1cc ; affected bb6b94a896d4dd4dcdeccca87c3fd22521c652c0 < 6ae2b7d63cd056f363045eb65409143e16f23ae8 ; affected bb6b94a896d4dd4dcdeccca87c3fd22521c652c0 < fa1d4de7265c370e673583ac8d1bd17d21826cd9 ; affected bb6b94a896d4dd4dcdeccca87c3fd22521c652c0 < de37408d5c26fc4a296a28a0c96dcb814219bfa1
Linux · Linuxaffected 4.15 ; unaffected 0 < 4.15 ; unaffected 5.4.283 ≤ 5.4.* ; unaffected 5.10.225 ≤ 5.10.* ; unaffected 5.15.166 ≤ 5.15.* ; unaffected 6.1.107 ≤ 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