watchdog: Fix possible use-after-free in wdt_startup() (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 1.16 % · centile 67 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Statut NVD
- Analyzed
Rechercher sur…
Description
In the Linux kernel, the following vulnerability has been resolved: watchdog: Fix possible use-after-free in wdt_startup() This module's remove path calls del_timer(). However, that function does not wait until the timer handler finishes. This means that the timer handler may still be running after the driver's remove function has finished, which would result in a use-after-free. Fix by calling del_timer_sync(), which makes sure the timer handler has finished, and unable to re-schedule itself.
Faiblesses (CWE)
- CWE-416 — Utilisation après libération
Références
- https://git.kernel.org/stable/c/63a3dc24bd053792f84cb4eef0168b1266202a02
- https://git.kernel.org/stable/c/862f2b5a7c38762ac9e369daefbf361a91aca685
- https://git.kernel.org/stable/c/0ac50a76cf3cd63db000648b3b19f3f98b8aaa76
- https://git.kernel.org/stable/c/dc9403097be52d57a5c9c35efa9be79d166a78af
- https://git.kernel.org/stable/c/146cc288fb80c662c9c35e7bc58325d1ac0a7875
- https://git.kernel.org/stable/c/a397cb4576fc2fc802562418b3a50b8f67d60d31
- https://git.kernel.org/stable/c/b4ebf4a4692e84163a69444c70ad515de06e2259
- https://git.kernel.org/stable/c/8adbbe6c86bb13e14f8a19e036ae5f4f5661fd90
- https://git.kernel.org/stable/c/c08a6b31e4917034f0ed0cb457c3bb209576f542
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
| CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) |
Références européennes
- ENISA EUVD · EUVD-2021-34329
- GCVE · GCVE-0-2021-47324
Avis du CERT-FR
- CERTFR-2024-AVI-0526 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0496 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Configurations affectées (CPE NVD)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*< 4.4.276cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.5 < 4.9.276cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.10 < 4.14.240cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.15 < 4.19.198cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.20 < 5.4.134cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.5 < 5.10.52cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.12.19cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.13 < 5.13.4
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 63a3dc24bd053792f84cb4eef0168b1266202a02 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 862f2b5a7c38762ac9e369daefbf361a91aca685 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 0ac50a76cf3cd63db000648b3b19f3f98b8aaa76 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < dc9403097be52d57a5c9c35efa9be79d166a78af ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 146cc288fb80c662c9c35e7bc58325d1ac0a7875 ; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < a397cb4576fc2fc802562418b3a50b8f67d60d31 |
| Linux · Linux | affected 2.6.12 ; unaffected 0 < 2.6.12 ; unaffected 4.4.276 ≤ 4.4.* ; unaffected 4.9.276 ≤ 4.9.* ; unaffected 4.14.240 ≤ 4.14.* ; unaffected 4.19.198 ≤ 4.19.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |