PT-2026-162606

CVE-2026-100024

·

Published

2026-11-30

·

Updated

2026-11-30

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

In the Linux kernel, the following vulnerability has been resolved:
bnxt en: don't leave an XDP program installed when the open fails
bnxt xdp set() stores the new program and drops the reference on the old one before reopening the NIC. If bnxt open nic() then fails, ndo bpf() returns an error with the new program still in bp->xdp prog. The caller treats the error as "nothing was installed" and drops its own reference, so bp->xdp prog is left pointing at a freed program and the next XDP update dereferences it:
BUG: unable to handle page fault for address: ff78ecc80ddd1038 RIP: 0010: bpf prog put+0x5/0x80 Call Trace: bnxt xdp set+0xad/0x1b0 [bnxt en] dev xdp propagate+0x36/0xa0 bond xdp set+0xeb/0x2d0 [bonding] dev xdp install+0x1b1/0x350 bpf xdp link update+0xc5/0x1b0 link update+0x104/0x1e0 sys bpf+0x662/0xcf0
Seen on a 6.12 based kernel after bnxt alloc mem() failed an order-4 allocation on a fragmented host:
bnxt en 0000:a0:00.1 ens4f1np1: nic open fail (rc: fffffff4) bond1: (slave ens4f1np1): Error -12 calling ndo bpf
Bonding is not required to hit this; a plain XDP attach on a bnxt interface takes the same path.
Restore the previous program when an attach or a replace fails, and recompute the page-mode and XDP TX ring configuration from it. The configuration matters because bnxt init one rx ring() only assigns rxr->xdp prog in page mode, and bnxt set rx skb mode() derives dev->max mtu from the installed program. Release the old program only once the change has been committed.
A detach is not undone. dev xdp detach link() clears the core's record of the program even when the driver returns an error, so putting the program back would leave the driver running a program the core has already dropped. If the reopen fails during a detach, bnxt xdp set() therefore returns 0 with the device closed; bnxt open nic() has already logged the failure.
Found in a crash dump; the change was not tested on hardware.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾