CVE-2025-37845

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-37845
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37845.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-37845
Downstream
Published
2025-05-09T07:16:05Z
Modified
2025-05-12T17:32:52Z
Summary
[none]
Details

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

tracing: fprobe events: Fix possible UAF on modules

Commit ac91052f0ae5 ("tracing: tprobe-events: Fix leakage of module refcount") moved trymoduleget() from _findtracepointmodulecb() to findtracepoint() caller, but that introduced a possible UAF because the module can be unloaded before trymoduleget(). In this case, the module object should be freed too. Thus, trymodule_get() does not only fail but may access to the freed object.

To avoid that, trymoduleget() in _findtracepointmodulecb() again.

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.25-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}