CVE-2022-48769
efi: runtime: avoid EFIv2 runtime services on Apple x86 machines
Check your servers for CVE-2022-48769
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-48769 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:
efi: runtime: avoid EFIv2 runtime services on Apple x86 machines
Aditya reports [0] that his recent MacbookPro crashes in the firmware when using the variable services at runtime. The culprit appears to be a call to QueryVariableInfo(), which we did not use to call on Apple x86 machines in the past as they only upgraded from EFI v1.10 to EFI v2.40 firmware fairly recently, and QueryVariableInfo() (along with UpdateCapsule() et al) was added in EFI v2.00.
The only runtime service introduced in EFI v2.00 that we actually use in Linux is QueryVariableInfo(), as the capsule based ones are optional, generally not used at runtime (all the LVFS/fwupd firmware update infrastructure uses helper EFI programs that invoke capsule update at boot time, not runtime), and not implemented by Apple machines in the first place. QueryVariableInfo() is used to 'safely' set variables, i.e., only when there is enough space. This prevents machines with buggy firmwares from corrupting their NVRAMs when they run out of space.
Given that Apple machines have been using EFI v1.10 services only for the longest time (the EFI v2.0 spec was released in 2006, and Linux support for the newly introduced runtime services was added in 2011, but the MacbookPro12,1 released in 2015 still claims to be EFI v1.10 only), let's avoid the EFI v2.0 ones on all Apple x86 machines.
[0] https://lore.kernel.org/all/6D757C75-65B1-468B-842D-10410081A8E4@live.com/
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.2% 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 d6cf86d8f23253225fe2a763d627ecf7dfee9dae, before b0f1cc093bc2493ac259c53766fd2b800e085807 affected from d6cf86d8f23253225fe2a763d627ecf7dfee9dae, before 3df52448978802ae15dcebf66beba1029df957b4 affected from d6cf86d8f23253225fe2a763d627ecf7dfee9dae, before a4085859411c825c321c9b55b8a9dc5a128a6684 affected from d6cf86d8f23253225fe2a763d627ecf7dfee9dae, before f5390cd0b43c2e54c7cf5506c7da4a37c5cef746 affected 13fcf5d1c5fe491aeb0b0f34a46d88134432edb1 affected 0c9673834740afdfa7c172b1b19c6b3ec5bc3907 affected 8e221a3c057d674e3c1cc4d1d8fe65ac4697104b affected b3ab8b31e8b3c1ff4971bd52d0c8ebde5cfbdb97 affected from 3.2.32, before 3.3 affected from 3.4.14, before 3.5 affected from 3.5.7, before 3.6 affected from 3.6.2, before 3.7
Other versions: unaffected
|
| Linux |
affected 3.7 unaffected before 3.7 unaffected from 5.10.96 up to and including 5.10.* unaffected from 5.15.19 up to and including 5.15.* unaffected from 5.16.5 up to and including 5.16.* unaffected 5.17 and later
Other versions: affected
|
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-48769 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-48769
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-48769
trivy image --scanners vuln IMAGE | grep CVE-2022-48769
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/b0f1cc093bc2493ac259c53766fd2b800e085807 git.kernel.org
- https://git.kernel.org/stable/c/3df52448978802ae15dcebf66beba1029df957b4 git.kernel.org
- https://git.kernel.org/stable/c/a4085859411c825c321c9b55b8a9dc5a128a6684 git.kernel.org
- https://git.kernel.org/stable/c/f5390cd0b43c2e54c7cf5506c7da4a37c5cef746 git.kernel.org
Source: the record CVE-2022-48769 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