CVE-2024-38630: watchdog: cpu5wdt.c: Fix use-after-free bug caused by cpu5wdt_trigger
Vulnerability summary
CVE-2024-38630 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.25% chance of exploitation in the next 30 days, higher than 16.5% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 33 · Related 28Timeline
- 21-06-2024PublishedVulnerability first disclosed.
- 30-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.25%
Chance of exploitation in the next 30 days
Percentile
17%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.25% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu128 products
- linuxAll versions (No fix recorded) | < 4.4.0-260.294 | < 4.15.0-230.242 | < 5.4.0-198.218 | < 5.15.0-124.134 | < 6.8.0-44.44
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 4.4.0-1137.143 | < 4.4.0-1175.190 | < 4.15.0-1174.187 | < 5.4.0-1134.144 | < 5.15.0-1071.77 | < 6.8.0-1015.16
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 948ed659c0151a605bd126da1e95f350ec5a7956 | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9abe50e8492d1accd7d8dc17991179472d3d4573 | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 9b1c063ffc075abf56f63e55d70b9778ff534314 | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f19686d616500cd0d47b30cee82392b53f7f784a | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 573601521277119f2e2ba5f28ae6e87fc594f4d4 | 2.6.12
- linux_kernel≥ 3.8, < 6.6.33 | ≥ 6.7, < 6.9.4
Debian1 product
- linuxAll versions (No fix recorded) | < 6.9.7-1
3 vendors · 131 products