{"id":"CVE-2022-48787","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2024-07-16T12:15:03.633","lastModified":"2026-08-04T10:17:20.977","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/net/wireless/intel/iwlwifi/iwl-drv.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"8e10749fa1a454c1e7214f36cec83241f5a36ef1","lessThan":"d3b98fe36f8a06ce654049540773256ab59cb53d","versionType":"git","status":"affected"},{"version":"1d7cc54137a4f28506dc7beac235b240b08f4e59","lessThan":"7d6475179b85a83186ccce59cdc359d4f07d0bcb","versionType":"git","status":"affected"},{"version":"0446cafa843e6db4982731c167e11c80d42be7e2","lessThan":"494de920d98f125b099f27a2d274850750aff957","versionType":"git","status":"affected"},{"version":"febab6b60d61d13cd9f30a2991deea56df39567d","lessThan":"008508c16af0087cda0394e1ac6f0493b01b6063","versionType":"git","status":"affected"},{"version":"e23f075d77987de4215c8e0696f28bcc707506f7","lessThan":"ddd46059f7d99119b62d44c519df7a79f2e6a515","versionType":"git","status":"affected"},{"version":"6b5ad4bd0d78fef6bbe0ecdf96e09237c9c52cc1","lessThan":"9958b9cbb22145295ee1ffaea0904c383da2c05d","versionType":"git","status":"affected"},{"version":"ab07506b0454bea606095951e19e72c282bfbb42","lessThan":"bea2662e7818e15d7607d17d57912ac984275d94","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/net/wireless/intel/iwlwifi/iwl-drv.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"4.14.263","lessThan":"4.14.268","versionType":"semver","status":"affected"},{"version":"4.19.226","lessThan":"4.19.231","versionType":"semver","status":"affected"},{"version":"5.4.174","lessThan":"5.4.181","versionType":"semver","status":"affected"},{"version":"5.10.94","lessThan":"5.10.102","versionType":"semver","status":"affected"},{"version":"5.15.17","lessThan":"5.15.25","versionType":"semver","status":"affected"},{"version":"5.16.3","lessThan":"5.16.11","versionType":"semver","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2024-09-10T16:59:49.027467Z","id":"CVE-2022-48787","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-416"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14.263","versionEndExcluding":"4.14.268","matchCriteriaId":"D2BAC08D-1DF8-456A-A334-81FA58E954F0"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19.226","versionEndExcluding":"4.19.231","matchCriteriaId":"97E335CA-D0B4-4E7E-95AE-31F09C68F24A"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4.174","versionEndExcluding":"5.4.181","matchCriteriaId":"7C87A014-0685-4F19-AFB4-92D70C2F5E86"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10.94","versionEndExcluding":"5.10.102","matchCriteriaId":"2F8484B5-4C78-484C-B905-1049FCB1A0A4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15.17","versionEndExcluding":"5.15.25","matchCriteriaId":"AFF9E8A8-A352-42D0-97A3-8EA0F1086775"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16.3","versionEndExcluding":"5.16.11","matchCriteriaId":"85541B15-F4B0-4090-99DA-98AF1312A8B6"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/008508c16af0087cda0394e1ac6f0493b01b6063","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/494de920d98f125b099f27a2d274850750aff957","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/7d6475179b85a83186ccce59cdc359d4f07d0bcb","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/9958b9cbb22145295ee1ffaea0904c383da2c05d","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/bea2662e7818e15d7607d17d57912ac984275d94","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/d3b98fe36f8a06ce654049540773256ab59cb53d","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/ddd46059f7d99119b62d44c519df7a79f2e6a515","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/008508c16af0087cda0394e1ac6f0493b01b6063","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/494de920d98f125b099f27a2d274850750aff957","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/7d6475179b85a83186ccce59cdc359d4f07d0bcb","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/9958b9cbb22145295ee1ffaea0904c383da2c05d","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/bea2662e7818e15d7607d17d57912ac984275d94","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/d3b98fe36f8a06ce654049540773256ab59cb53d","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/ddd46059f7d99119b62d44c519df7a79f2e6a515","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]}]}