CVE-2025-21889perf/core: Add RCU read lock protection to perf_iterate_ctx()
- 7.8HighCVSS base score
- 0.23%Exploitation in 30 daysEPSS · top 87% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: perf/core: Add RCU read lock protection to perf_iterate_ctx() The perf_iterate_ctx() function performs RCU list traversal but currently lacks RCU read lock protection. This causes lockdep warnings when running perf probe with unshare(1) under CONFIG_PROVE_RCU_LIST=y: WARNING: suspicious RCU usage kernel/events/core.c:8168 RCU-list traversed in non-reader section!! Call Trace: lockdep_rcu_suspicious ? perf_event_addr_filters_apply perf_iterate_ctx perf_event_exec begin_new_exec ? load_elf_phdrs load_elf_binary ? lock_acquire ? find_held_lock ? bprm_execve bprm_execve do_execveat_common.isra.0 __x64_sys_execve do_syscall_64 entry_SYSCALL_64_after_hwframe This protection was previously present but was removed in commit bd2756811766 ("perf: Rewrite core context handling"). Add back the necessary rcu_read_lock()/rcu_read_unlock() pair around perf_iterate_ctx() call in perf_event_exec(). [ mingo: Use scoped_guard() as suggested by Peter ]
Timeline
ID reserved
By Linux
- 3 months later
· 3 months later
Published
- 19 months later
· 19 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.23% · top 87% of all CVEs (15 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
- affected bd27568117664b8b3e259721393df420ed51f57b – < f390c2eea571945f357a2d3b9fcb1c015767132e
- affected bd27568117664b8b3e259721393df420ed51f57b – < a2475ccad6120546ea45dbcd6cd1f74dc565ef6b
- affected bd27568117664b8b3e259721393df420ed51f57b – < dd536566dda9a551fc2a2acfab5313a5bb13ed02
- affected bd27568117664b8b3e259721393df420ed51f57b – < 0fe8813baf4b2e865d3b2c735ce1a15b86002c74
- affected 6.2
- unaffected < 6.2
- unaffected 6.6.81 – ≤ 6.6.*
- unaffected 6.12.18 – ≤ 6.12.*
- unaffected 6.13.6 – ≤ 6.13.*
- unaffected 6.14 – ≤ *
References
References4
- https://git.kernel.org/stable/c/f390c2eea571945f357a2d3b9fcb1c015767132e (opens in a new tab)
- https://git.kernel.org/stable/c/a2475ccad6120546ea45dbcd6cd1f74dc565ef6b (opens in a new tab)
- https://git.kernel.org/stable/c/dd536566dda9a551fc2a2acfab5313a5bb13ed02 (opens in a new tab)
- https://git.kernel.org/stable/c/0fe8813baf4b2e865d3b2c735ce1a15b86002c74 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-8473 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-21889)Record last updated .