{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-98795","id":"CVE-2026-98795","title":"net: sparx5: skip ptp deinit if init was skipped","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: sparx5: skip ptp deinit if init was skipped\n\nsparx5_ptp_init() returns early on the base lan969x variants\nbecause they do not have the SPX5_FEATURE_PTP flag. It also returns early\nwhen no \"ptp\" interrupt is described. Unbinding the driver then causes a\nNULL pointer dereference when cleaning up uninitialized tx_skbs queues:\n\n","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: sparx5: skip ptp deinit if init was skipped\n\nsparx5_ptp_init() returns early on the base lan969x variants\nbecause they do not have the SPX5_FEATURE_PTP flag. It also returns early\nwhen no \"ptp\" interrupt is described. Unbinding the driver then causes a\nNULL pointer dereference when cleaning up uninitialized tx_skbs queues:\n\n    Unable to handle kernel NULL pointer dereference at virtual address\n    0000000000000008\n    Call trace:\n    skb_queue_purge_reason+0x68/0x120 (P)\n    sparx5_ptp_deinit+0x64/0xc0\n    mchp_sparx5_remove+0x38/0x70\n    platform_remove+0x20/0x30\n    device_remove+0x4c/0x80\n\nBefore per-port tx_skbs were added, a NULL dereference would have happened\nwhen calling ptp_clock_unregister() on the never-registered PTP clocks.\n\nFix by returning early in sparx5_ptp_deinit() if PTP is not used.","published":"2026-10-18T15:48:39.633Z","updated":"2026-10-28T02:30:32.716035241Z","reserved":"2026-09-25T10:25:14.370Z","status":"Received","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0933bd04047c3b96ba49545a8f91e7e6f8f666ff","lessThan":"35c706d6eb1963735814c5f5bb2674a96eacf3cc","status":"affected","versionType":"git"},{"version":"0933bd04047c3b96ba49545a8f91e7e6f8f666ff","lessThan":"2879b65bfa548e10d59c5fba91d17f8a00cd7029","status":"affected","versionType":"git"},{"version":"0933bd04047c3b96ba49545a8f91e7e6f8f666ff","lessThan":"0d2c49915bc3aea4521cda5e4d42f24f63b94585","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.18","status":"affected"},{"version":"0","lessThan":"5.18","status":"unaffected","versionType":"semver"},{"version":"6.18.56","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.10","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/35c706d6eb1963735814c5f5bb2674a96eacf3cc","tags":["web"]},{"url":"https://git.kernel.org/stable/c/2879b65bfa548e10d59c5fba91d17f8a00cd7029","tags":["web"]},{"url":"https://git.kernel.org/stable/c/0d2c49915bc3aea4521cda5e4d42f24f63b94585","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98795.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98795","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00166,"epssPercentile":0.05884,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-98795","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98795","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-98795","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-98795","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}