# CVE-2025-37845: tracing: fprobe events: Fix possible UAF on modules

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-05-09T06:41:54.022Z
- **Modified:** 2026-08-05T11:57:48.902Z

## Who should check

- Anyone running Linux \>= 71c9cf87776eaa556fc0a0a060df94200e1f521c, \< 868df4eb784c3ccc7e4340a9ea993cbbedca167e; \>= 9db2b8cf4ea07b579db588e0353d5680f5d1f071, \< a27d2de2472b1cc7d582ab405d1d5832a80481de; \>= ac91052f0ae5be9e46211ba92cc31c0e3b0a933a, \< 626f01f4d26e8cf92e69c1df53036153c8e98a20; \>= ac91052f0ae5be9e46211ba92cc31c0e3b0a933a, \< dd941507a9486252d6fcf11814387666792020f3; \>= 6.12.21, \< 6.12.24; \>= 6.13.9, \< 6.13.12
- Anyone running Linux 6.14

## 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.

## Affected and fixed versions

- Linux: \>= 71c9cf87776eaa556fc0a0a060df94200e1f521c, \< 868df4eb784c3ccc7e4340a9ea993cbbedca167e; \>= 9db2b8cf4ea07b579db588e0353d5680f5d1f071, \< a27d2de2472b1cc7d582ab405d1d5832a80481de; \>= ac91052f0ae5be9e46211ba92cc31c0e3b0a933a, \< 626f01f4d26e8cf92e69c1df53036153c8e98a20; \>= ac91052f0ae5be9e46211ba92cc31c0e3b0a933a, \< dd941507a9486252d6fcf11814387666792020f3; \>= 6.12.21, \< 6.12.24; \>= 6.13.9, \< 6.13.12 (cvelist)
- Linux: 6.14 (cvelist)

## Mitigation

- Upgrade Linux to 6.13.12 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-37845. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-37845.md
Affected: Linux >= 71c9cf87776eaa556fc0a0a060df94200e1f521c, < 868df4eb784c3ccc7e4340a9ea993cbbedca167e; >= 9db2b8cf4ea07b579db588e0353d5680f5d1f071, < a27d2de2472b1cc7d582ab405d1d5832a80481de; >= ac91052f0ae5be9e46211ba92cc31c0e3b0a933a, < 626f01f4d26e8cf92e69c1df53036153c8e98a20; >= ac91052f0ae5be9e46211ba…
Fixed in: Linux 868df4eb784c3ccc7e4340a9ea993cbbedca167e, Linux 626f01f4d26e8cf92e69c1df53036153c8e98a20, Linux 6.12.24, Linux 6.13.12

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-37845 being exploited?

There is no confirmed exploitation: CVE-2025-37845 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-37845?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-37845?

Linux \>= 71c9cf87776eaa556fc0a0a060df94200e1f521c, \< 868df4eb784c3ccc7e4340a9ea993cbbedca167e; \>= 9db2b8cf4ea07b579db588e0353d5680f5d1f071, \< a27d2de2472b1cc7d582ab405d1d5832a80481de; \>= ac91052f0ae5be9e46211ba92cc31c0e3b0a933a, \< 626f01f4d26e8cf92e69c1df53036153c8e98a20; \>= ac91052f0ae5be9e46211ba92cc31c0e3b0a933a, \< dd941507a9486252d6fcf11814387666792020f3; \>= 6.12.21, \< 6.12.24; \>= 6.13.9, \< 6.13.12; Linux 6.14.

### Is there a fix for CVE-2025-37845?

Yes. Fixed in Linux 868df4eb784c3ccc7e4340a9ea993cbbedca167e, Linux 626f01f4d26e8cf92e69c1df53036153c8e98a20, Linux 6.12.24, Linux 6.13.12. Upgrade Linux to 6.13.12 or later.

### How do I check if I'm affected by CVE-2025-37845?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/868df4eb784c3ccc7e4340a9ea993cbbedca167e>
- patch: <https://git.kernel.org/stable/c/a27d2de2472b1cc7d582ab405d1d5832a80481de>
- patch: <https://git.kernel.org/stable/c/626f01f4d26e8cf92e69c1df53036153c8e98a20>
- patch: <https://git.kernel.org/stable/c/dd941507a9486252d6fcf11814387666792020f3>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-37845>

HTML: <https://flawdb.com/CVE-2025-37845> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-37845>
