# CVE-2023-54090: ixgbe: Fix panic during XDP\_TX with \> 64 CPUs

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

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; 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:** Remote, no login needed
- **EPSS:** 0.89% (percentile 57, 2026-11-26)
- **Published:** 2025-12-24T13:06:19.666Z
- **Modified:** 2026-08-05T09:17:08.999Z

## Who should check

- Anyone running Linux \>= 4fe815850bdc8d4cc94e06fe1de069424a895826, \< 1924450175349e64f8dfc3689efcb653dba0418e; \>= 4fe815850bdc8d4cc94e06fe1de069424a895826, \< 785b2b5b47b1aa4c31862948b312ea845401c5ec; \>= 4fe815850bdc8d4cc94e06fe1de069424a895826, \< 4cd43a19900d0b98c1ec4bb6984763369d2e19ec; \>= 4fe815850bdc8d4cc94e06fe1de069424a895826, \< c23ae5091a8b3e50fe755257df020907e7c029bb
- Anyone running Linux 5.16

## Description

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

ixgbe: Fix panic during XDP\_TX with \> 64 CPUs

Commit 4fe815850bdc ("ixgbe: let the xdpdrv work with more than 64 cpus")
adds support to allow XDP programs to run on systems with more than
64 CPUs by locking the XDP TX rings and indexing them using cpu % 64
(IXGBE\_MAX\_XDP\_QS).

Upon trying this out patch on a system with more than 64 cores,
the kernel paniced with an array-index-out-of-bounds at the return in
ixgbe\_determine\_xdp\_ring in ixgbe.h, which means ixgbe\_determine\_xdp\_q\_idx
was just returning the cpu instead of cpu % IXGBE\_MAX\_XDP\_QS.  An example
splat:

 ==========================================================================
 UBSAN: array-index-out-of-bounds in
 /var/lib/dkms/ixgbe/5.18.6+focal-1/build/src/ixgbe.h:1147:26
 index 65 is out of range for type 'ixgbe\_ring \*\[64\]'
 ==========================================================================
 BUG: kernel NULL pointer dereference, address: 0000000000000058
 \#PF: supervisor read access in kernel mode
 \#PF: error\_code(0x0000) - not-present page
 PGD 0 P4D 0
 Oops: 0000 \[\#1\] SMP NOPTI
 CPU: 65 PID: 408 Comm: ksoftirqd/65
 Tainted: G          IOE     5.15.0-48-generic \#54~20.04.1-Ubuntu
 Hardware name: Dell Inc. PowerEdge R640/0W23H8, BIOS 2.5.4 01/13/2020
 RIP: 0010:ixgbe\_xmit\_xdp\_ring+0x1b/0x1c0 \[ixgbe\]
 Code: 3b 52 d4 cf e9 42 f2 ff ff 66 0f 1f 44 00 00 0f 1f 44 00 00 55 b9
 00 00 00 00 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 08 \<44\> 0f b7
 47 58 0f b7 47 5a 0f b7 57 54 44 0f b7 76 08 66 41 39 c0
 RSP: 0018:ffffbc3fcd88fcb0 EFLAGS: 00010282
 RAX: ffff92a253260980 RBX: ffffbc3fe68b00a0 RCX: 0000000000000000
 RDX: ffff928b5f659000 RSI: ffff928b5f659000 RDI: 0000000000000000
 RBP: ffffbc3fcd88fce0 R08: ffff92b9dfc20580 R09: 0000000000000001
 R10: 3d3d3d3d3d3d3d3d R11: 3d3d3d3d3d3d3d3d R12: 0000000000000000
 R13: ffff928b2f0fa8c0 R14: ffff928b9be20050 R15: 000000000000003c
 FS:  0000000000000000(0000) GS:ffff92b9dfc00000(0000)
 knlGS:0000000000000000
 CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 CR2: 0000000000000058 CR3: 000000011dd6a002 CR4: 00000000007706e0
 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
 PKRU: 55555554
 Call Trace:
  \<TASK\>
  ixgbe\_poll+0x103e/0x1280 \[ixgbe\]
  ? sched\_clock\_cpu+0x12/0xe0
  \_\_napi\_poll+0x30/0x160
  net\_rx\_action+0x11c/0x270
  \_\_do\_softirq+0xda/0x2ee
  run\_ksoftirqd+0x2f/0x50
  smpboot\_thread\_fn+0xb7/0x150
  ? sort\_range+0x30/0x30
  kthread+0x127/0x150
  ? set\_kthread\_struct+0x50/0x50
  ret\_from\_fork+0x1f/0x30
  \</TASK\>

I think this is how it happens:

Upon loading the first XDP program on a system with more than 64 CPUs,
ixgbe\_xdp\_locking\_key is incremented in ixgbe\_xdp\_setup.  However,
immediately after this, the rings are reconfigured by ixgbe\_setup\_tc.
ixgbe\_setup\_tc calls ixgbe\_clear\_interrupt\_scheme which calls
ixgbe\_free\_q\_vectors which calls ixgbe\_free\_q\_vector in a loop.
ixgbe\_free\_q\_vector decrements ixgbe\_xdp\_locking\_key once per call if
it is non-zero.  Commenting out the decrement in ixgbe\_free\_q\_vector
stopped my system from panicing.

I suspect to make the original patch work, I would need to load an XDP
program and then replace it in order to get ixgbe\_xdp\_locking\_key back
above 0 since ixgbe\_setup\_tc is only called when transitioning between
XDP and non-XDP ring configurations, while ixgbe\_xdp\_locking\_key is
incremented every time ixgbe\_xdp\_setup is called.

Also, ixgbe\_setup\_tc can be called via ethtool --set-channels, so this
becomes another path to decrement ixgbe\_xdp\_locking\_key to 0 on systems
with more than 64 CPUs.

Since ixgbe\_xdp\_locking\_key only protects the XDP\_TX path and is tied
to the number of CPUs present, there is no reason to disable it upon
unloading an XDP program.  To avoid confusion, I have moved enabling
ixgbe\_xdp\_locking\_key into ixgbe\_sw\_init, which is part of the probe path.

## Affected and fixed versions

- Linux: \>= 4fe815850bdc8d4cc94e06fe1de069424a895826, \< 1924450175349e64f8dfc3689efcb653dba0418e; \>= 4fe815850bdc8d4cc94e06fe1de069424a895826, \< 785b2b5b47b1aa4c31862948b312ea845401c5ec; \>= 4fe815850bdc8d4cc94e06fe1de069424a895826, \< 4cd43a19900d0b98c1ec4bb6984763369d2e19ec; \>= 4fe815850bdc8d4cc94e06fe1de069424a895826, \< c23ae5091a8b3e50fe755257df020907e7c029bb (cvelist)
- Linux: 5.16 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-54090.md
Affected: Linux >= 4fe815850bdc8d4cc94e06fe1de069424a895826, < 1924450175349e64f8dfc3689efcb653dba0418e; >= 4fe815850bdc8d4cc94e06fe1de069424a895826, < 785b2b5b47b1aa4c31862948b312ea845401c5ec; >= 4fe815850bdc8d4cc94e06fe1de069424a895826, < 4cd43a19900d0b98c1ec4bb6984763369d2e19ec; >= 4fe815850bdc8d4cc94e06f…
Fixed in: Linux 1924450175349e64f8dfc3689efcb653dba0418e, Linux 785b2b5b47b1aa4c31862948b312ea845401c5ec, Linux 4cd43a19900d0b98c1ec4bb6984763369d2e19ec

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-2023-54090 being exploited?

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

### How serious is CVE-2023-54090?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2023-54090?

Linux \>= 4fe815850bdc8d4cc94e06fe1de069424a895826, \< 1924450175349e64f8dfc3689efcb653dba0418e; \>= 4fe815850bdc8d4cc94e06fe1de069424a895826, \< 785b2b5b47b1aa4c31862948b312ea845401c5ec; \>= 4fe815850bdc8d4cc94e06fe1de069424a895826, \< 4cd43a19900d0b98c1ec4bb6984763369d2e19ec; \>= 4fe815850bdc8d4cc94e06fe1de069424a895826, \< c23ae5091a8b3e50fe755257df020907e7c029bb; Linux 5.16.

### Is there a fix for CVE-2023-54090?

Yes. Fixed in Linux 1924450175349e64f8dfc3689efcb653dba0418e, Linux 785b2b5b47b1aa4c31862948b312ea845401c5ec, Linux 4cd43a19900d0b98c1ec4bb6984763369d2e19ec. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-54090?

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

- other: <https://git.kernel.org/stable/c/1924450175349e64f8dfc3689efcb653dba0418e>
- other: <https://git.kernel.org/stable/c/785b2b5b47b1aa4c31862948b312ea845401c5ec>
- other: <https://git.kernel.org/stable/c/4cd43a19900d0b98c1ec4bb6984763369d2e19ec>
- other: <https://git.kernel.org/stable/c/c23ae5091a8b3e50fe755257df020907e7c029bb>

## 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-2023-54090>

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