Junglewise Threat Intelligence

CVE-2026-52910: Linux Kernel use-after-free in BPF reuseport cBPF program handling

CVE-2026-52910 · Severity: info · CVSS 5.5 · Published 2026-06-19

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's networking component could allow a local user to cause a system crash. The issue occurs when the system handles specific types of network traffic (UDP) while simultaneously updating network socket settings. This can lead to a 'use-after-free' scenario where the system tries to access memory that has already been deleted, resulting in a denial-of-service.

Technical details

A use-after-free (UAF) vulnerability exists in the Linux kernel's networking stack within the BPF subsystem. The root cause is that 'classic' BPF (cBPF) programs used in SO_REUSEPORT socket groups are freed immediately via sk_reuseport_prog_free() when detached or replaced, without waiting for an RCU grace period. If another thread is concurrently processing network packets (e.g., in reuseport_select_sock), it may attempt to access the already-freed program memory, leading to a vmalloc-out-of-bounds error or kernel splat. The fix defers the freeing of cBPF programs using call_rcu() to ensure all readers have completed. This issue primarily affects local attackers or specific race conditions during socket configuration.

Affected products

  • Linux Linux Kernel All versions prior to the fix (e.g., 7.0.0-geb7ac95ff75e)

Timeline

  • 2026-04-26: disclosed: Initial patch submitted by Kuniyuki Iwashima
  • 2026-06-19: advisory: CVE-2026-52910 published
  • 2026-06-19: patched: Commits merged into various stable branches

References

Related threats