Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-35803

MEDIUM 5.5EPSS 16%

x86/efistub: Call mixed mode boot services on the firmware's stack

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= b8ff87a6158886771677e6dc8139bac6e3cba717, < 2149f8a56e2ed345c7a4d022a79f6b8fc53ae926; >= b8ff87a6158886771677e6dc8139bac6e3cba717, < 930775060ca348b8665f60eef14b204172d14f31; >= b8ff87a6158886771677e6dc8139bac6e3cba717, < fba7ee7187581b5bc222003e73e2592b398bb06d; >= b8ff87a6158886771677e6dc8139bac6e3cba717, < 725351c036452b7db5771a7bed783564bc4b99cc; >= b8ff87a6158886771677e6dc8139bac6e3cba717, < cefcd4fe2e3aaf792c14c9e56dab89e3d7a65d02
  • Anyone running Linux 3.15

Vulnerability facts

Affected
Linux >= b8ff87a6158886771677e6dc8139bac6e3cba717, < 2149f8a56e2ed345c7a4d022a79f6b8fc53ae926; >= b8ff87a6158886771677e6dc8139bac6e3cba717, < 930775060ca348b8665f60eef14b204172d14f31; >= b8ff87a6158886771677e6dc8139bac6e3cba717, < fba7ee7187581b5bc222003e73e2592b398bb06d; >= b8ff87a6158886771677e6dc8139bac6e3cba717, < 725351c036452b7db5771a7bed783564bc4b99cc; >= b8ff87a6158886771677e6dc8139bac6e3cba717, < cefcd4fe2e3aaf792c14c9e56dab89e3d7a65d02; Linux 3.15
Fixed in
Linux 2149f8a56e2ed345c7a4d022a79f6b8fc53ae926, Linux 930775060ca348b8665f60eef14b204172d14f31, Linux 725351c036452b7db5771a7bed783564bc4b99cc
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.30% chance of exploitation in 30 days (percentile 16, 2026-11-26)
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= b8ff87a6158886771677e6dc8139bac6e3cba717, < 2149f8a56e2ed345c7a4d022a79f6b8fc53ae926; >= b8ff87a6158886771677e6dc8139bac6e3cba717, < 930775060ca348b8665f60eef14b204172d14f31; >= b8ff87a6158886771677e6dc8139bac6e3cba717, < fba7ee7187581b5bc222003e73e2592b398bb06d; >= b8ff87a6158886771677e6dc8139bac6e3cba717, < 725351c036452b7db5771a7bed783564bc4b99cc; >= b8ff87a6158886771677e6dc8139bac6e3cba717, < cefcd4fe2e3aaf792c14c9e56dab89e3d7a65d02—cvelist
Linux3.15—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-35803. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-35803.md
Affected: Linux >= b8ff87a6158886771677e6dc8139bac6e3cba717, < 2149f8a56e2ed345c7a4d022a79f6b8fc53ae926; >= b8ff87a6158886771677e6dc8139bac6e3cba717, < 930775060ca348b8665f60eef14b204172d14f31; >= b8ff87a6158886771677e6dc8139bac6e3cba717, < fba7ee7187581b5bc222003e73e2592b398bb06d; >= b8ff87a6158886771677e6d…
Fixed in: Linux 2149f8a56e2ed345c7a4d022a79f6b8fc53ae926, Linux 930775060ca348b8665f60eef14b204172d14f31, Linux 725351c036452b7db5771a7bed783564bc4b99cc

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-35803 being exploited?

There is no confirmed exploitation: CVE-2024-35803 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-35803?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2024-35803?

Linux >= b8ff87a6158886771677e6dc8139bac6e3cba717, < 2149f8a56e2ed345c7a4d022a79f6b8fc53ae926; >= b8ff87a6158886771677e6dc8139bac6e3cba717, < 930775060ca348b8665f60eef14b204172d14f31; >= b8ff87a6158886771677e6dc8139bac6e3cba717, < fba7ee7187581b5bc222003e73e2592b398bb06d; >= b8ff87a6158886771677e6dc8139bac6e3cba717, < 725351c036452b7db5771a7bed783564bc4b99cc; >= b8ff87a6158886771677e6dc8139bac6e3cba717, < cefcd4fe2e3aaf792c14c9e56dab89e3d7a65d02; Linux 3.15.

Is there a fix for CVE-2024-35803?

Yes. Fixed in Linux 2149f8a56e2ed345c7a4d022a79f6b8fc53ae926, Linux 930775060ca348b8665f60eef14b204172d14f31, Linux 725351c036452b7db5771a7bed783564bc4b99cc. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2024-35803?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors