LiveActive security incident?Get immediate response
CVE Record

CVE-2025-37917: net: ethernet: mtk-star-emac: fix spinlock recursion issues on rx/tx poll

In the Linux kernel, the following vulnerability has been resolved: net: ethernet: mtk-star-emac: fix spinlock recursion issues on rx/tx poll Use spin_lock_irqsave and spin_unlock_irqrestore instead of spin_lock and spin_unlock in mtk_star_emac driver to avoid spinlock recursion occurrence that can happen when enabling the DMA interrupts again in rx/tx poll. ``` BUG: spinlock recursion on CPU#0, swapper/0/0 lock: 0xffff00000db9cf20, .magic: dead4ead, .owner: swapper/0/0, .owner_cpu: 0 CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-rc2-next-20250417-00001-gf6a27738686c-dirty #28 PREEMPT Hardware name: MediaTek MT8365 Open Platform EVK (DT) Call trace: show_stack+0x18/0x24 (C) dump_stack_lvl+0x60/0x80 dump_stack+0x18/0x24 spin_dump+0x78/0x88 do_raw_spin_lock+0x11c/0x120 _raw_spin_lock+0x20/0x2c mtk_star_handle_irq+0xc0/0x22c [mtk_star_emac] __handle_irq_event_percpu+0x48/0x140 handle_irq_event+0x4c/0xb0 handle_fasteoi_irq+0xa0/0x1bc handle_irq_desc+0x34/0x58 generic_handle_domain_irq+0x1c/0x28 gic_handle_irq+0x4c/0x120 do_interrupt_handler+0x50/0x84 el1_interrupt+0x34/0x68 el1h_64_irq_handler+0x18/0x24 el1h_64_irq+0x6c/0x70 regmap_mmio_read32le+0xc/0x20 (P) _regmap_bus_reg_read+0x6c/0xac _regmap_read+0x60/0xdc regmap_read+0x4c/0x80 mtk_star_rx_poll+0x2f4/0x39c [mtk_star_emac] __napi_poll+0x38/0x188 net_rx_action+0x164/0x2c0 handle_softirqs+0x100/0x244 __do_softirq+0x14/0x20 ____do_softirq+0x10/0x20 call_on_irq_stack+0x24/0x64 do_softirq_own_stack+0x1c/0x40 __irq_exit_rcu+0xd4/0x10c irq_exit_rcu+0x10/0x1c el1_interrupt+0x38/0x68 el1h_64_irq_handler+0x18/0x24 el1h_64_irq+0x6c/0x70 cpuidle_enter_state+0xac/0x320 (P) cpuidle_enter+0x38/0x50 do_idle+0x1e4/0x260 cpu_startup_entry+0x34/0x3c rest_init+0xdc/0xe0 console_on_rootfs+0x0/0x6c __primary_switched+0x88/0x90 ```

HighCVSS 7.5Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

A locking flaw in the Linux MediaTek STAR Ethernet driver can cause the kernel to encounter recursive spinlock handling during network receive or transmit processing. The resulting failure may hang or crash an affected device, disrupting network-dependent services. The supplied CVSS score is 7.5 and identifies availability, not data theft or modification, as the impact.

Executive priority

Prioritize remediation for exposed appliances, embedded systems, and operational devices whose availability depends on the affected Ethernet interface. General-purpose Linux systems without this driver are unlikely to be exposed. Expedite vendor-supported updates where an outage would affect production, safety, communications, or remote management.

Technical view

During mtk-star-emac RX or TX polling, DMA interrupts can be re-enabled while a driver spinlock is held. The interrupt handler may then attempt to acquire the same lock, causing spinlock recursion. Linux resolved this by replacing spin_lock/spin_unlock with interrupt-state-preserving spin_lock_irqsave/spin_unlock_irqrestore. The supplied vector is network-accessible, low-complexity, unauthenticated, and availability-only.

Likely exposure

Exposure is limited to Linux systems using the affected MediaTek mtk-star-emac Ethernet driver, rather than all Linux hosts. The trace identifies a MediaTek MT8365 development platform, but the bundle does not establish that this is the only affected hardware. Downstream kernel backports make version-only assessment unreliable.

Exploitation context

The supplied data does not mark this CVE as KEV and provides no evidence of active exploitation or a public exploit. Its CVSS vector indicates network reachability without privileges or user interaction, but the bundle does not document a proven triggering technique. Treat remote denial of service as plausible, not confirmed in the wild.

Researcher notes

The diagnostic trace shows recursion between mtk_star_rx_poll and mtk_star_handle_irq on a preemptible 6.15 release-candidate kernel. Six stable-tree commits are supplied, indicating branch-specific backports. The affected-version data contains duplicated hashes and ambiguous version entries, so validate downstream packages through vendor advisories or patch presence rather than interpreting the list as clean ranges.

Mitigation direction

  • Inventory Linux devices using the MediaTek mtk-star-emac Ethernet driver.
  • Update affected devices to a vendor-supported kernel containing the applicable stable fix.
  • Follow distribution and device-vendor advisories for downstream backports and release-specific remediation.
  • Reboot after updating and verify the patched kernel is running.

Validation and detection

  • Confirm whether mtk-star-emac is present, loaded, and bound to active Ethernet hardware.
  • Compare the running kernel package against vendor advisories and the listed stable commits.
  • Review kernel logs for spinlock recursion, mtk_star_emac traces, hangs, or watchdog resets.
  • Test RX and TX traffic under normal load after patching, watching for kernel faults.
Prepared
Confidence
medium
Sources
10

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2025-37917 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
2ADP providers
9Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.5CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H3.93.6Linux

Vulnerability scoring details

Base CVSS 3.1 score

7.5High
CVSS 3.1 vector shape for CVE-2025-37917Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CVECVE Program Container
siemens-SADPADP container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux97da99868573b8861de83f7126a5981d896c1d6c, 0a8bd81fd6aaace14979152e0540da8ff158a00a, 0a8bd81fd6aaace14979152e0540da8ff158a00a, 0a8bd81fd6aaace14979152e0540da8ff158a00a, 0a8bd81fd6aaace14979152e0540da8ff158a00a, 0a8bd81fd6aaace14979152e0540da8ff158a00aunaffected
LinuxLinux6.0, 0, 6.1.138, 6.6.90, 6.12.28, 6.14.6, 6.15affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.