CVE-2025-37845

HIGH

Linux Kernel 6.12.21-6.12.23, 6.13.0-6.13.11, 6.14.0-6.14.2 - Use-After-Free in fprobe Events Module Handling

Title source: llm
STIX 2.1

Description

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.

Scores

CVSS v3 7.8
EPSS 0.0024
EPSS Percentile 14.8%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-416
Status published
Products (18)
linux/Kernel < 6.12.24linux
linux/Kernel 6.13.0 - 6.13.12linux
linux/Kernel 6.14.0 - 6.14.3linux
Linux/Linux < 6.14
Linux/Linux 6.12.21 - 6.12.24
Linux/Linux 6.12.24 - 6.12.*
Linux/Linux 6.13.12 - 6.13.*
Linux/Linux 6.13.9 - 6.13.12
Linux/Linux 6.14
Linux/Linux 6.14.3 - 6.14.*
... and 8 more
Published May 09, 2025
Tracked Since Feb 18, 2026