- Home
- Vulnerabilities
- CVE-2025-38202
CVE-2025-38202
bpf: Check rcu_read_lock_trace_held() in bpf_map_lookup_percpu_elem()
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))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| 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))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| 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
- — CVE published (cve)
References
- https://git.kernel.org/stable/c/2d834477bbc1e8b8a59ff8b0c081529d6bed7b22Patch
- https://git.kernel.org/stable/c/2f8c69a72e8ad87b36b8052f789da3cc2b2e186cPatch
- https://git.kernel.org/stable/c/7bf4461f1c97207fda757014690d55a447ce859fPatch
- https://git.kernel.org/stable/c/b522d4d334f206284b1a44b0b0b2f99fd443b39bPatch
- https://git.kernel.org/stable/c/d4965578267e2e81f67c86e2608481e77e9c8569Patch
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.htmlMailing List, Third Party Advisory
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é