DEBIAN-CVE-2025-21889

Source
https://security-tracker.debian.org/tracker/CVE-2025-21889
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2025-21889.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2025-21889
Upstream
Published
2025-03-27T15:15:56Z
Modified
2025-09-19T06:21:00Z
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved: perf/core: Add RCU read lock protection to perfiteratectx() The perfiteratectx() function performs RCU list traversal but currently lacks RCU read lock protection. This causes lockdep warnings when running perf probe with unshare(1) under CONFIGPROVERCULIST=y: WARNING: suspicious RCU usage kernel/events/core.c:8168 RCU-list traversed in non-reader section!! Call Trace: lockdeprcususpicious ? perfeventaddrfiltersapply perfiteratectx perfeventexec beginnewexec ? loadelfphdrs loadelfbinary ? lockacquire ? findheldlock ? bprmexecve bprmexecve doexecveatcommon.isra.0 _x64sysexecve dosyscall64 entrySYSCALL64afterhwframe This protection was previously present but was removed in commit bd2756811766 ("perf: Rewrite core context handling"). Add back the necessary rcureadlock()/rcureadunlock() pair around perfiteratectx() call in perfeventexec(). [ mingo: Use scopedguard() as suggested by Peter ]

References

Affected packages

Debian:13 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.12.19-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:14 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.12.19-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}