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

net: sparx5: skip ptp deinit if init was skipped

sparx5_ptp_init() returns early on the base lan969x variants
because they do not have the SPX5_FEATURE_PTP flag. It also returns early
when no "ptp" interrupt is described. Unbinding the driver then causes a
NULL pointer dereference when cleaning up uninitialized tx_skbs queues:

Unable to handle kernel NULL pointer dereference at virtual address
0000000000000008
Call trace:
skb_queue_purge_reason+0x68/0x120 (P)
sparx5_ptp_deinit+0x64/0xc0
mchp_sparx5_remove+0x38/0x70
platform_remove+0x20/0x30
device_remove+0x4c/0x80

Before per-port tx_skbs were added, a NULL dereference would have happened
when calling ptp_clock_unregister() on the never-registered PTP clocks.

Fix by returning early in sparx5_ptp_deinit() if PTP is not used.
Published: 2026-10-18
Score: 4.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Kernel NULL pointer dereference leading to system crash
Action: Apply Patch
AI Analysis

Impact

A flaw in the Linux kernel driver for sparx5 causes a NULL pointer dereference when the driver is removed if PTP (Precision Time Protocol) initialization was skipped. The deinitialization routine attempts to purge and unregister PTP clocks that were never set up, resulting in a kernel oops. This crash prevents the system from continuing to run and can be triggered whenever the device driver is unbound or removed, offering a local denial‑of‑service surface.

Affected Systems

Linux kernel builds containing the sparx5 driver, typically used in network interfaces based on the MCHP SPARX5 chipset. The vulnerability affects all kernel versions before the commit that added an early return in sparx5_ptp_deinit. It applies to any distribution that ships the affected kernel without the patch.

Risk and Exploitability

The CVSS score of 4.4 indicates a moderate impact. The EPSS score of <1% indicates a very low probability of exploitation, and the flaw is not listed in CISA KEV, indicating no known widespread exploitation yet. The attack vector is likely local and requires the ability to remove or reload the sparx5 driver, which could be achieved by a privileged process or by misconfiguration of device drivers. The severity of a kernel oops suggests a high impact if exploited, though the lack of a public exploit reduces immediate risk.

Generated by OpenCVE AI on October 24, 2026 at 01:43 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the kernel to a revision that includes the sparx5_ptp_deinit guard applied in the recent patch
  • If upgrading the kernel is not immediately possible, disable PTP support for the sparx5 driver or avoid unbinding the driver until the system can be rebooted after the patch
  • Prevent the sparx5 driver from being automatically reloaded until the patch is applied, for example by disabling module autoload or adjusting device removal policies

Generated by OpenCVE AI on October 24, 2026 at 01:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 24 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate


Sun, 18 Oct 2026 16:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: net: sparx5: skip ptp deinit if init was skipped sparx5_ptp_init() returns early on the base lan969x variants because they do not have the SPX5_FEATURE_PTP flag. It also returns early when no "ptp" interrupt is described. Unbinding the driver then causes a NULL pointer dereference when cleaning up uninitialized tx_skbs queues: Unable to handle kernel NULL pointer dereference at virtual address 0000000000000008 Call trace: skb_queue_purge_reason+0x68/0x120 (P) sparx5_ptp_deinit+0x64/0xc0 mchp_sparx5_remove+0x38/0x70 platform_remove+0x20/0x30 device_remove+0x4c/0x80 Before per-port tx_skbs were added, a NULL dereference would have happened when calling ptp_clock_unregister() on the never-registered PTP clocks. Fix by returning early in sparx5_ptp_deinit() if PTP is not used.
Title net: sparx5: skip ptp deinit if init was skipped
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:25:48.008Z

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

Link: CVE-2026-98795

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:17:33.490

Modified: 2026-10-19T10:19:43.517

Link: CVE-2026-98795

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2026-98795 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-24T01:45:17Z

Weaknesses