wifi: rt2x00: avoid full teardown before work setup in probe (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.17 % · percentile 7 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: rt2x00: avoid full teardown before work setup in probe rt2x00lib_probe_dev() uses the full rt2x00lib_remove_dev() teardown for all probe failures. However, drv_data allocation and workqueue allocation can fail before intf_work, autowakeup_work and sleep_work have been initialized. Do not enter the full remove path until the probe has reached the point where those work items are set up. Return directly for drv_data allocation failure, and use a small early cleanup path for workqueue allocation failure. This issue was found by our static analysis tool and then confirmed by manual review of rt2x00lib_probe_dev() and rt2x00lib_remove_dev(). The early probe exits should not call a common teardown path that assumes the later work setup has already completed. A QEMU PoC forced alloc_ordered_workqueue() to fail before the work initializers are reached. The resulting fail path entered rt2x00lib_remove_dev(), and DEBUG_OBJECTS reported invalid work drains with rt2x00lib_probe_dev() and rt2x00lib_remove_dev() in the stack.
Weaknesses (CWE)
- CWE-404 — Improper Resource Shutdown or Release
References
- https://git.kernel.org/stable/c/8b58d1f1356df6a7d2de3f55bb665b18b04ffda0
- https://git.kernel.org/stable/c/59afe6148927395cf86f9429900e029a48b1d42b
- https://git.kernel.org/stable/c/3c0427d719bddb33caf18ff4ffb77cb47de7eb00
- https://git.kernel.org/stable/c/eb7474d0253bb2de4793e1d3ce833e8564bbe732
- https://git.kernel.org/stable/c/66bd9b1a72de7c2f5141b02d796048aafaed8a49
- https://git.kernel.org/stable/c/816559409e340acaa5c9d868291dab30d8c80263
- https://git.kernel.org/stable/c/56994852d704535ea354a4627ca667b1b4fa0deb
- https://git.kernel.org/stable/c/536fb3d739d75a03cb318c0c6fe799425cfea501
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
European references
- ENISA EUVD · EUVD-2026-59104
- GCVE · GCVE-0-2026-72005
CERT-FR advisories
- CERTFR-2026-AVI-1593 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1537 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1535 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1470 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1469 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1333 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1286 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 0439f5367c8d8bb2ebaca8d7329f51f3148b2fb2 < 8b58d1f1356df6a7d2de3f55bb665b18b04ffda0 affected : ≥ 0439f5367c8d8bb2ebaca8d7329f51f3148b2fb2 < 59afe6148927395cf86f9429900e029a48b1d42b affected : ≥ 0439f5367c8d8bb2ebaca8d7329f51f3148b2fb2 < 3c0427d719bddb33caf18ff4ffb77cb47de7eb00 affected : ≥ 0439f5367c8d8bb2ebaca8d7329f51f3148b2fb2 < eb7474d0253bb2de4793e1d3ce833e8564bbe732 affected : ≥ 0439f5367c8d8bb2ebaca8d7329f51f3148b2fb2 < 66bd9b1a72de7c2f5141b02d796048aafaed8a49 affected : ≥ 0439f5367c8d8bb2ebaca8d7329f51f3148b2fb2 < 816559409e340acaa5c9d868291dab30d8c80263 affected : ≥ 0439f5367c8d8bb2ebaca8d7329f51f3148b2fb2 < 56994852d704535ea354a4627ca667b1b4fa0deb affected : ≥ 0439f5367c8d8bb2ebaca8d7329f51f3148b2fb2 < 536fb3d739d75a03cb318c0c6fe799425cfea501 Other versions : unaffected |
| Linux · Linux | affected : 2.6.39 unaffected : ≥ 0 < 2.6.39 unaffected : ≥ 5.10.261 ≤ 5.10.* unaffected : ≥ 5.15.212 ≤ 5.15.* unaffected : ≥ 6.1.178 ≤ 6.1.* unaffected : ≥ 6.6.145 ≤ 6.6.* unaffected : ≥ 6.12.97 ≤ 6.12.* unaffected : ≥ 6.18.40 ≤ 6.18.* unaffected : ≥ 7.1.5 ≤ 7.1.* unaffected : ≥ 7.2 ≤ * Other versions : affected |
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 |