CVE-2024-38630 Details
Description
In the Linux kernel, the following vulnerability has been resolved: watchdog: cpu5wdt.c: Fix use-after-free bug caused by cpu5wdt_trigger When the cpu5wdt module is removing, the origin code uses del_timer() to de-activate the timer. If the timer handler is running, del_timer() could not stop it and will return directly. If the port region is released by release_region() and then the timer handler cpu5wdt_trigger() calls outb() to write into the region that is released, the use-after-free bug will happen. Change del_timer() to timer_shutdown_sync() in order that the timer handler could be finished before the port region is released.
A use-after-free vulnerability has been identified in the Linux kernel's watchdog subsystem, specifically within the CPU5 watchdog timer module (cpu5wdt). This issue arises when the module is being removed. The original code deactivates the timer using del_timer(). However, if the timer handler is currently executing, del_timer() cannot stop it and will return immediately. If the port region is then released and the timer handler writes to the now-freed region, a use-after-free condition occurs. The vulnerability affects several versions of the Linux kernel.
Users can update to the latest version of the Linux kernel where this vulnerability has been patched. The specific commit addressing this issue is 573601521277119f2e2ba5f28ae6e87fc594f4d4.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 10, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 3.8, < 6.6.33 >= 6.7, < 6.9.4 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 30, 2026 | CVE Modified | CVE |
| Oct 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| Sep 9, 2024 | Initial Analysis | [email protected] |
| Jun 21, 2024 | New CVE Received | kernel.org |