7.8high
watchdog: at91sam9_wdt: prevent timer rearm during teardown
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.13% (higher than 2% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 5161b31dc39a6d6dadc95f298de48a725b73ada8 before f96c18a766477e5f33d51697963a5c8aed260dae, from 5161b31dc39a6d6dadc95f298de48a725b73ada8 before a9e0efcb1125e6b452c648671f15920c4955b681, from 5161b31dc39a6d6dadc95f298de48a725b73ada8 before 1beb4dd6a30dea699e98990dd61f892ed1c0985e, from 5161b31dc39a6d6dadc95f298de48a725b73ada8 before 29fe74c9aa69d78c1c6a3930f1d9fc5db71a6eed, from 5161b31dc39a6d6dadc95f298de48a725b73ada8 before b7949b0a7d998013b7ec8617a0ef5b07cca80be4, from 5161b31dc39a6d6dadc95f298de48a725b73ada8 before 8444d66aa6b6e7fe0a26fa1a00a11cb4d0523783, 3.14 Not affected: before 3.14, from 6.1.191 up to 6.1.*, from 6.6.160 up to 6.6.*, from 6.12.114 up to 6.12.*, from 6.18.45 up to 6.18.*, from 7.1.9 up to 7.1.* | CVE List |
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: watchdog: at91sam9_wdt: prevenir el rearme del temporizador durante el desmontaje at91_ping() rearma el temporizador watchdog desde su callback. timer_delete() ni espera por un callback en ejecución ni le impide rearme el temporizador, por lo que un fallo de sondeo o la eliminación del controlador puede dejar el temporizador accediendo al at91wdt asignado por devm después de que haya sido liberado. Usar timer_shutdown_sync() en ambas rutas de desmontaje. Espera por un callback en ejecución y rechaza cualquier intento por parte del callback de rearme el temporizador.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-74687 changed 2026-10-30 | CVE Terms of Use |
| NVD | CVE-2026-74687 changed 2026-10-30 | Public domain |