CVE-2025-37845
tracing: fprobe events: Fix possible UAF on modules
Check your servers for CVE-2025-37845
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-37845 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.27%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 20.9% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 71c9cf87776eaa556fc0a0a060df94200e1f521c, before 868df4eb784c3ccc7e4340a9ea993cbbedca167e affected from 9db2b8cf4ea07b579db588e0353d5680f5d1f071, before a27d2de2472b1cc7d582ab405d1d5832a80481de affected from ac91052f0ae5be9e46211ba92cc31c0e3b0a933a, before 626f01f4d26e8cf92e69c1df53036153c8e98a20 affected from ac91052f0ae5be9e46211ba92cc31c0e3b0a933a, before dd941507a9486252d6fcf11814387666792020f3 affected from 6.12.21, before 6.12.24 affected from 6.13.9, before 6.13.12
Other versions: unaffected
|
| Linux |
affected 6.14 unaffected before 6.14 unaffected from 6.12.24 up to and including 6.12.* unaffected from 6.13.12 up to and including 6.13.* unaffected from 6.14.3 up to and including 6.14.* unaffected 6.15 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-37845 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-37845
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-37845
trivy image --scanners vuln IMAGE | grep CVE-2025-37845
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/868df4eb784c3ccc7e4340a9ea993cbbedca167e git.kernel.org
- https://git.kernel.org/stable/c/a27d2de2472b1cc7d582ab405d1d5832a80481de git.kernel.org
- https://git.kernel.org/stable/c/626f01f4d26e8cf92e69c1df53036153c8e98a20 git.kernel.org
- https://git.kernel.org/stable/c/dd941507a9486252d6fcf11814387666792020f3 git.kernel.org
Source: the record CVE-2025-37845 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse