Bug 2376382 (CVE-2025-38202) - CVE-2025-38202 kernel: bpf: Check rcu_read_lock_trace_held() in bpf_map_lookup_percpu_elem()
Summary: CVE-2025-38202 kernel: bpf: Check rcu_read_lock_trace_held() in bpf_map_looku...
Keywords:
Status: NEW
Alias: CVE-2025-38202
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-07-04 14:02 UTC by OSIDB Bzimport
Modified: 2025-07-04 19:01 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-07-04 14:02:47 UTC
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.

Comment 1 Mauro Matteo Cascella 2025-07-04 18:52:30 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025070418-CVE-2025-38202-bef0@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.