{"id":"CVE-2022-48787","aliases":["CVE-2022-48787"],"related":[],"kind":"vulnerability","state":"published","title":"iwlwifi: fix use-after-free","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\niwlwifi: fix use-after-free\n\nIf no firmware was present at all (or, presumably, all of the\nfirmware files failed to parse), we end up unbinding by calling\ndevice_release_driver(), which calls remove(), which then in\niwlwifi calls iwl_drv_stop(), freeing the 'drv' struct. However\nthe new code I added will still erroneously access it after it\nwas freed.\n\nSet 'failure=false' in this case to avoid the access, all data\nwas already freed anyway.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\niwlwifi: fix use-after-free\n\nIf no firmware was present at all (or, presumably, all of the\nfirmware files failed to parse), we end up unbinding by calling\ndevice_release_driver(), which calls remove(), which then in\niwlwifi calls iwl_drv_stop(), freeing the 'drv' struct. However\nthe new code I added will still erroneously access it after it\nwas freed.\n\nSet 'failure=false' in this case to avoid the access, all data\nwas already freed anyway.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: iwlwifi: corrige el use-after-free Si no había ningún firmware presente (o, presumiblemente, no se pudieron analizar todos los archivos de firmware), terminamos desvinculándolo llamando a device_release_driver( ), que llama a remove(), que luego en iwlwifi llama a iwl_drv_stop(), liberando la estructura 'drv'. Sin embargo, el nuevo código que agregué seguirá accediendo erróneamente a él después de que se haya liberado. Establezca 'failure=false' en este caso para evitar el acceso; todos los datos ya se liberaron de todos modos.","source":"nvd"}],"published":"2024-07-16T11:43:44.349Z","modified":"2026-08-05T08:52:17.446Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"8e10749fa1a454c1e7214f36cec83241f5a36ef1","fixed":"d3b98fe36f8a06ce654049540773256ab59cb53d","status":"affected"},{"type":"git","introduced":"1d7cc54137a4f28506dc7beac235b240b08f4e59","fixed":"7d6475179b85a83186ccce59cdc359d4f07d0bcb","status":"affected"},{"type":"git","introduced":"0446cafa843e6db4982731c167e11c80d42be7e2","fixed":"494de920d98f125b099f27a2d274850750aff957","status":"affected"},{"type":"git","introduced":"febab6b60d61d13cd9f30a2991deea56df39567d","fixed":"008508c16af0087cda0394e1ac6f0493b01b6063","status":"affected"},{"type":"git","introduced":"e23f075d77987de4215c8e0696f28bcc707506f7","fixed":"ddd46059f7d99119b62d44c519df7a79f2e6a515","status":"affected"},{"type":"git","introduced":"6b5ad4bd0d78fef6bbe0ecdf96e09237c9c52cc1","fixed":"9958b9cbb22145295ee1ffaea0904c383da2c05d","status":"affected"},{"type":"git","introduced":"ab07506b0454bea606095951e19e72c282bfbb42","fixed":"bea2662e7818e15d7607d17d57912ac984275d94","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"4.14.263","fixed":"4.14.268","status":"affected"},{"type":"semver","introduced":"4.19.226","fixed":"4.19.231","status":"affected"},{"type":"semver","introduced":"5.4.174","fixed":"5.4.181","status":"affected"},{"type":"semver","introduced":"5.10.94","fixed":"5.10.102","status":"affected"},{"type":"semver","introduced":"5.15.17","fixed":"5.15.25","status":"affected"},{"type":"semver","introduced":"5.16.3","fixed":"5.16.11","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.14.263","fixed":"4.14.268"},{"status":"affected","introduced":"4.19.226","fixed":"4.19.231"},{"status":"affected","introduced":"5.4.174","fixed":"5.4.181"},{"status":"affected","introduced":"5.10.94","fixed":"5.10.102"},{"status":"affected","introduced":"5.15.17","fixed":"5.15.25"},{"status":"affected","introduced":"5.16.3","fixed":"5.16.11"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/d3b98fe36f8a06ce654049540773256ab59cb53d","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7d6475179b85a83186ccce59cdc359d4f07d0bcb","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/494de920d98f125b099f27a2d274850750aff957","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/008508c16af0087cda0394e1ac6f0493b01b6063","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ddd46059f7d99119b62d44c519df7a79f2e6a515","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9958b9cbb22145295ee1ffaea0904c383da2c05d","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bea2662e7818e15d7607d17d57912ac984275d94","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T16:59:49.027Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-48787","url":"https://www.cve.org/CVERecord?id=CVE-2022-48787","licence":"CVE Terms of Use","modified":"2026-08-05T08:52:17.446Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-48787","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48787","licence":"Public domain","modified":"2026-08-04T10:17:20.977Z"}],"updatedAt":"2026-11-25T22:58:19.882Z","epss":{"score":0.00244,"percentile":0.16766,"date":"2026-12-01T12:00:22.000Z"}}