CVE-2025-38094
JSON

5.5medium

net: cadence: macb: Fix a possible deadlock in macb_halt_tx.

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.18% (higher than 8% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom e86cd53afc5907f7c221b709916e2dd354e14691 before 0772a608d799ac0d127c0a36047a2725777aba9d, from e86cd53afc5907f7c221b709916e2dd354e14691 before 64675a9c00443b2e8af42af08c38fc1b78b68ba2, from e86cd53afc5907f7c221b709916e2dd354e14691 before aace6b63892ce8307e502a60fe2f5a4bc6e1cfe7, from e86cd53afc5907f7c221b709916e2dd354e14691 before 1d60c0781c1bbeaa1196b0d8aad5c435f06cb7c4, from e86cd53afc5907f7c221b709916e2dd354e14691 before 3e64d35475aa21d13dab71da51de51923c1a3a48, from e86cd53afc5907f7c221b709916e2dd354e14691 before 84f98955a9de0e0f591df85aa1a44f3ebcf1cb37, from e86cd53afc5907f7c221b709916e2dd354e14691 before c92d6089d8ad7d4d815ebcedee3f3907b539ff1f, 3.8
Not affected: before 3.8, from 5.10.238 up to 5.10.*, from 5.15.184 up to 5.15.*, from 6.1.140 up to 6.1.*, from 6.6.92 up to 6.6.*, from 6.12.30 up to 6.12.*
CVE List
linux linux_kernelfrom 3.8 before 5.10.238, from 5.11 before 5.15.184, from 5.16 before 6.1.140, from 6.2 before 6.6.92, from 6.7 before 6.12.30, from 6.13 before 6.14.8, 6.15NVD
debian debian_linux11.0NVD

Classification

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: cadence: macb: Se corrige un posible interbloqueo en macb_halt_tx. Existe una situación en la que, tras establecerse un valor alto en THALT, TGO también permanece alto. Dado que los jiffies nunca se actualizan, al estar en un contexto con las interrupciones deshabilitadas, nunca salimos de ese bucle y se produce un interbloqueo. Este interbloqueo se detectó en un dispositivo sama5d4 que permaneció bloqueado durante días. Se recomienda usar reintentos en lugar de jiffies para que el tiempo de espera funcione correctamente y se elimine el interbloqueo.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-38094 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-38094 changed 2026-06-17Public domain