iwlwifi: fix use-after-free (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.24 % · percentile 16 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: iwlwifi: fix use-after-free If no firmware was present at all (or, presumably, all of the firmware files failed to parse), we end up unbinding by calling device_release_driver(), which calls remove(), which then in iwlwifi calls iwl_drv_stop(), freeing the 'drv' struct. However the new code I added will still erroneously access it after it was freed. Set 'failure=false' in this case to avoid the access, all data was already freed anyway.
Weaknesses (CWE)
- CWE-416 — Use After Free
References
- https://git.kernel.org/stable/c/d3b98fe36f8a06ce654049540773256ab59cb53d
- https://git.kernel.org/stable/c/7d6475179b85a83186ccce59cdc359d4f07d0bcb
- https://git.kernel.org/stable/c/494de920d98f125b099f27a2d274850750aff957
- https://git.kernel.org/stable/c/008508c16af0087cda0394e1ac6f0493b01b6063
- https://git.kernel.org/stable/c/ddd46059f7d99119b62d44c519df7a79f2e6a515
- https://git.kernel.org/stable/c/9958b9cbb22145295ee1ffaea0904c383da2c05d
- https://git.kernel.org/stable/c/bea2662e7818e15d7607d17d57912ac984275d94
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) |
| 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 · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2022-53666
- GCVE · GCVE-0-2022-48787
CERT-FR advisories
- CERTFR-2025-AVI-1057 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0800 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0779 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0717 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0693 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.14.263 < 4.14.268cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 4.19.226 < 4.19.231cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.4.174 < 5.4.181cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.10.94 < 5.10.102cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.15.17 < 5.15.25cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.16.3 < 5.16.11
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 8e10749fa1a454c1e7214f36cec83241f5a36ef1 < d3b98fe36f8a06ce654049540773256ab59cb53d ; affected 1d7cc54137a4f28506dc7beac235b240b08f4e59 < 7d6475179b85a83186ccce59cdc359d4f07d0bcb ; affected 0446cafa843e6db4982731c167e11c80d42be7e2 < 494de920d98f125b099f27a2d274850750aff957 ; affected febab6b60d61d13cd9f30a2991deea56df39567d < 008508c16af0087cda0394e1ac6f0493b01b6063 ; affected e23f075d77987de4215c8e0696f28bcc707506f7 < ddd46059f7d99119b62d44c519df7a79f2e6a515 ; affected 6b5ad4bd0d78fef6bbe0ecdf96e09237c9c52cc1 < 9958b9cbb22145295ee1ffaea0904c383da2c05d |
| Linux · Linux | affected 4.14.263 < 4.14.268 ; affected 4.19.226 < 4.19.231 ; affected 5.4.174 < 5.4.181 ; affected 5.10.94 < 5.10.102 ; affected 5.15.17 < 5.15.25 ; affected 5.16.3 < 5.16.11 |
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 |