In the Linux kernel, the following vulnerability has been resolved: net: sparx5: skip ptp deinit if init was skipped sparx5_ptp_init() returns early… (CVE-2026-98795)
Description
A NULL pointer dereference vulnerability in the Linux kernel's sparx5 network driver was resolved. The issue occurs when sparx5_ptp_init() returns early due to missing PTP features or interrupts, but sparx5_ptp_deinit() does not check this and attempts to clean up uninitialized resources, causing a kernel NULL pointer dereference. The fix adds an early return in sparx5_ptp_deinit() if PTP is not used, preventing the crash.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel sparx5 network driver had a vulnerability where sparx5_ptp_init() could return early without initializing PTP-related resources if the SPX5_FEATURE_PTP flag was absent or no 'ptp' interrupt was described. However, sparx5_ptp_deinit() did not account for this early return and proceeded to deinitialize resources, leading to a NULL pointer dereference when cleaning up uninitialized tx_skbs queues. This caused kernel crashes during driver unbinding. The fix involves adding an early return in sparx5_ptp_deinit() to skip deinitialization if PTP was never initialized.
Potential Impact
This vulnerability can cause a kernel NULL pointer dereference, resulting in a kernel crash (panic) when the sparx5 driver is unbound on affected systems. This impacts system stability but does not indicate privilege escalation or data corruption from the provided information.
Mitigation Recommendations
A fix is available that modifies sparx5_ptp_deinit() to return early if PTP is not used, preventing the NULL pointer dereference. Users should apply the updated Linux kernel version containing this patch once released. No other mitigations are indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-9hv5-vqfc-jqjg
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98795"]
Threat ID: 6ad520aa2cdf04f6569938c4
Added to database: 10/18/2026, 19:40:26 UTC
Last enriched: 10/18/2026, 22:19:41 UTC
Last updated: 10/18/2026, 22:19:41 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.