CVE-2024-46845
Last modified
CVE-2024-46845 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: tracing/timerlat: Only clear timer if a kthread exists The timerlat tracer can use user space threads to check for osnoise and timer latency. If the program using this is killed via a SIGTERM, the threads are shutdown one at a time and another tracing instance can start up resetting the threads before they are fully closed. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: tracing/timerlat: Only clear timer if a kthread exists The timerlat tracer can use user space threads to check for osnoise and timer latency. If the program using this is killed via a SIGTERM, the threads are shutdown one at a time and another tracing instance can start up resetting the threads before they are fully closed. That causes the hrtimer assigned to the kthread to be shutdown and freed twice when the dying thread finally closes the file descriptors, causing a use-after-free bug. Only cancel the hrtimer if the associated thread is still around. Also add the interface_lock around the resetting of the tlat_var->kthread. Note, this is just a quick fix that can be backported to stable. A real fix is to have a better synchronization between the shutdown of old threads and the starting of new ones.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 6.5, < 6.6.51 | — |
| Linux | Linux Kernel | >= 6.7, < 6.10.10 | — |
| Linux | Linux Kernel | 6.11 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-46845?
How severe is CVE-2024-46845?
How do I fix CVE-2024-46845?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-4684A vulnerability was found in Campcodes Complete Web-Based Sc…6.1
- CVE-2024-46840In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-46841In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-46842In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-46843In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-46844In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-46846In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-46847In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-46848In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-46849In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2024-4685A vulnerability was found in Campcodes Complete Web-Based Sc…6.1
- CVE-2024-46850In the Linux kernel, the following vulnerability has been re…4.7
Are you affected by CVE-2024-46845?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
