CVE-2025-38094

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

State
Published
Severity
Not scored
Published
Jul 3, 2025
Updated
May 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • e86cd53afc5907f7c221b709916e2dd354e14691 to before 0772a608d799ac0d127c0a36047a2725777aba9dAffected
  • e86cd53afc5907f7c221b709916e2dd354e14691 to before 64675a9c00443b2e8af42af08c38fc1b78b68ba2Affected
  • e86cd53afc5907f7c221b709916e2dd354e14691 to before aace6b63892ce8307e502a60fe2f5a4bc6e1cfe7Affected
  • e86cd53afc5907f7c221b709916e2dd354e14691 to before 1d60c0781c1bbeaa1196b0d8aad5c435f06cb7c4Affected
  • e86cd53afc5907f7c221b709916e2dd354e14691 to before 3e64d35475aa21d13dab71da51de51923c1a3a48Affected
  • e86cd53afc5907f7c221b709916e2dd354e14691 to before 84f98955a9de0e0f591df85aa1a44f3ebcf1cb37Affected
  • e86cd53afc5907f7c221b709916e2dd354e14691 to before c92d6089d8ad7d4d815ebcedee3f3907b539ff1fAffected
LinuxLinux
  • 3.8Affected
  • before 3.8Not affected
  • 5.10.238 through 5.10.*Not affected
  • 5.15.184 through 5.15.*Not affected
  • 6.1.140 through 6.1.*Not affected
  • 6.6.92 through 6.6.*Not affected
  • 6.12.30 through 6.12.*Not affected
  • 6.14.8 through 6.14.*Not affected
  • 6.15 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.