1. Home
  2. Vulnerabilities
  3. CVE-2025-38202

CVE-2025-38202

bpf: Check rcu_read_lock_trace_held() in bpf_map_lookup_percpu_elem()

Published 4 Jul 2025 · modified 5 Nov 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Low 24/100

Summary

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.

Affected products and versions

Linux (5 line(s))
Linux
ProductVersionsFixed inSource
Linux 5.19 — CNA (vendor or assigner)
Linux kernel from 5.19 (included) to 6.1.142 (excluded) — NVD
Linux kernel from 6.2 (included) to 6.6.95 (excluded) — NVD
Linux kernel from 6.7 (included) to 6.12.35 (excluded) — NVD
Linux kernel from 6.13 (included) to 6.15.4 (excluded) — NVD
Debian (1 line(s))
Debian
ProductVersionsFixed inSource
Debian linux 11.0 — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Weakness
NVD-CWE-noinfo · Non classé

How this data is obtained and calculated