net: cadence: macb: Fix a possible deadlock in macb_halt_tx. (Linux Linux)

CVE-2025-38094
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.17 % · centile 7 ()
É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: cadence: macb: Fix a possible deadlock in macb_halt_tx. There is a situation where after THALT is set high, TGO stays high as well. Because jiffies are never updated, as we are in a context with interrupts disabled, we never exit that loop and have a deadlock. That deadlock was noticed on a sama5d4 device that stayed locked for days. Use retries instead of jiffies so that the timeout really works and we do not have a deadlock anymore.

Faiblesses (CWE)

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 e86cd53afc5907f7c221b709916e2dd354e14691 < 0772a608d799ac0d127c0a36047a2725777aba9d ; affected e86cd53afc5907f7c221b709916e2dd354e14691 < 64675a9c00443b2e8af42af08c38fc1b78b68ba2 ; affected e86cd53afc5907f7c221b709916e2dd354e14691 < aace6b63892ce8307e502a60fe2f5a4bc6e1cfe7 ; affected e86cd53afc5907f7c221b709916e2dd354e14691 < 1d60c0781c1bbeaa1196b0d8aad5c435f06cb7c4 ; affected e86cd53afc5907f7c221b709916e2dd354e14691 < 3e64d35475aa21d13dab71da51de51923c1a3a48 ; affected e86cd53afc5907f7c221b709916e2dd354e14691 < 84f98955a9de0e0f591df85aa1a44f3ebcf1cb37
Linux · Linuxaffected 3.8 ; unaffected 0 < 3.8 ; unaffected 5.10.238 ≤ 5.10.* ; unaffected 5.15.184 ≤ 5.15.* ; unaffected 6.1.140 ≤ 6.1.* ; unaffected 6.6.92 ≤ 6.6.*

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