Linux
watchdog: at91sam9_wdt: prevent timer rearm during teardown
In the Linux kernel, the following vulnerability has been resolved: watchdog: at91sam9_wdt: prevent timer rearm during teardown at91_ping() rearms the watchdog timer from its callback. timer_delete() neither waits for a running callback nor prevents it from rearming the timer, so probe failure or driver removal can leave the timer accessing the devm-allocated at91wdt after it has been freed. Use timer_shutdown_sync() on both teardown paths. It waits for a running callback and rejects any attempt by the callback to rearm the timer.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 5161b31dc39a6d6dadc95f298de48a725b73ada8, < f96c18a766477e5f33d51697963a5c8aed260dae
- >= 5161b31dc39a6d6dadc95f298de48a725b73ada8, < a9e0efcb1125e6b452c648671f15920c4955b681
- >= 5161b31dc39a6d6dadc95f298de48a725b73ada8, < 1beb4dd6a30dea699e98990dd61f892ed1c0985e
- >= 5161b31dc39a6d6dadc95f298de48a725b73ada8, < 29fe74c9aa69d78c1c6a3930f1d9fc5db71a6eed
- >= 5161b31dc39a6d6dadc95f298de48a725b73ada8, < b7949b0a7d998013b7ec8617a0ef5b07cca80be4
- >= 5161b31dc39a6d6dadc95f298de48a725b73ada8, < 8444d66aa6b6e7fe0a26fa1a00a11cb4d0523783
Fixed in f96c18a766477e5f33d51697963a5c8aed260dae, a9e0efcb1125e6b452c648671f15920c4955b681, 1beb4dd6a30dea699e98990dd61f892ed1c0985e, 29fe74c9aa69d78c1c6a3930f1d9fc5db71a6eed, b7949b0a7d998013b7ec8617a0ef5b07cca80be4, 8444d66aa6b6e7fe0a26fa1a00a11cb4d0523783
- 3.14
Fixed in 0, 6.1.191, 6.6.160, 6.12.114, 6.18.45, 7.1.9, 7.2
Mitigation
Upgrade Linux to f96c18a766477e5f33d51697963a5c8aed260dae or a9e0efcb1125e6b452c648671f15920c4955b681 or 1beb4dd6a30dea699e98990dd61f892ed1c0985e or 29fe74c9aa69d78c1c6a3930f1d9fc5db71a6eed or b7949b0a7d998013b7ec8617a0ef5b07cca80be4 or 8444d66aa6b6e7fe0a26fa1a00a11cb4d0523783 or later.
Upgrade Linux to 0 or 6.1.191 or 6.6.160 or 6.12.114 or 6.18.45 or 7.1.9 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.