14/11/2026

Linux Kernel: BPF Local Storage race condition may enable privilege escalation

Linux Kernel

ZDI-26-1007 describes a race condition in Linux Kernel BPF Local Storage. A local attacker needs high-privileged code execution; successful exploitation may enable privilege escalation and arbitrary code execution in the kernel context. Check the kernel version and apply the vendor update.

Linux Kernel: BPF Local Storage race condition may enable privilege escalation

At a glance

  • ZDI-26-1007 describes a race condition in Linux Kernel BPF Local Storage.
  • A local attacker needs high-privileged code execution; successful exploitation may enable privilege escalation and arbitrary code execution in the kernel context.
  • Check the kernel version and compare it with the distribution vendor’s update information.
In this article

Zero Day Initiative published advisory ZDI-26-1007 about a flaw in Linux Kernel BPF Local Storage. See advisory ZDI-26-1007 for the source details.

Overview and technical details

The race condition is in the handling of bpf_local_storage_elem objects, where an appropriate lock is missing during operations on the object. The flaw is identified as ZDI-CAN-33360, with a recorded CVSS score of 7.5.

FieldDetails
ProductLinux Kernel
Advisory and flaw IDZDI-26-1007; ZDI-CAN-33360
CVSS7.5 (AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H)
SourceZero Day Initiative

Affected systems

The advisory concerns Linux Kernel, but the dossier does not identify affected branches or a fixed version. Administrators should identify the kernel version in use and compare it with update information from the relevant distribution vendor.

Mechanism and impact

Before exploitation, an attacker must have the ability to execute highly privileged code on the system. Successful exploitation may enable privilege escalation and arbitrary code execution in the kernel context.

System checks

  1. Check the kernel version currently running. Record the result and compare it with the remedial update provided by the distribution vendor.

    uname -r

Remediation and mitigation

  1. Prioritize applying the Linux update released by the vendor to address the flaw. Identify the kernel version and compare it with update information for the distribution in use.

  2. Refer to the related upstream change: commit 5bdd61e98da5468140aff5b5abc0e8544deaf2ee.

References