CVE & CISA-KEV Catalog

CVE-2024-35803

MEDIUM
5.5
CVSS v3
NVD

Description

In the Linux kernel, the following vulnerability has been resolved: x86/efistub: Call mixed mode boot services on the firmware's stack Normally, the EFI stub calls into the EFI boot services using the stack that was live when the stub was entered. According to the UEFI spec, this stack needs to be at least 128k in size - this might seem large but all asynchronous processing and event handling in EFI runs from the same stack and so quite a lot of space may be used in practice. In mixed mode, the situation is a bit different: the bootloader calls the 32-bit EFI stub entry point, which calls the decompressor's 32-bit entry point, where the boot stack is set up, using a fixed allocation of 16k. This stack is still in use when the EFI stub is started in 64-bit mode, and so all calls back into the EFI firmware will be using the decompressor's limited boot stack. Due to the placement of the boot stack right after the boot heap, any stack overruns have gone unnoticed. However, commit 5c4feadb0011983b ("x86/decompressor: Move global symbol references to C code") moved the definition of the boot heap into C code, and now the boot stack is placed right at the base of BSS, where any overruns will corrupt the end of the .data section. While it would be possible to work around this by increasing the size of the boot stack, doing so would affect all x86 systems, and mixed mode systems are a tiny (and shrinking) fraction of the x86 installed base. So instead, record the firmware stack pointer value when entering from the 32-bit firmware, and switch to this stack every time a EFI boot service call is made.

How to fix

Remediation Available
linuxDebian
Fixed in:6.1.85-1CVE-2024-35803
Fixed in:6.7.12-1CVE-2024-35803
Fixed in:6.7.12-1CVE-2024-35803
linuxUbuntu
Fixed in:6.8.0-35.35USN-6816-1
linux-awsUbuntu
Fixed in:6.8.0-1009.9USN-6817-1
linux-azureUbuntu
Fixed in:6.8.0-1008.8USN-6817-3
linux-gcpUbuntu
Fixed in:6.8.0-1008.9USN-6817-1
linux-gkeUbuntu
Fixed in:6.8.0-1004.7USN-6817-3
linux-ibmUbuntu
Fixed in:6.8.0-1006.6USN-6816-1
linux-image-6.8.0-1004-gkeUbuntu
Fixed in:6.8.0-1004.7USN-6817-3
linux-image-6.8.0-1005-raspiUbuntu
Fixed in:6.8.0-1005.5USN-6816-1
linux-image-6.8.0-1006-ibmUbuntu
Fixed in:6.8.0-1006.6USN-6816-1
linux-image-6.8.0-1006-oemUbuntu
Fixed in:6.8.0-1006.6USN-6817-2
linux-image-6.8.0-1006-oracleUbuntu
Fixed in:6.8.0-1006.6USN-6878-1
linux-image-6.8.0-1006-oracle-64kUbuntu
Fixed in:6.8.0-1006.6USN-6878-1
linux-image-6.8.0-1008-azureUbuntu
Fixed in:6.8.0-1008.8USN-6817-3
linux-image-6.8.0-1008-azure-fdeUbuntu
Fixed in:6.8.0-1008.8USN-6817-3
linux-image-6.8.0-1008-gcpUbuntu
Fixed in:6.8.0-1008.9USN-6817-1
linux-image-6.8.0-1009-awsUbuntu
Fixed in:6.8.0-1009.9USN-6817-1
linux-image-6.8.0-35-genericUbuntu
Fixed in:6.8.0-35.35+1USN-6816-1
linux-image-6.8.0-35-generic-64kUbuntu
Fixed in:6.8.0-35.35+1USN-6816-1
linux-image-6.8.0-35-lowlatencyUbuntu
Fixed in:6.8.0-35.35.1USN-6816-1
linux-image-6.8.0-35-lowlatency-64kUbuntu
Fixed in:6.8.0-35.35.1USN-6816-1
linux-image-awsUbuntu
Fixed in:6.8.0-1009.9USN-6817-1
linux-image-azureUbuntu
Fixed in:6.8.0-1008.8USN-6817-3
linux-image-azure-fdeUbuntu
Fixed in:6.8.0-1008.8USN-6817-3
linux-image-gcpUbuntu
Fixed in:6.8.0-1008.9USN-6817-1
linux-image-genericUbuntu
Fixed in:6.8.0-35.35USN-6816-1
linux-image-generic-64kUbuntu
Fixed in:6.8.0-35.35USN-6816-1
linux-image-generic-64k-hwe-24.04Ubuntu
Fixed in:6.8.0-35.35USN-6816-1
linux-image-generic-hwe-24.04Ubuntu
Fixed in:6.8.0-35.35USN-6816-1
linux-image-generic-lpaeUbuntu
Fixed in:6.8.0-35.35USN-6816-1
linux-image-gkeUbuntu
Fixed in:6.8.0-1004.7USN-6817-3
linux-image-ibmUbuntu
Fixed in:6.8.0-1006.6USN-6816-1
linux-image-ibm-classicUbuntu
Fixed in:6.8.0-1006.6USN-6816-1
linux-image-ibm-lts-24.04Ubuntu
Fixed in:6.8.0-1006.6USN-6816-1
linux-image-kvmUbuntu
Fixed in:6.8.0-35.35USN-6816-1
linux-image-lowlatencyUbuntu
Fixed in:6.8.0-35.35.1USN-6816-1
linux-image-lowlatency-64kUbuntu
Fixed in:6.8.0-35.35.1USN-6816-1
linux-image-oem-24.04Ubuntu
Fixed in:6.8.0-1006.6+1USN-6817-2
linux-image-oem-24.04aUbuntu
Fixed in:6.8.0-1006.6+1USN-6817-2
linux-image-oracleUbuntu
Fixed in:6.8.0-1006.6USN-6878-1
linux-image-oracle-64kUbuntu
Fixed in:6.8.0-1006.6USN-6878-1
linux-image-raspiUbuntu
Fixed in:6.8.0-1005.5USN-6816-1
linux-image-virtualUbuntu
Fixed in:6.8.0-35.35USN-6816-1
linux-image-virtual-hwe-24.04Ubuntu
Fixed in:6.8.0-35.35USN-6816-1
linux-lowlatencyUbuntu
Fixed in:6.8.0-35.35.1USN-6816-1
linux-oem-6.8Ubuntu
Fixed in:6.8.0-1006.6USN-6817-2
linux-oracleUbuntu
Fixed in:6.8.0-1006.6USN-6878-1
linux-raspiUbuntu
Fixed in:6.8.0-1005.5USN-6816-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

0.22%probability of exploitation in 30 days
13thpercentile

Low risk: more likely to be exploited than 13% of all known CVEs.

References

Embed a live status badge for CVE-2024-35803
CVE-2024-35803 severity badge

Markdown

[![CVE-2024-35803](https://tridentstack.com/cve/badge/CVE-2024-35803.svg)](https://tridentstack.com/cve/CVE-2024-35803)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-35803"><img src="https://tridentstack.com/cve/badge/CVE-2024-35803.svg" alt="CVE-2024-35803"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-09-26.