Linux Kernel BPF JIT Buffer Misalignment Vulnerability on ARM64

Vulnerability

A vulnerability in the Linux kernel's BPF Just-In-Time (JIT) compiler for ARM64 architecture has been addressed. The issue stemmed from the BPF JIT allocator requesting a 4-byte alignment for the JIT buffer, while the structure 'bpf_plt' contains a 64-bit target field that requires 8-byte alignment. This misalignment could lead to 'Undefined Behavior Sanitizer' (UBSAN) warnings and, more critically, to a torn read condition. On ARM64, 64-bit data transfers are only atomic when properly aligned. The vulnerability could cause the JIT compiler to jump to a corrupted address, disrupting execution.

Impact

The vulnerability could lead to a denial-of-service condition by causing the JIT compiler to execute code incorrectly, potentially jumping to invalid memory addresses and disrupting normal operations.

Reproduction

The vulnerability can be reproduced by compiling and executing BPF programs on an ARM64 system with a Linux kernel version that includes the misalignment issue. The BPF JIT compiler will incorrectly align the target field in the 'bpf_plt' structure, leading to a torn read condition.

Remediation

Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched kernel can be found on the official Linux kernel website.

Added: Mar 25, 2026, 11:41 AM
Updated: Mar 25, 2026, 11:41 AM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
3.1
exploitability
3.9
remediation
7.7
relevance
4.7
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.