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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.80% (percentile 53, 2026-11-26)
- **Published:** 2025-05-20T15:21:47.703Z
- **Modified:** 2026-11-10T13:17:44.347Z

## Who should check

- Anyone running Linux \>= 97da99868573b8861de83f7126a5981d896c1d6c, \< bedd287fdd3142dffad7ae2ac6ef15f4a2ad0629; \>= 0a8bd81fd6aaace14979152e0540da8ff158a00a, \< 94107259f972d2fd896dbbcaa176b3b2451ff9e5; \>= 0a8bd81fd6aaace14979152e0540da8ff158a00a, \< 7cb10f17bddc415f30fbc00a4e2b490e0d94c462; \>= 0a8bd81fd6aaace14979152e0540da8ff158a00a, \< 8d40bf73fa7f31eac2b0a7c9d85de67df82ee7f3; \>= 0a8bd81fd6aaace14979152e0540da8ff158a00a, \< d886f8d85494d12b2752fd7c6c32162d982d5dd5; \>= 0a8bd81fd6aaace14979152e0540da8ff158a00a, \< 6fe0866014486736cc3ba1c6fd4606d3dbe55c9c
- Anyone running Linux 6.0

## Description

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
\`\`\`

## Affected and fixed versions

- Linux: \>= 97da99868573b8861de83f7126a5981d896c1d6c, \< bedd287fdd3142dffad7ae2ac6ef15f4a2ad0629; \>= 0a8bd81fd6aaace14979152e0540da8ff158a00a, \< 94107259f972d2fd896dbbcaa176b3b2451ff9e5; \>= 0a8bd81fd6aaace14979152e0540da8ff158a00a, \< 7cb10f17bddc415f30fbc00a4e2b490e0d94c462; \>= 0a8bd81fd6aaace14979152e0540da8ff158a00a, \< 8d40bf73fa7f31eac2b0a7c9d85de67df82ee7f3; \>= 0a8bd81fd6aaace14979152e0540da8ff158a00a, \< d886f8d85494d12b2752fd7c6c32162d982d5dd5; \>= 0a8bd81fd6aaace14979152e0540da8ff158a00a, \< 6fe0866014486736cc3ba1c6fd4606d3dbe55c9c (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- Upgrade Linux to 6fe0866014486736cc3ba1c6fd4606d3dbe55c9c or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-37917. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-37917.md
Affected: Linux >= 97da99868573b8861de83f7126a5981d896c1d6c, < bedd287fdd3142dffad7ae2ac6ef15f4a2ad0629; >= 0a8bd81fd6aaace14979152e0540da8ff158a00a, < 94107259f972d2fd896dbbcaa176b3b2451ff9e5; >= 0a8bd81fd6aaace14979152e0540da8ff158a00a, < 7cb10f17bddc415f30fbc00a4e2b490e0d94c462; >= 0a8bd81fd6aaace14979152…
Fixed in: Linux 94107259f972d2fd896dbbcaa176b3b2451ff9e5, Linux 7cb10f17bddc415f30fbc00a4e2b490e0d94c462, Linux 8d40bf73fa7f31eac2b0a7c9d85de67df82ee7f3, Linux 6fe0866014486736cc3ba1c6fd4606d3dbe55c9c

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-37917 being exploited?

There is no confirmed exploitation: CVE-2025-37917 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.80% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-37917?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-37917?

Linux \>= 97da99868573b8861de83f7126a5981d896c1d6c, \< bedd287fdd3142dffad7ae2ac6ef15f4a2ad0629; \>= 0a8bd81fd6aaace14979152e0540da8ff158a00a, \< 94107259f972d2fd896dbbcaa176b3b2451ff9e5; \>= 0a8bd81fd6aaace14979152e0540da8ff158a00a, \< 7cb10f17bddc415f30fbc00a4e2b490e0d94c462; \>= 0a8bd81fd6aaace14979152e0540da8ff158a00a, \< 8d40bf73fa7f31eac2b0a7c9d85de67df82ee7f3; \>= 0a8bd81fd6aaace14979152e0540da8ff158a00a, \< d886f8d85494d12b2752fd7c6c32162d982d5dd5; \>= 0a8bd81fd6aaace14979152e0540da8ff158a00a, \< 6fe0866014486736cc3ba1c6fd4606d3dbe55c9c; Linux 6.0.

### Is there a fix for CVE-2025-37917?

Yes. Fixed in Linux 94107259f972d2fd896dbbcaa176b3b2451ff9e5, Linux 7cb10f17bddc415f30fbc00a4e2b490e0d94c462, Linux 8d40bf73fa7f31eac2b0a7c9d85de67df82ee7f3, Linux 6fe0866014486736cc3ba1c6fd4606d3dbe55c9c. Upgrade Linux to 6fe0866014486736cc3ba1c6fd4606d3dbe55c9c or later.

### How do I check if I'm affected by CVE-2025-37917?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/bedd287fdd3142dffad7ae2ac6ef15f4a2ad0629>
- patch: <https://git.kernel.org/stable/c/94107259f972d2fd896dbbcaa176b3b2451ff9e5>
- patch: <https://git.kernel.org/stable/c/7cb10f17bddc415f30fbc00a4e2b490e0d94c462>
- patch: <https://git.kernel.org/stable/c/8d40bf73fa7f31eac2b0a7c9d85de67df82ee7f3>
- patch: <https://git.kernel.org/stable/c/d886f8d85494d12b2752fd7c6c32162d982d5dd5>
- patch: <https://git.kernel.org/stable/c/6fe0866014486736cc3ba1c6fd4606d3dbe55c9c>
- other: <https://lists.debian.org/debian-lts-announce/2025/08/msg00010.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-37917>

HTML: <https://flawdb.com/CVE-2025-37917> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-37917>
