Bug 2376027 (CVE-2025-38094) - CVE-2025-38094 kernel: net: cadence: macb: Fix a possible deadlock in macb_halt_tx.
Summary: CVE-2025-38094 kernel: net: cadence: macb: Fix a possible deadlock in macb_ha...
Keywords:
Status: NEW
Alias: CVE-2025-38094
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-07-03 08:01 UTC by OSIDB Bzimport
Modified: 2025-07-03 20:54 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-07-03 08:01:14 UTC
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.

Comment 1 Avinash Hanwate 2025-07-03 20:52:39 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025070324-CVE-2025-38094-1b5c@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.