# CVE-2026-98050: mlxsw: spectrum\_ptp: Fix napi\_gro\_receive() call from GC workqueue context

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.25% (percentile 10, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2026-09-25T10:23:59.198Z
- **Modified:** 2026-10-19T10:17:58.890Z

## Who should check

- Anyone running Linux \>= 1ba06ca96ca255c079ce5ea6a75cc0bfd5e97921, \< 4375b3d1c2898886df1f908160c7004bdd938e73; \>= 1ba06ca96ca255c079ce5ea6a75cc0bfd5e97921, \< 7ddcc460176eb34f9bc5bda3cc274d0d24dc62a9; \>= 1ba06ca96ca255c079ce5ea6a75cc0bfd5e97921, \< 2ac174dfcdde399fa95ba889541fb5e688d8bb35
- Anyone running Linux 6.14

## Description

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

mlxsw: spectrum\_ptp: Fix napi\_gro\_receive() call from GC workqueue context

Currently mlxsw\_sp1\_ptp\_ht\_gc\_collect() is run from the PTP
garbage-collection workqueue, rather than the NAPI poll context. For any
unmatched PTP entries carrying an SKB, it calls
mlxsw\_sp1\_ptp\_unmatched\_finish() -\> mlxsw\_sp1\_ptp\_packet\_finish(). For
ingress packets, this calls mlxsw\_sp\_rx\_listener\_no\_mark\_func(). The end
of that function is the following:

    skb-\>protocol = eth\_type\_trans(skb, skb-\>dev);
    napi\_gro\_receive(mlxsw\_skb\_cb(skb)-\>rx\_md\_info.napi, skb);

The napi pointer is one that was placed in the SKB control block when the
trapped packet was received in the NAPI context. Later, when the GC reaps
the unmatched entry (up to MLXSW\_SP1\_PTP\_HT\_GC\_TIMEOUT later), the call to
napi\_gro\_receive() mutates the NAPI instance's GRO list, which is unsafe
if the poll is running concurrently on another CPU.

In mlxsw\_sp1\_ptp\_ht\_gc\_collect(), local\_bh\_disable() is called to prevent
softirq processing, but this only applies to the local CPU. Additionally,
its comment is stale. It states that mlxsw\_sp1\_ptp\_unmatched\_finish()
invokes netif\_receive\_skb(). This has not been accurate since the
referenced commit; this patch makes that comment accurate again.
mlxsw\_pci\_napi\_devs\_init() calls netif\_threaded\_enable() on the NAPI RX
net\_device without any conditions. The NAPI instance's poll, which may be
running concurrent to the GC, is running as an independently-scheduled
kthread which may be on a different CPU. The call to local\_bh\_disable()
does not guard against this.

If a tx-timestamp timeout produces an unmatched entry (which can be easily
reproduced by running ptp4l and waiting for a port to reach the
UNCALIBRATED/SLAVE state) while the owning NAPI thread is in the middle of
a poll on another CPU, both sides mutate the GRO list concurrently, as
shown below:

  \[39.846\] port 1 (swp1): MASTER to UNCALIBRATED on RS\_SLAVE
  list\_add corruption. next-\>prev should be prev (ffff8d620faf4138), but was ffff8d624150f700. (next=ffff8d620faf4138).
  kernel BUG at lib/list\_debug.c:29!
  Oops: invalid opcode: 0000 \[\#1\] SMP PTI
  CPU: 1 UID: 0 PID: 539 Comm: napi/mlxsw\_rx-0 Not tainted 6.18.48 \#1-NixOS PREEMPT(lazy)
  Hardware name: Mellanox Technologies Ltd. MSN2410/VMOD0001, BIOS 4.6.5 09/13/2018
  RIP: 0010:\_\_list\_add\_valid\_or\_report+0x79/0xb0
  RSP: 0018:ffffcdf8c0f27c08 EFLAGS: 00010246
  RAX: 0000000000000075 RBX: ffff8d624150fd00 RCX: 0000000000000000
  RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff8d6315d1e540
  RBP: ffff8d620faf4070 R08: 0000000000000000 R09: 00000000ffffdfff
  R10: ffffffffa5c60fe0 R11: ffffcdf8c0f27ab8 R12: 0000000000000003
  R13: 000000000000003d R14: 00000000000001bc R15: 0000000000000001
  FS:  0000000000000000(0000) GS:ffff8d636f63f000(0000) knlGS:0000000000000000
  CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  CR2: 0000562689a60c24 CR3: 000000015f224004 CR4: 00000000001726f0
  Call Trace:
  \<TASK\>
  gro\_receive\_skb+0xee/0x230
  mlxsw\_sp1\_ptp\_got\_packet+0x61/0x140 \[mlxsw\_spectrum\]
  mlxsw\_core\_skb\_receive+0xdf/0x1b0 \[mlxsw\_core\]
  mlxsw\_pci\_napi\_poll\_cq\_rx+0x780/0x9d0 \[mlxsw\_pci\]
  \_\_napi\_poll+0x31/0x1e0
  napi\_threaded\_poll\_loop+0x16b/0x1c0
  napi\_threaded\_poll+0x71/0xa0
  kthread+0xfb/0x260
  ret\_from\_fork+0x22d/0x260
  ret\_from\_fork\_asm+0x1a/0x30
  \</TASK\>
  Kernel panic - not syncing: Fatal exception in interrupt

The machinery that leads to this kernel panic has not been changed between
6.18.48 and mainline.

This patch adds an ingress-delivery helper for the PTP packet\_finish()
path that calls netif\_receive\_skb() instead of napi\_gro\_receive().
netif\_receive\_skb(), unlike napi\_gro\_receive(), can be called from outside
of the NAPI instance's poll context, which can occur at the call site for
this path. RX stats accounting and the skb-\>dev assignment are still
preserved; the only change is the delivery call itself.

This removes GR
---truncated---

## Affected and fixed versions

- Linux: \>= 1ba06ca96ca255c079ce5ea6a75cc0bfd5e97921, \< 4375b3d1c2898886df1f908160c7004bdd938e73; \>= 1ba06ca96ca255c079ce5ea6a75cc0bfd5e97921, \< 7ddcc460176eb34f9bc5bda3cc274d0d24dc62a9; \>= 1ba06ca96ca255c079ce5ea6a75cc0bfd5e97921, \< 2ac174dfcdde399fa95ba889541fb5e688d8bb35 (cvelist)
- Linux: 6.14 (cvelist)

## Mitigation

- Upgrade Linux to 2ac174dfcdde399fa95ba889541fb5e688d8bb35 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98050. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98050.md
Affected: Linux >= 1ba06ca96ca255c079ce5ea6a75cc0bfd5e97921, < 4375b3d1c2898886df1f908160c7004bdd938e73; >= 1ba06ca96ca255c079ce5ea6a75cc0bfd5e97921, < 7ddcc460176eb34f9bc5bda3cc274d0d24dc62a9; >= 1ba06ca96ca255c079ce5ea6a75cc0bfd5e97921, < 2ac174dfcdde399fa95ba889541fb5e688d8bb35; Linux 6.14
Fixed in: Linux 4375b3d1c2898886df1f908160c7004bdd938e73, Linux 7ddcc460176eb34f9bc5bda3cc274d0d24dc62a9, Linux 2ac174dfcdde399fa95ba889541fb5e688d8bb35

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98050 being exploited?

There is no confirmed exploitation: CVE-2026-98050 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98050?

High: CVSS 7.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-98050?

Linux \>= 1ba06ca96ca255c079ce5ea6a75cc0bfd5e97921, \< 4375b3d1c2898886df1f908160c7004bdd938e73; \>= 1ba06ca96ca255c079ce5ea6a75cc0bfd5e97921, \< 7ddcc460176eb34f9bc5bda3cc274d0d24dc62a9; \>= 1ba06ca96ca255c079ce5ea6a75cc0bfd5e97921, \< 2ac174dfcdde399fa95ba889541fb5e688d8bb35; Linux 6.14.

### Is there a fix for CVE-2026-98050?

Yes. Fixed in Linux 4375b3d1c2898886df1f908160c7004bdd938e73, Linux 7ddcc460176eb34f9bc5bda3cc274d0d24dc62a9, Linux 2ac174dfcdde399fa95ba889541fb5e688d8bb35. Upgrade Linux to 2ac174dfcdde399fa95ba889541fb5e688d8bb35 or later.

### How do I check if I'm affected by CVE-2026-98050?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/4375b3d1c2898886df1f908160c7004bdd938e73>
- patch: <https://git.kernel.org/stable/c/7ddcc460176eb34f9bc5bda3cc274d0d24dc62a9>
- patch: <https://git.kernel.org/stable/c/2ac174dfcdde399fa95ba889541fb5e688d8bb35>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98050>

HTML: <https://flawdb.com/CVE-2026-98050> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98050>
