CVE-2022-48787
iwlwifi: fix use-after-free
Check your servers for CVE-2022-48787
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-48787 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.7% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 10 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 8e10749fa1a454c1e7214f36cec83241f5a36ef1, before d3b98fe36f8a06ce654049540773256ab59cb53d affected from 1d7cc54137a4f28506dc7beac235b240b08f4e59, before 7d6475179b85a83186ccce59cdc359d4f07d0bcb affected from 0446cafa843e6db4982731c167e11c80d42be7e2, before 494de920d98f125b099f27a2d274850750aff957 affected from febab6b60d61d13cd9f30a2991deea56df39567d, before 008508c16af0087cda0394e1ac6f0493b01b6063 affected from e23f075d77987de4215c8e0696f28bcc707506f7, before ddd46059f7d99119b62d44c519df7a79f2e6a515 affected from 6b5ad4bd0d78fef6bbe0ecdf96e09237c9c52cc1, before 9958b9cbb22145295ee1ffaea0904c383da2c05d affected from ab07506b0454bea606095951e19e72c282bfbb42, before bea2662e7818e15d7607d17d57912ac984275d94
Other versions: unaffected
|
| Linux |
affected from 4.14.263, before 4.14.268 affected from 4.19.226, before 4.19.231 affected from 5.4.174, before 5.4.181 affected from 5.10.94, before 5.10.102 affected from 5.15.17, before 5.15.25 affected from 5.16.3, before 5.16.11
Other versions: unaffected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-48787 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-48787
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-48787
trivy image --scanners vuln IMAGE | grep CVE-2022-48787
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/d3b98fe36f8a06ce654049540773256ab59cb53d git.kernel.org
- https://git.kernel.org/stable/c/7d6475179b85a83186ccce59cdc359d4f07d0bcb git.kernel.org
- https://git.kernel.org/stable/c/494de920d98f125b099f27a2d274850750aff957 git.kernel.org
- https://git.kernel.org/stable/c/008508c16af0087cda0394e1ac6f0493b01b6063 git.kernel.org
- https://git.kernel.org/stable/c/ddd46059f7d99119b62d44c519df7a79f2e6a515 git.kernel.org
- https://git.kernel.org/stable/c/9958b9cbb22145295ee1ffaea0904c383da2c05d git.kernel.org
- https://git.kernel.org/stable/c/bea2662e7818e15d7607d17d57912ac984275d94 git.kernel.org
Source: the record CVE-2022-48787 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse