CVE-2025-38202

bpf: Check rcu_read_lock_trace_held() in bpf_map_lookup_percpu_elem()

published July 4, 2025

CVSS
—
EPSS
0%
Percentile
7.2
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

bpf: Check rcu_read_lock_trace_held() in bpf_map_lookup_percpu_elem()

bpf_map_lookup_percpu_elem() helper is also available for sleepable bpf

program. When BPF JIT is disabled or under 32-bit host,

bpf_map_lookup_percpu_elem() will not be inlined. Using it in a

sleepable bpf program will trigger the warning in

bpf_map_lookup_percpu_elem(), because the bpf program only holds

rcu_read_lock_trace lock. Therefore, add the missed check.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00180 · 7.2th percentile
Published
2025-07-04T13:37Z
EPSS history
Timeline
  • 04 JUL 13:37Z
    bpf: Check rcu_read_lock_trace_held() in bpf_map_lookup_percpu_elem()
    cvelistv5