# CVE-2026-98795: net: sparx5: skip ptp deinit if init was skipped

CVE-2026-98795 is fixed in linux on 1 platform by DEBIAN-CVE-2026-98795 (version 7.2.10-1), released October 19, 2026. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2026-98795
- Priority: Routine
- CVSS: 4.4 (Moderate)
- EPSS: 0.0017
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Oct 18, 2026
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-98795

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | linux Debian 14 | 7.2.10-1 | [DEBIAN-CVE-2026-98795](https://patchblox.com/security/data/fix/linux/debian-cve-2026-98795.md) | Oct 19, 2026 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
