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

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 15% of CVEs (2026-11-30)
- Published: 2025-05-09T06:41:54.022Z
- Modified: 2026-08-05T11:57:48.902Z
- Weaknesses: CWE-416
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 71c9cf87776eaa556fc0a0a060df94200e1f521c before 868df4eb784c3ccc7e4340a9ea993cbbedca167e; from 9db2b8cf4ea07b579db588e0353d5680f5d1f071 before a27d2de2472b1cc7d582ab405d1d5832a80481de; from ac91052f0ae5be9e46211ba92cc31c0e3b0a933a before 626f01f4d26e8cf92e69c1df53036153c8e98a20; from ac91052f0ae5be9e46211ba92cc31c0e3b0a933a before dd941507a9486252d6fcf11814387666792020f3; from 6.12.21 before 6.12.24; from 6.13.9 before 6.13.12; 6.14 (not affected: before 6.14; from 6.12.24 up to 6.12.*; from 6.13.12 up to 6.13.*; from 6.14.3 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: from 6.12.21 before 6.12.24; from 6.13.9 before 6.13.12; from 6.14.1 before 6.14.3; 6.14; 6.15

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <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> (patch)

## Sources

- CVE List: [CVE-2025-37845](https://www.cve.org/CVERecord?id=CVE-2025-37845), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-37845](https://nvd.nist.gov/vuln/detail/CVE-2025-37845), Public domain, modified 2026-07-30

---

Page: https://cve.day/CVE-2025-37845 · Whole record: https://cve.day/CVE-2025-37845.json · Rebuilt by cve.day 2026-11-25T22:58:57.845Z
