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.
Published: 2026-10-06
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Use‑After‑Free leading to kernel compromise
Action: Apply Patch
AI Analysis

Impact

The mxl862xx Data Switch Architecture driver contains a race condition where its statistics polling work item can be scheduled after the driver’s teardown path has freed port objects, producing a use‑after‑free of kernel memory. This flaw can corrupt kernel data structures or allow execution of arbitrary code in kernel mode. Based on the description, it is inferred that an attacker would need to trigger a teardown or a registration failure while the polling work is pending, which typically requires at least local privileged access to the affected system.

Affected Systems

Any Linux kernel that includes the unpatched mxl862xx DSA switch driver is affecting. The issue exists in kernel versions that incorporate the driver before the commit that disables the statistics poll on teardown. Affected distributions may vary; administrators should check whether their kernel version predates that change or whether the driver is loaded in a custom build.

Risk and Exploitability

EPSS is < 1% and the vulnerability is not listed in CISA KEV, indicating a very low probability of exploitation in the wild. The CVSS score of 7.8 classifies the flaw as high severity, meaning a successful exploitation could cause a use‑after‑free of kernel memory leading to privilege escalation or a kernel panic. Attackers would need local privileged access to trigger a teardown or registration failure while polling work is pending, so the attack vector is inferred to be local with elevated privileges. The high CVSS score underscores the impact on confidentiality, integrity, and availability.

Generated by OpenCVE AI on October 11, 2026 at 18:36 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the patch disabling the statistics poll on teardown.
  • If the system uses a custom kernel build, recompile the mxl862xx driver source with the updated code and ensure the driver is correctly configured for proper tear‑down handling.
  • If an immediate kernel upgrade is not possible, consider unloading the mxl862xx module with "modprobe -r mxl862xx" or disabling the driver in device configuration to eliminate the exposure until a patch can be applied.

Generated by OpenCVE AI on October 11, 2026 at 18:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 11 Oct 2026 17:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Sun, 11 Oct 2026 12:15:00 +0000


Wed, 07 Oct 2026 07:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Wed, 07 Oct 2026 03:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Tue, 06 Oct 2026 20:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Tue, 06 Oct 2026 14:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Tue, 06 Oct 2026 09:00:00 +0000

Type Values Removed Values Added
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.
Title net: dsa: mxl862xx: disable the stats poll on teardown
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T09:17:16.045Z

Reserved: 2026-09-25T10:25:14.338Z

Link: CVE-2026-98305

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-06T09:18:21.660

Modified: 2026-10-19T10:18:32.507

Link: CVE-2026-98305

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-06T00:00:00Z

Links: CVE-2026-98305 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-11T18:45:19Z

Weaknesses
  • CWE-825

    Expired Pointer Dereference