{"id":"CVE-2025-37845","summary":"tracing: fprobe events: Fix possible UAF on modules","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ntracing: fprobe events: Fix possible UAF on modules\n\nCommit ac91052f0ae5 (\"tracing: tprobe-events: Fix leakage of module\nrefcount\") moved try_module_get() from __find_tracepoint_module_cb()\nto find_tracepoint() caller, but that introduced a possible UAF\nbecause the module can be unloaded before try_module_get(). In this\ncase, the module object should be freed too. Thus, try_module_get()\ndoes not only fail but may access to the freed object.\n\nTo avoid that, try_module_get() in __find_tracepoint_module_cb()\nagain.","modified":"2026-04-02T12:47:33.101555Z","published":"2025-05-09T06:41:54.022Z","related":["SUSE-SU-2026:20555-1","SUSE-SU-2026:20599-1","SUSE-SU-2026:20615-1","openSUSE-SU-2026:20287-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37845.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/626f01f4d26e8cf92e69c1df53036153c8e98a20"},{"type":"WEB","url":"https://git.kernel.org/stable/c/868df4eb784c3ccc7e4340a9ea993cbbedca167e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a27d2de2472b1cc7d582ab405d1d5832a80481de"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dd941507a9486252d6fcf11814387666792020f3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37845.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37845"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"71c9cf87776eaa556fc0a0a060df94200e1f521c"},{"fixed":"868df4eb784c3ccc7e4340a9ea993cbbedca167e"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"9db2b8cf4ea07b579db588e0353d5680f5d1f071"},{"fixed":"a27d2de2472b1cc7d582ab405d1d5832a80481de"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ac91052f0ae5be9e46211ba92cc31c0e3b0a933a"},{"fixed":"626f01f4d26e8cf92e69c1df53036153c8e98a20"},{"fixed":"dd941507a9486252d6fcf11814387666792020f3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37845.json"}}],"schema_version":"1.7.5"}