# CVE-2025-38202: bpf: Check rcu_read_lock_trace_held() in bpf_map_lookup_percpu_elem()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2025-07-04T13:37:23.347Z
- Modified: 2026-11-05T21:18:21.423Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 07343110b293456d30393e89b86c4dee1ac051c8 before 2f8c69a72e8ad87b36b8052f789da3cc2b2e186c; from 07343110b293456d30393e89b86c4dee1ac051c8 before 7bf4461f1c97207fda757014690d55a447ce859f; from 07343110b293456d30393e89b86c4dee1ac051c8 before 2d834477bbc1e8b8a59ff8b0c081529d6bed7b22; from 07343110b293456d30393e89b86c4dee1ac051c8 before b522d4d334f206284b1a44b0b0b2f99fd443b39b; from 07343110b293456d30393e89b86c4dee1ac051c8 before d4965578267e2e81f67c86e2608481e77e9c8569; 5.19 (not affected: before 5.19; from 6.1.142 up to 6.1.*; from 6.6.95 up to 6.6.*; from 6.12.35 up to 6.12.*; from 6.15.4 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 5.19 before 6.1.142; from 6.2 before 6.6.95; from 6.7 before 6.12.35; from 6.13 before 6.15.4
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/2f8c69a72e8ad87b36b8052f789da3cc2b2e186c> (patch)
- <https://git.kernel.org/stable/c/7bf4461f1c97207fda757014690d55a447ce859f> (patch)
- <https://git.kernel.org/stable/c/2d834477bbc1e8b8a59ff8b0c081529d6bed7b22> (patch)
- <https://git.kernel.org/stable/c/b522d4d334f206284b1a44b0b0b2f99fd443b39b> (patch)
- <https://git.kernel.org/stable/c/d4965578267e2e81f67c86e2608481e77e9c8569> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2025-38202](https://www.cve.org/CVERecord?id=CVE-2025-38202), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2025-38202](https://nvd.nist.gov/vuln/detail/CVE-2025-38202), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-38202 · Whole record: https://cve.day/CVE-2025-38202.json · Rebuilt by cve.day 2026-11-25T22:59:00.640Z
