CVE-2025-37884

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-37884
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-37884.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-37884
Downstream
Related
Published
2025-05-09T07:16:09Z
Modified
2025-08-09T20:01:26Z
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

bpf: Fix deadlock between rcutaskstrace and event_mutex.

Fix the following deadlock: CPU A freeevent() perfkprobedestroy() mutexlock(&eventmutex) perftraceeventunreg() synchronizercutaskstrace()

There are several paths where freeevent() grabs eventmutex and calls syncrcutaskstrace. Above is one such case.

CPU B bpfprogtestrunsyscall() rcureadlocktrace() bpfprogrunpinoncpu() bpfprogload() bpftracingfuncproto() tracesetclrevent() mutexlock(&eventmutex)

Delegate tracesetclr_event() to workqueue to avoid such lock dependency.

References

Affected packages