CVE-2024-38630: watchdog: cpu5wdt.c: Fix use-after-free bug caused by cpu5wdt_trigger

Published Jun 21, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

watchdog: cpu5wdt.c: Fix use-after-free bug caused by cpu5wdttrigger

When the cpu5wdt module is removing, the origin code uses deltimer() to de-activate the timer. If the timer handler is running, deltimer() could not stop it and will return directly. If the port region is released by releaseregion() and then the timer handler cpu5wdttrigger() calls outb() to write into the region that is released, the use-after-free bug will happen.

Change deltimer() to timershutdownsync() in order that the timer handler could be finished before the port region is released.

Affected Software

3 affected componentsFixes available
Linux Linux kernel>=3.8<6.6.33
Linux Linux kernel>=6.7<6.9.4
debian/linux<=5.10.223-1, <=5.10.234-1, <=6.1.129-1, <=6.1.135-1
6.12.27-1

Event History

Jun 21, 2024
CVE Published
via MITRE·10:18 AM
Data Sourced
via MITRE·10:18 AM
Description
Sep 11, 2024
Data Sourced
via Launchpad·04:24 PM
Description
Apr 27, 2025
Data Sourced
via Ubuntu·05:19 PM
RemedyDescriptionSeverityAffected Software
May 13, 2025
Data Sourced
via Debian·05:24 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-38630?

CVE-2024-38630 is categorized as a high severity vulnerability due to the potential for a use-after-free condition in the Linux kernel.

2

How do I fix CVE-2024-38630?

To address CVE-2024-38630, you should upgrade to the patched versions of the Linux kernel which include 6.12.10-1 or 6.12.11-1.

3

Which systems are affected by CVE-2024-38630?

CVE-2024-38630 affects specific versions of the Linux kernel between 3.8 and 6.6.33, as well as between 6.7 and 6.9.4.

4

What are the potential impacts of CVE-2024-38630?

Exploitation of CVE-2024-38630 could lead to crashes or execution of arbitrary code due to the use-after-free vulnerability.

5

Is CVE-2024-38630 already resolved?

Yes, CVE-2024-38630 has been resolved with patches provided in the newer versions of the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203