PT-2026-163349

CVE-2026-139308

·

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:
bpf: Fix stale offload->prog pointer after realloc
bpf prog realloc() moves a program that the rewrites of the verifier make outgrow its pages. It updates aux->prog, but not the offload->prog of a device-bound program. When the device is unregistered, bpf offload dev netdev unregister() hands the stale pointer to bpf prog offload destroy(), which faults on the freed program:
BUG: unable to handle page fault for address: ffffc90000071050 RIP: 0010: bpf prog offload destroy+0x3f/0x310
It takes the right to load a device-bound XDP program, CAP BPF and CAP NET ADMIN or a BPF token, and a device that can be removed.
Commit a1aa9ef47c29 ("bpf: Fix stale offload->prog pointer after constant blinding") repaired the other place that replaces a program. Do the same here.
Nothing keeps the device while a program is loaded, so it can also be unregistered at that very moment. That frees the offload, and it may have read offload->prog already when the old copy of the program is freed. In both places update the pointer under bpf devs lock, before the old copy goes.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾