CVE-2022-48787
iwlwifi: fix use-after-free
Mitigation
- Upgrade Linux to 5.16.11 or later.
Who should check
- Anyone running Linux >= 8e10749fa1a454c1e7214f36cec83241f5a36ef1, < d3b98fe36f8a06ce654049540773256ab59cb53d; >= 1d7cc54137a4f28506dc7beac235b240b08f4e59, < 7d6475179b85a83186ccce59cdc359d4f07d0bcb; >= 0446cafa843e6db4982731c167e11c80d42be7e2, < 494de920d98f125b099f27a2d274850750aff957; >= febab6b60d61d13cd9f30a2991deea56df39567d, < 008508c16af0087cda0394e1ac6f0493b01b6063; >= e23f075d77987de4215c8e0696f28bcc707506f7, < ddd46059f7d99119b62d44c519df7a79f2e6a515; >= 6b5ad4bd0d78fef6bbe0ecdf96e09237c9c52cc1, < 9958b9cbb22145295ee1ffaea0904c383da2c05d; >= ab07506b0454bea606095951e19e72c282bfbb42, < bea2662e7818e15d7607d17d57912ac984275d94
- Anyone running Linux >= 4.14.263, < 4.14.268; >= 4.19.226, < 4.19.231; >= 5.4.174, < 5.4.181; >= 5.10.94, < 5.10.102; >= 5.15.17, < 5.15.25; >= 5.16.3, < 5.16.11
Vulnerability facts
- Affected
- Linux >= 8e10749fa1a454c1e7214f36cec83241f5a36ef1, < d3b98fe36f8a06ce654049540773256ab59cb53d; >= 1d7cc54137a4f28506dc7beac235b240b08f4e59, < 7d6475179b85a83186ccce59cdc359d4f07d0bcb; >= 0446cafa843e6db4982731c167e11c80d42be7e2, < 494de920d98f125b099f27a2d274850750aff957; >= febab6b60d61d13cd9f30a2991deea56df39567d, < 008508c16af0087cda0394e1ac6f0493b01b6063; >= e23f075d77987de4215c8e0696f28bcc707506f7, < ddd46059f7d99119b62d44c519df7a79f2e6a515; >= 6b5ad4bd0d78fef6bbe0ecdf96e09237c9c52cc1, < 9958b9cbb22145295ee1ffaea0904c383da2c05d; >= ab07506b0454bea606095951e19e72c282bfbb42, < bea2662e7818e15d7607d17d57912ac984275d94; Linux >= 4.14.263, < 4.14.268; >= 4.19.226, < 4.19.231; >= 5.4.174, < 5.4.181; >= 5.10.94, < 5.10.102; >= 5.15.17, < 5.15.25; >= 5.16.3, < 5.16.11
- Fixed in
- Linux 7d6475179b85a83186ccce59cdc359d4f07d0bcb, Linux 494de920d98f125b099f27a2d274850750aff957, Linux 008508c16af0087cda0394e1ac6f0493b01b6063, Linux 9958b9cbb22145295ee1ffaea0904c383da2c05d, Linux 4.14.268, Linux 4.19.231, Linux 5.4.181, Linux 5.10.102, Linux 5.15.25, Linux 5.16.11
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.32% chance of exploitation in 30 days (percentile 17, 2026-11-26)
- CWE
- CWE-416
- 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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 8e10749fa1a454c1e7214f36cec83241f5a36ef1, < d3b98fe36f8a06ce654049540773256ab59cb53d; >= 1d7cc54137a4f28506dc7beac235b240b08f4e59, < 7d6475179b85a83186ccce59cdc359d4f07d0bcb; >= 0446cafa843e6db4982731c167e11c80d42be7e2, < 494de920d98f125b099f27a2d274850750aff957; >= febab6b60d61d13cd9f30a2991deea56df39567d, < 008508c16af0087cda0394e1ac6f0493b01b6063; >= e23f075d77987de4215c8e0696f28bcc707506f7, < ddd46059f7d99119b62d44c519df7a79f2e6a515; >= 6b5ad4bd0d78fef6bbe0ecdf96e09237c9c52cc1, < 9958b9cbb22145295ee1ffaea0904c383da2c05d; >= ab07506b0454bea606095951e19e72c282bfbb42, < bea2662e7818e15d7607d17d57912ac984275d94 | — | cvelist |
| Linux | >= 4.14.263, < 4.14.268; >= 4.19.226, < 4.19.231; >= 5.4.174, < 5.4.181; >= 5.10.94, < 5.10.102; >= 5.15.17, < 5.15.25; >= 5.16.3, < 5.16.11 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-48787. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-48787.md Affected: Linux >= 8e10749fa1a454c1e7214f36cec83241f5a36ef1, < d3b98fe36f8a06ce654049540773256ab59cb53d; >= 1d7cc54137a4f28506dc7beac235b240b08f4e59, < 7d6475179b85a83186ccce59cdc359d4f07d0bcb; >= 0446cafa843e6db4982731c167e11c80d42be7e2, < 494de920d98f125b099f27a2d274850750aff957; >= febab6b60d61d13cd9f30a2… Fixed in: Linux 7d6475179b85a83186ccce59cdc359d4f07d0bcb, Linux 494de920d98f125b099f27a2d274850750aff957, Linux 008508c16af0087cda0394e1ac6f0493b01b6063, Linux 9958b9cbb22145295ee1ffaea0904c383da2c05d, Linux 4.14.268, Linux 4.19.231, Linux 5.4.181, Linux 5.10.102, Linux 5.15.25, Linux 5.16.11 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- 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
FAQ
Is CVE-2022-48787 being exploited?
There is no confirmed exploitation: CVE-2022-48787 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-48787?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-48787?
Linux >= 8e10749fa1a454c1e7214f36cec83241f5a36ef1, < d3b98fe36f8a06ce654049540773256ab59cb53d; >= 1d7cc54137a4f28506dc7beac235b240b08f4e59, < 7d6475179b85a83186ccce59cdc359d4f07d0bcb; >= 0446cafa843e6db4982731c167e11c80d42be7e2, < 494de920d98f125b099f27a2d274850750aff957; >= febab6b60d61d13cd9f30a2991deea56df39567d, < 008508c16af0087cda0394e1ac6f0493b01b6063; >= e23f075d77987de4215c8e0696f28bcc707506f7, < ddd46059f7d99119b62d44c519df7a79f2e6a515; >= 6b5ad4bd0d78fef6bbe0ecdf96e09237c9c52cc1, < 9958b9cbb22145295ee1ffaea0904c383da2c05d; >= ab07506b0454bea606095951e19e72c282bfbb42, < bea2662e7818e15d7607d17d57912ac984275d94; Linux >= 4.14.263, < 4.14.268; >= 4.19.226, < 4.19.231; >= 5.4.174, < 5.4.181; >= 5.10.94, < 5.10.102; >= 5.15.17, < 5.15.25; >= 5.16.3, < 5.16.11.
Is there a fix for CVE-2022-48787?
Yes. Fixed in Linux 7d6475179b85a83186ccce59cdc359d4f07d0bcb, Linux 494de920d98f125b099f27a2d274850750aff957, Linux 008508c16af0087cda0394e1ac6f0493b01b6063, Linux 9958b9cbb22145295ee1ffaea0904c383da2c05d, Linux 4.14.268, Linux 4.19.231, Linux 5.4.181, Linux 5.10.102, Linux 5.15.25, Linux 5.16.11. Upgrade Linux to 5.16.11 or later.
How do I check if I'm affected by CVE-2022-48787?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.