# CVE-2026-98305: net: dsa: mxl862xx: disable the stats poll on teardown

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 3, 2026-11-26)
- **Published:** 2026-10-06T08:46:02.190Z
- **Modified:** 2026-10-19T10:18:32.507Z

## Who should check

- Anyone running Linux \>= a21d33a5265f0b31d935a8b9b2b6faefb5185911, \< 97df811a11d4f76bc2ffe67b6bf730263f56c668; \>= a21d33a5265f0b31d935a8b9b2b6faefb5185911, \< 9e92ad4630f5dd1838ce6bbe6b1bd2c73d34de36
- Anyone running Linux 7.1

## Description

In the Linux kernel, the following vulnerability has been resolved:

net: dsa: mxl862xx: disable the stats poll on teardown

mxl862xx\_setup() arms the stats poll before mxl862xx\_setup\_mdio(), and
nothing stops it until dsa\_register\_switch() has returned an error to
mxl862xx\_probe(). DSA frees the dsa\_port list before it returns, so a
poll that fires once .setup or a later step of dsa\_tree\_setup() has
failed walks freed ports. On shutdown the user ports stay registered,
and the WORK\_STOPPED flag test in mxl862xx\_get\_stats64() is not atomic
with the cancel in mxl862xx\_shutdown(), so a re-arm that read the flag
before it was set queues the poll after cancel\_delayed\_work\_sync() has
returned.

Arm the poll once .setup has succeeded and stop it from a .teardown op,
which DSA calls on unregister and after a failed registration, in both
cases before it frees the ports. Use disable\_delayed\_work\_sync() there
and in shutdown(): it drains a running poll as the cancel did and turns
every later attempt to queue the work into a no-op, so the re-arm
cannot bring the poll back. remove() and the probe error path only set
WORK\_STOPPED, which crc\_err\_work tests before it walks the ports.

## Affected and fixed versions

- Linux: \>= a21d33a5265f0b31d935a8b9b2b6faefb5185911, \< 97df811a11d4f76bc2ffe67b6bf730263f56c668; \>= a21d33a5265f0b31d935a8b9b2b6faefb5185911, \< 9e92ad4630f5dd1838ce6bbe6b1bd2c73d34de36 (cvelist)
- Linux: 7.1 (cvelist)

## Mitigation

- Upgrade Linux to 9e92ad4630f5dd1838ce6bbe6b1bd2c73d34de36 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-98305.md
Affected: Linux >= a21d33a5265f0b31d935a8b9b2b6faefb5185911, < 97df811a11d4f76bc2ffe67b6bf730263f56c668; >= a21d33a5265f0b31d935a8b9b2b6faefb5185911, < 9e92ad4630f5dd1838ce6bbe6b1bd2c73d34de36; Linux 7.1
Fixed in: Linux 97df811a11d4f76bc2ffe67b6bf730263f56c668, Linux 9e92ad4630f5dd1838ce6bbe6b1bd2c73d34de36

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-2026-98305 being exploited?

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

### How serious is CVE-2026-98305?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-98305?

Linux \>= a21d33a5265f0b31d935a8b9b2b6faefb5185911, \< 97df811a11d4f76bc2ffe67b6bf730263f56c668; \>= a21d33a5265f0b31d935a8b9b2b6faefb5185911, \< 9e92ad4630f5dd1838ce6bbe6b1bd2c73d34de36; Linux 7.1.

### Is there a fix for CVE-2026-98305?

Yes. Fixed in Linux 97df811a11d4f76bc2ffe67b6bf730263f56c668, Linux 9e92ad4630f5dd1838ce6bbe6b1bd2c73d34de36. Upgrade Linux to 9e92ad4630f5dd1838ce6bbe6b1bd2c73d34de36 or later.

### How do I check if I'm affected by CVE-2026-98305?

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

- other: <https://git.kernel.org/stable/c/97df811a11d4f76bc2ffe67b6bf730263f56c668>
- other: <https://git.kernel.org/stable/c/9e92ad4630f5dd1838ce6bbe6b1bd2c73d34de36>

## 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-2026-98305>

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