We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-38202

bpf: Check rcu_read_lock_trace_held() in bpf_map_lookup_percpu_elem()



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.

Reserved 2025-04-16 | Published 2025-07-04 | Updated 2025-07-04 | Assigner Linux

Product status

Default status
unaffected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2f8c69a72e8ad87b36b8052f789da3cc2b2e186c
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 7bf4461f1c97207fda757014690d55a447ce859f
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 2d834477bbc1e8b8a59ff8b0c081529d6bed7b22
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before b522d4d334f206284b1a44b0b0b2f99fd443b39b
affected

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before d4965578267e2e81f67c86e2608481e77e9c8569
affected

Default status
affected

6.1.142
unaffected

6.6.95
unaffected

6.12.35
unaffected

6.15.4
unaffected

6.16-rc1
unaffected

References

git.kernel.org/...c/2f8c69a72e8ad87b36b8052f789da3cc2b2e186c

git.kernel.org/...c/7bf4461f1c97207fda757014690d55a447ce859f

git.kernel.org/...c/2d834477bbc1e8b8a59ff8b0c081529d6bed7b22

git.kernel.org/...c/b522d4d334f206284b1a44b0b0b2f99fd443b39b

git.kernel.org/...c/d4965578267e2e81f67c86e2608481e77e9c8569

cve.org (CVE-2025-38202)

nvd.nist.gov (CVE-2025-38202)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-38202

Support options

Helpdesk Chat, Email, Knowledgebase