Read the docs

Linux kernel BPF frees program symbols before the program finishes running

Priority LOW 38Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from CNA.

Summary

The Linux kernel BPF subsystem frees a program's symbols and line info when its last reference is dropped, even though the program may still be running on another CPU. A fault in a program that is detached and closed while it runs can then crash the kernel, because the exception table lookup in search_bpf_extables() no longer finds the program. An unprivileged local attacker is not described here, and the facts do not say which privileges are needed; the flaw is a use after free of program metadata that can cause a kernel oops.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

Description from the CNA

In the Linux kernel, the following vulnerability has been resolved: bpf: Keep the symbols of a program until it has ended When the last reference to a program goes, __bpf_prog_put_noref() takes its symbols out of the kallsyms tree and frees its line info at once, and waits for the grace periods only with the rest. But the program may still be running: the link or the array it was called from is gone, the call is not over. search_bpf_extables() finds the exception table of a program by its symbol. A load that faults, and that the table is there to fix up, is fatal from then on: Oops: general protection fault, probably for non-canonical address 0xdead0000000006f8: 0000 [#1] SMP NOPTI RIP: 0010:0xffffffffc06008f6 It takes a program that is detached and closed on one CPU while it runs on another. Unwinders and bpf_prog_find_from_stack() do not know the program any more either, and the stack dump of a BPF stream reads the freed line info. Free the line info behind the grace periods the program needs, as it is done with the BTF that its text comes from. Remove the symbols in bpf_prog_free_deferred(), which runs behind them as well. The symbols are looked up under rcu_read_lock(), so the images and the program itself are freed one more grace period later. All that the program refers to is released when it was before.

Why it matters now

Fix Fixed Linux (Linux): 6.12.119, 6.18.65, 7.3.6 +1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux5.5 and later6.12.119, 6.18.65, 7.3.6, 7.4-rc1Patch availableCNA
  • Linux VendorLinux Affected 5.5 and later Fixed in 6.12.119, 6.18.65, 7.3.6, 7.4-rc1 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*——Linux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions — — ·Linux

Remediation

Upgrade Linux kernel to 6.12.119, 6.18.65, 7.3.6 or 7.4-rc1. The sources list no fixed version for Linux kernel stable branches other than those listed.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

  • Fix · CNA Linux (Linux) Fixed in 6.12.119, 6.18.65, 7.3.6, 7.4-rc1

Timeline

  1. 2026-11-30 Threatist record created from CVE-2026-139295
  2. 2026-11-30 Alias added: GHSA-fvf3-g55g-97fw

References

  • TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
  • TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
See all 23530 →

Sources