CVE-2025-38202

published 4 Jul 2025 · updated 7 Nov 2026

bpf: Check rcu_read_lock_trace_held() in bpf_map_lookup_percpu_elem()

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2d834477bbc1e8b8a59ff8b0c081529d6bed7b22, Kernel 6.1.142, Kernel 6.15.4 and 6 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=07343110b293456d30393e89b86c4dee1ac051c8 <2d834477bbc1e8b8a59ff8b0c081529d6bed7b22, >=5.19 <6.1.142, >=6.13 <6.15.4, >=6.2 <6.6.95, >=6.7 <6.12.35, >=07343110b293456d30393e89b86c4dee1ac051c8 <d4965578267e2e81f67c86e2608481e77e9c8569, >=07343110b293456d30393e89b86c4dee1ac051c8 <b522d4d334f206284b1a44b0b0b2f99fd443b39b, >=07343110b293456d30393e89b86c4dee1ac051c8 <7bf4461f1c97207fda757014690d55a447ce859f, >=07343110b293456d30393e89b86c4dee1ac051c8 <2f8c69a72e8ad87b36b8052f789da3cc2b2e186c, =5.192d834477bbc1e8b8a59ff8b0c081529d6bed7b22, 6.1.142, 6.15.4, 6.6.95, 6.12.35, d4965578267e2e81f67c86e2608481e77e9c8569, b522d4d334f206284b1a44b0b0b2f99fd443b39b, 7bf4461f1c97207fda757014690d55a447ce859f, 2f8c69a72e8ad87b36b8052f789da3cc2b2e186c
debiandebian_linux=11.0
linux-kernel: Kernel>=6.7.0 <6.12.35, >=6.2.0 <6.6.95, >=6.13.0 <6.15.4, >=5.19.0 <6.1.1426.12.35, 6.6.95, 6.15.4, 6.1.142

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38202 severity on Zeptric[![CVE-2025-38202](https://zeptric.io/badge/cve/CVE-2025-38202.svg)](https://zeptric.io/cve/CVE-2025-38202)