CVE-2022-48787 json
iwlwifi: fix use-after-free
published 2024-07-16 2 y ago modified 2026-08-05 3 mo ago also EUVD-2022-53666
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 15%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 4.14.268, 4.19.231, 5.4.181, 5.10.102, 5.15.25, 5.16.11
- linux Debian 14, Debian 13, Debian 12 5.16.11-1
debian advisories DEBIAN-CVE-2022-48787
- linux Ubuntu 18.04 LTS 4.15.0-177.186
- linux Ubuntu 20.04 LTS 5.4.0-110.124
- linux-aws Ubuntu 18.04 LTS 4.15.0-1128.137
- linux-aws Ubuntu 20.04 LTS 5.4.0-1073.78
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1073.78
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1021.23
- linux-iot Ubuntu 20.04 LTS 5.4.0-1004.6
- linux-kvm Ubuntu 18.04 LTS 4.15.0-1114.117
ubuntu advisories UBUNTU-CVE-2022-48787
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-64kb SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS, Enterprise Storage 7.1 5.3.18-150300.59.174.1
- kernel-syms SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 5.3.18-150300.59.174.1
- kernel-source SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 5.3.18-150300.59.174.1
- kernel-default SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Micro 5.2 +5 more 5.3.18-150300.59.174.1
- kernel-preempt SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 5.3.18-150300.59.174.1
- kernel-obs-build SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE High Performance Computing 15 SP3-LTSS +1 more 5.3.18-150300.59.174.1
- kernel-default-base SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Micro 5.2 +3 more 5.3.18-150300.59.174.1.150300.18.103.1
- kernel-rt SLE Micro 5.2, SLE Micro 5.1 5.3.18-150300.181.2
suse advisories SUSE-SU-2024:3249-1SUSE-SU-2024:3225-1SUSE-SU-2024:2947-1SUSE-SU-2024:2939-1SUSE-SU-2024:2929-1SUSE-SU-2024:2902-1
- git.kernel.org/stable/c/d3b98fe36f8a06ce654049540773256ab59cb53d commit
- git.kernel.org/stable/c/7d6475179b85a83186ccce59cdc359d4f07d0bcb commit
- git.kernel.org/stable/c/494de920d98f125b099f27a2d274850750aff957 commit
- git.kernel.org/stable/c/008508c16af0087cda0394e1ac6f0493b01b6063 commit
- git.kernel.org/stable/c/ddd46059f7d99119b62d44c519df7a79f2e6a515 commit
- git.kernel.org/stable/c/9958b9cbb22145295ee1ffaea0904c383da2c05d commit
- git.kernel.org/stable/c/bea2662e7818e15d7607d17d57912ac984275d94 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-48787 updated cvss 7.8
kernel: iwlwifi: fix use-after-free
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 kernel-rt, kernel-rt-kvm, kernel-rt-core, kernel-rt-modules, kernel-rt-debug-kvm, kernel-rt-debug-core, +6 moreaffected: no fix available
-
Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 moreaffected: no fix available, no fix planned “Will not fix”
-
Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-core, kernel-tools, python3-perf, +17 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.24% chance of exploitation in the next 30 days, higher than 15% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-416 Use After Free
- Technology feeds
References
-
git.kernel.org
/stable/c/d3b98fe36f8a06ce654049540773256ab59cb53d
patch
-
git.kernel.org
/stable/c/7d6475179b85a83186ccce59cdc359d4f07d0bcb
patch
-
git.kernel.org
/stable/c/494de920d98f125b099f27a2d274850750aff957
patch
-
git.kernel.org
/stable/c/008508c16af0087cda0394e1ac6f0493b01b6063
patch
-
git.kernel.org
/stable/c/ddd46059f7d99119b62d44c519df7a79f2e6a515
patch
-
git.kernel.org
/stable/c/9958b9cbb22145295ee1ffaea0904c383da2c05d
patch
-
git.kernel.org
/stable/c/bea2662e7818e15d7607d17d57912ac984275d94
patch
Sources
- CVE List CVE-2022-48787
- NVD CVE-2022-48787
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.