VDB

CVE-2026-53094

CVE-2026-53094 PUBLISHED CVSS 7.8 HIGH

bpf: Fix stale offload->prog pointer after constant blinding

Reported by linux · Published June 24, 2026

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix stale offload->prog pointer after constant blinding When a dev-bound-only BPF program (BPF_F_XDP_DEV_BOUND_ONLY) undergoes JIT compilation with constant blinding enabled (bpf_jit_harden >= 2), bpf_jit_blind_constants() clones the program. The original prog is then freed in bpf_jit_prog_release_other(), which updates aux->prog to point to the surviving clone, but fails to update offload->prog. This leaves offload->prog pointing to the freed original program. When the network namespace is subsequently destroyed, cleanup_net() triggers bpf_dev_bound_netdev_unregister(), which iterates ondev->progs and calls __bpf_prog_offload_destroy(offload->prog). Accessing the freed prog causes a page fault: BUG: unable to handle page fault for address: ffffc900085f1038 Workqueue: netns cleanup_net RIP: 0010:__bpf_prog_offload_destroy+0xc/0x80 Call Trace: __bpf_offload_dev_netdev_unregister+0x257/0x350 bpf_dev_bound_netdev_unregister+0x4a/0x90 unregister_netdevice_many_notify+0x2a2/0x660 ... cleanup_net+0x21a/0x320 The test sequence that triggers this reliably is: 1. Set net.core.bpf_jit_harden=2 (echo 2 > /proc/sys/net/core/bpf_jit_harden) 2. Run xdp_metadata selftest, which creates a dev-bound-only XDP program on a veth inside a netns (./test_progs -t xdp_metadata) 3. cleanup_net -> page fault in __bpf_prog_offload_destroy Dev-bound-only programs are unique in that they have an offload structure but go through the normal JIT path instead of bpf_prog_offload_compile(). This means they are subject to constant blinding's prog clone-and-replace, while also having offload->prog that must stay in sync. Fix this by updating offload->prog in bpf_jit_prog_release_other(), alongside the existing aux->prog update. Both are back-pointers to the prog that must be kept in sync when the prog is replaced.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12-modules-extraAmazon Linux1:6.12.92-122.166.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.92-122.166.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.33-63.124.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.92-122.166.amzn2023
kernel-livepatch-6.18.33-63.124Amazon Linux1:1.0-0.amzn2023
bpftool6.18Amazon Linux1:6.18.33-63.124.amzn2023
python3-perf6.18Amazon Linux1:6.18.33-63.124.amzn2023
kernel6.18Amazon Linux1:6.18.33-63.124.amzn2023
perf6.18Amazon Linux1:6.18.33-63.124.amzn2023
kernel6.18-headersAmazon Linux1:6.18.33-63.124.amzn2023
python3-perf6.12Amazon Linux1:6.12.92-122.166.amzn2023
kernel6.12-develAmazon Linux1:6.12.92-122.166.amzn2023

9 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux2b3486bc2d237ec345b3942b7be5deabf8c8fed1, 2b3486bc2d237ec345b3942b7be5deabf8c8fed1, 2b3486bc2d237ec345b3942b7be5deabf8c8fed1
LinuxLinux6.3, 0, 6.6.141
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.18-tools0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel-livepatch-6.18.33-63.1240
amazon:2023bpftool6.180
amazon:2023python3-perf6.180
amazon:2023kernel6.180
amazon:2023perf6.180
amazon:2023kernel6.18-headers0
amazon:2023python3-perf6.120
amazon:2023kernel6.12-devel0
amazon:2023bpftool6.120
amazon:2023kernel6.12-tools0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.12-headers0
amazon:2023kernel6.18-devel0
amazon:2023kernel-livepatch-6.12.92-122.1660

…and 6 more

Timeline

  • Jun 24, 2026 CVE Published
  • Jun 25, 2026 EPSS Score (9 in total, the first dated here)
  • Jun 25, 2026 Coalition ESS Score
  • Jul 21, 2026 CVE Updated
  • Aug 11, 2026 Distribution Patch (63 in total, the first dated here)
  • Aug 11, 2026 Security Advisory (63 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-53094
vulnetix vdb fixes CVE-2026-53094

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-53094/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›