CVE-2025-40347
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2025
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
net: enetc: fix the deadlock of enetc_mdio_lock
In the Linux kernel, the following vulnerability has been resolved: net: enetc: fix the deadlock of enetc_mdio_lock After applying the workaround for err050089, the LS1028A platform experiences RCU stalls on RT kernel. This issue is caused by the recursive acquisition of the read lock enetc_mdio_lock. Here list some of the call stacks identified under the enetc_poll path that may lead to a deadlock: enetc_poll -> enetc_lock_mdio -> enetc_clean_rx_ring OR napi_complete_done -> napi_gro_receive -> enetc_start_xmit -> enetc_lock_mdio -> enetc_map_tx_buffs -> enetc_unlock_mdio -> enetc_unlock_mdio After enetc_poll acquires the read lock, a higher-priority writer attempts to acquire the lock, causing preemption. The writer detects that a read lock is already held and is scheduled out. However, readers under enetc_poll cannot acquire the read lock again because a writer is already waiting, leading to a thread hang. Currently, the deadlock is avoided by adjusting enetc_lock_mdio to prevent recursive lock acquisition.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3 | affected | git | a649161526736f48bcc592e3a412e5bcd7dd9e24 | Unavailable | None listed |
| 6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3 | affected | git | 2781ca82ce8cad263d80b617addb727e6a84c9e5 | Unavailable | None listed |
| 6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3 | affected | git | 1f92f5bd057a4fad9dab6af17963cdd21e5da6ed | Unavailable | None listed |
| 6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3 | affected | git | 2e55a49dc3b2a6b23329e4fbbd8a5feb20e220aa | Unavailable | None listed |
| 6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3 | affected | git | 50bd33f6b3922a6b760aa30d409cae891cec8fb5 | Unavailable | None listed |
| bf9c564716a13dde6a990d3b02c27cd6e39608bf | affected | git | Unavailable | Unavailable | None listed |
| ff966263f5f9fdf9740f03fed0762ce73c230a6a | affected | git | Unavailable | Unavailable | None listed |
| 5.10.24 | affected | semver | 5.11 | Unavailable | None listed |
| 5.11.7 | affected | semver | 5.12 | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 5.12 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 5.12 | Unavailable | None listed |
| 6.1.175 | unaffected | semver | Unavailable | 6.1.* | None listed |
| 6.6.115 | unaffected | semver | Unavailable | 6.6.* | None listed |
| 6.12.56 | unaffected | semver | Unavailable | 6.12.* | None listed |
| 6.17.6 | unaffected | semver | Unavailable | 6.17.* | None listed |
| 6.18 | unaffected | original_commit_for_fix | Unavailable | * | None listed |