CVE Catalog

CVE-2025-37845

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.26%

18th percentile - higher than 18% of all known CVEs

Summary

In the Linux kernel, a use-after-free (UAF) vulnerability was found in the fprobe tracing mechanism. A previous fix moved try_module_get() outside the lock, allowing a module to be unloaded before the reference count is incremented, leading to access to a freed object.

Risk Assessment

The organization is at risk of memory corruption (UAF) during fprobe event tracing, potentially leading to system crashes or arbitrary code execution.

Recommendation

Update the Linux kernel to a version containing the fix that restores try_module_get() inside __find_tracepoint_module_cb() to prevent module unloading before protection.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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 try_module_get() from __find_tracepoint_module_cb() to find_tracepoint() caller, but that introduced a possible UAF because the module can be unloaded before try_module_get(). In this case, the module object should be freed too. Thus, try_module_get() does not only fail but may access to the freed object. To avoid that, try_module_get() in __find_tracepoint_module_cb() again.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS