{"id":"CVE-2022-48769","aliases":["CVE-2022-48769"],"related":[],"kind":"vulnerability","state":"published","title":"efi: runtime: avoid EFIv2 runtime services on Apple x86 machines","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nefi: runtime: avoid EFIv2 runtime services on Apple x86 machines\n\nAditya reports [0] that his recent MacbookPro crashes in the firmware\nwhen using the variable services at runtime. The culprit appears to be a\ncall to QueryVariableInfo(), which we did not use to call on Apple x86\nmachines in the past as they only upgraded from EFI v1.10 to EFI v2.40\nfirmware fairly recently, and QueryVariableInfo() (along with\nUpdateCapsule() et al) was added in EFI v2.00.\n\nThe only runtime service introduced in EFI v2.00 that we actually use in\nLinux is QueryVariableInfo(), as the capsule based ones are optional,\ngenerally not used at runtime (all the LVFS/fwupd firmware update\ninfrastructure uses helper EFI programs that invoke capsule update at\nboot time, not runtime), and not implemented by Apple machines in the\nfirst place. QueryVariableInfo() is used to 'safely' set variables,\ni.e., only when there is enough space. This prevents machines with buggy\nfirmwares from corrupting their NVRAMs when they run out of space.\n\nGiven that Apple machines have been using EFI v1.10 services only for\nthe longest time (the EFI v2.0 spec was released in 2006, and Linux\nsupport for the newly introduced runtime services was added in 2011, but\nthe MacbookPro12,1 released in 2015 still claims to be EFI v1.10 only),\nlet's avoid the EFI v2.0 ones on all Apple x86 machines.\n\n[0] https://lore.kernel.org/all/6D757C75-65B1-468B-842D-10410081A8E4@live.com/","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nefi: runtime: avoid EFIv2 runtime services on Apple x86 machines\n\nAditya reports [0] that his recent MacbookPro crashes in the firmware\nwhen using the variable services at runtime. The culprit appears to be a\ncall to QueryVariableInfo(), which we did not use to call on Apple x86\nmachines in the past as they only upgraded from EFI v1.10 to EFI v2.40\nfirmware fairly recently, and QueryVariableInfo() (along with\nUpdateCapsule() et al) was added in EFI v2.00.\n\nThe only runtime service introduced in EFI v2.00 that we actually use in\nLinux is QueryVariableInfo(), as the capsule based ones are optional,\ngenerally not used at runtime (all the LVFS/fwupd firmware update\ninfrastructure uses helper EFI programs that invoke capsule update at\nboot time, not runtime), and not implemented by Apple machines in the\nfirst place. QueryVariableInfo() is used to 'safely' set variables,\ni.e., only when there is enough space. This prevents machines with buggy\nfirmwares from corrupting their NVRAMs when they run out of space.\n\nGiven that Apple machines have been using EFI v1.10 services only for\nthe longest time (the EFI v2.0 spec was released in 2006, and Linux\nsupport for the newly introduced runtime services was added in 2011, but\nthe MacbookPro12,1 released in 2015 still claims to be EFI v1.10 only),\nlet's avoid the EFI v2.0 ones on all Apple x86 machines.\n\n[0] https://lore.kernel.org/all/6D757C75-65B1-468B-842D-10410081A8E4@live.com/","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: efi: runtime: evite los servicios de tiempo de ejecución EFIv2 en máquinas Apple x86 Aditya informa [0] que su reciente MacbookPro falla en el firmware cuando usa los servicios variables en tiempo de ejecución. El culpable parece ser una llamada a QueryVariableInfo(), que no utilizamos para llamar a máquinas Apple x86 en el pasado, ya que recientemente se actualizaron del firmware EFI v1.10 al firmware EFI v2.40, y QueryVariableInfo() (junto con con UpdateCapsule() et al) se agregó en EFI v2.00. El único servicio de tiempo de ejecución introducido en EFI v2.00 que realmente usamos en Linux es QueryVariableInfo(), ya que los basados en cápsulas son opcionales y generalmente no se usan en tiempo de ejecución (toda la infraestructura de actualización de firmware LVFS/fwupd utiliza programas EFI auxiliares que invocan la cápsula). actualizar en el momento del arranque, no en el tiempo de ejecución) y, en primer lugar, no lo implementan las máquinas Apple. QueryVariableInfo() se utiliza para establecer variables de forma \"segura\", es decir, sólo cuando hay suficiente espacio. Esto evita que las máquinas con firmwares defectuosos dañen sus NVRAM cuando se quedan sin espacio. Dado que las máquinas Apple han estado usando los servicios EFI v1.10 solo durante más tiempo (la especificación EFI v2.0 se lanzó en 2006 y el soporte de Linux para los servicios de ejecución recientemente introducidos se agregó en 2011, pero el MacbookPro12,1 se lanzó en 2015 todavía afirma ser solo EFI v1.10), evitemos los EFI v2.0 en todas las máquinas Apple x86. [0] https://lore.kernel.org/all/6D757C75-65B1-468B-842D-10410081A8E4@live.com/","source":"nvd"}],"published":"2024-06-20T11:13:44.469Z","modified":"2026-06-17T05:16:09.040Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"d6cf86d8f23253225fe2a763d627ecf7dfee9dae","fixed":"b0f1cc093bc2493ac259c53766fd2b800e085807","status":"affected"},{"type":"git","introduced":"d6cf86d8f23253225fe2a763d627ecf7dfee9dae","fixed":"3df52448978802ae15dcebf66beba1029df957b4","status":"affected"},{"type":"git","introduced":"d6cf86d8f23253225fe2a763d627ecf7dfee9dae","fixed":"a4085859411c825c321c9b55b8a9dc5a128a6684","status":"affected"},{"type":"git","introduced":"d6cf86d8f23253225fe2a763d627ecf7dfee9dae","fixed":"f5390cd0b43c2e54c7cf5506c7da4a37c5cef746","status":"affected"},{"type":"git","version":"13fcf5d1c5fe491aeb0b0f34a46d88134432edb1","status":"affected"},{"type":"git","version":"0c9673834740afdfa7c172b1b19c6b3ec5bc3907","status":"affected"},{"type":"git","version":"8e221a3c057d674e3c1cc4d1d8fe65ac4697104b","status":"affected"},{"type":"git","version":"b3ab8b31e8b3c1ff4971bd52d0c8ebde5cfbdb97","status":"affected"},{"type":"semver","introduced":"3.2.32","fixed":"3.3","status":"affected"},{"type":"semver","introduced":"3.4.14","fixed":"3.5","status":"affected"},{"type":"semver","introduced":"3.5.7","fixed":"3.6","status":"affected"},{"type":"semver","introduced":"3.6.2","fixed":"3.7","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.7","status":"unaffected"},{"type":"semver","introduced":"5.10.96","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.19","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.16.5","lastAffected":"5.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"5.10.96"},{"status":"affected","introduced":"5.11","fixed":"5.15.19"},{"status":"affected","introduced":"5.16","fixed":"5.16.5"},{"status":"affected","version":"5.17"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/b0f1cc093bc2493ac259c53766fd2b800e085807","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3df52448978802ae15dcebf66beba1029df957b4","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a4085859411c825c321c9b55b8a9dc5a128a6684","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f5390cd0b43c2e54c7cf5506c7da4a37c5cef746","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T17:10:03.596Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-48769","url":"https://www.cve.org/CVERecord?id=CVE-2022-48769","licence":"CVE Terms of Use","modified":"2026-05-23T15:20:39.718Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-48769","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48769","licence":"Public domain","modified":"2026-06-17T05:16:09.040Z"}],"updatedAt":"2026-11-25T22:58:19.860Z","epss":{"score":0.00219,"percentile":0.13207,"date":"2026-12-01T12:00:22.000Z"}}