Skip to main content
VulnerabilityPublished

CVE-2026-139308: Linux kernel · bpf: Fix stale offload->prog pointer after realloc

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-139308

Not known to be exploited · fixed in 2190de7333369052fff76ccb686567ea648350b6 : update Linux kernel when convenient.

Data as of 30 Nov 2026, 17:16 UTC

Severity
Unrated

Rated by Threat Radar · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in 2190de7333369052fff76ccb686567ea648350b6, 87c3268b4acac6942d1dbf600edbf6374be0c91b, 80d3aaf751b9a2a1d204f3ee4e2ef3bb1207cbc9 +2

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ ab3f0063c48c26c927851b6767824e35a716d878, < 2190de7333369052fff76ccb686567ea648350b6
Fixed in
  • 2190de7333369052fff76ccb686567ea648350b6
LinuxLinuxAffected
  • ≥ ab3f0063c48c26c927851b6767824e35a716d878, < 87c3268b4acac6942d1dbf600edbf6374be0c91b
Fixed in
  • 87c3268b4acac6942d1dbf600edbf6374be0c91b
LinuxLinuxAffected
  • ≥ ab3f0063c48c26c927851b6767824e35a716d878, < 80d3aaf751b9a2a1d204f3ee4e2ef3bb1207cbc9
Fixed in
  • 80d3aaf751b9a2a1d204f3ee4e2ef3bb1207cbc9
LinuxLinuxAffected
  • ≥ ab3f0063c48c26c927851b6767824e35a716d878, < 8e83d53596445fcf5b0385e5fbe8bcd971e06d06
Fixed in
  • 8e83d53596445fcf5b0385e5fbe8bcd971e06d06
LinuxLinuxAffected
  • ≥ ab3f0063c48c26c927851b6767824e35a716d878, < 4afa9934aa8da40d8b03d7f18ddbee7113bc8f9b
Fixed in
  • 4afa9934aa8da40d8b03d7f18ddbee7113bc8f9b
LinuxLinuxAffected
  • =4.15
Fixed in–

Description

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.

References

Community reviews

Loading reviews…