Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

net: enetc: fix the deadlock of enetc_mdio_lock

CVSS 3.1 7.5 HIGHCheck source for fixed versionsKEV status unknown

Historical advisory recorded 23 Oct 2026 15:48:27 UTC. Read the latest advisory.

cve-program · CVE-2025-40347

Published

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.

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2025-40347

Published

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/net/ethernet/freescale/enetc/enetc.c"
                    ],
                    "versions": [
                        {
                            "version": "6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3",
                            "lessThan": "a649161526736f48bcc592e3a412e5bcd7dd9e24",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3",
                            "lessThan": "2781ca82ce8cad263d80b617addb727e6a84c9e5",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3",
                            "lessThan": "1f92f5bd057a4fad9dab6af17963cdd21e5da6ed",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3",
                            "lessThan": "2e55a49dc3b2a6b23329e4fbbd8a5feb20e220aa",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6d36ecdbc4410e61a0e02adc5d3abeee22a8ffd3",
                            "lessThan": "50bd33f6b3922a6b760aa30d409cae891cec8fb5",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "bf9c564716a13dde6a990d3b02c27cd6e39608bf",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ff966263f5f9fdf9740f03fed0762ce73c230a6a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5.10.24",
                            "lessThan": "5.11",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.11.7",
                            "lessThan": "5.12",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                }

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/net/ethernet/freescale/enetc/enetc.c"
                    ],
                    "versions": [
                        {
                            "version": "5.12",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.12",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.175",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.115",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.56",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.17.6",
                            "lessThanOrEqual": "6.17.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 22 Nov 23:56 UTC · 274 of 275 readable · 270 fully read · documentation 469/469 current