{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-48787","id":"CVE-2022-48787","title":"iwlwifi: fix use-after-free","description":"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 ","descriptionLong":"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.","published":"2024-07-16T11:43:44.349Z","updated":"2026-10-28T02:31:13.244718426Z","reserved":"2024-07-16T11:38:08.891Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8e10749fa1a454c1e7214f36cec83241f5a36ef1","lessThan":"d3b98fe36f8a06ce654049540773256ab59cb53d","status":"affected","versionType":"git"},{"version":"1d7cc54137a4f28506dc7beac235b240b08f4e59","lessThan":"7d6475179b85a83186ccce59cdc359d4f07d0bcb","status":"affected","versionType":"git"},{"version":"0446cafa843e6db4982731c167e11c80d42be7e2","lessThan":"494de920d98f125b099f27a2d274850750aff957","status":"affected","versionType":"git"},{"version":"febab6b60d61d13cd9f30a2991deea56df39567d","lessThan":"008508c16af0087cda0394e1ac6f0493b01b6063","status":"affected","versionType":"git"},{"version":"e23f075d77987de4215c8e0696f28bcc707506f7","lessThan":"ddd46059f7d99119b62d44c519df7a79f2e6a515","status":"affected","versionType":"git"},{"version":"6b5ad4bd0d78fef6bbe0ecdf96e09237c9c52cc1","lessThan":"9958b9cbb22145295ee1ffaea0904c383da2c05d","status":"affected","versionType":"git"},{"version":"ab07506b0454bea606095951e19e72c282bfbb42","lessThan":"bea2662e7818e15d7607d17d57912ac984275d94","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4.14.263","lessThan":"4.14.268","status":"affected","versionType":"semver"},{"version":"4.19.226","lessThan":"4.19.231","status":"affected","versionType":"semver"},{"version":"5.4.174","lessThan":"5.4.181","status":"affected","versionType":"semver"},{"version":"5.10.94","lessThan":"5.10.102","status":"affected","versionType":"semver"},{"version":"5.15.17","lessThan":"5.15.25","status":"affected","versionType":"semver"},{"version":"5.16.3","lessThan":"5.16.11","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/d3b98fe36f8a06ce654049540773256ab59cb53d","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/7d6475179b85a83186ccce59cdc359d4f07d0bcb","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/494de920d98f125b099f27a2d274850750aff957","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/008508c16af0087cda0394e1ac6f0493b01b6063","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/ddd46059f7d99119b62d44c519df7a79f2e6a515","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/9958b9cbb22145295ee1ffaea0904c383da2c05d","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/bea2662e7818e15d7607d17d57912ac984275d94","tags":["x_transferred","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48787.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48787","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00244,"epssPercentile":0.15798,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-48787","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48787","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-48787","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-48787","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}