CVE & CISA-KEV Catalog

CVE-2024-35994

MEDIUM
5.5
CVSS v3
NVD

Description

In the Linux kernel, the following vulnerability has been resolved: firmware: qcom: uefisecapp: Fix memory related IO errors and crashes It turns out that while the QSEECOM APP_SEND command has specific fields for request and response buffers, uefisecapp expects them both to be in a single memory region. Failure to adhere to this has (so far) resulted in either no response being written to the response buffer (causing an EIO to be emitted down the line), the SCM call to fail with EINVAL (i.e., directly from TZ/firmware), or the device to be hard-reset. While this issue can be triggered deterministically, in the current form it seems to happen rather sporadically (which is why it has gone unnoticed during earlier testing). This is likely due to the two kzalloc() calls (for request and response) being directly after each other. Which means that those likely return consecutive regions most of the time, especially when not much else is going on in the system. Fix this by allocating a single memory region for both request and response buffers, properly aligning both structs inside it. This unfortunately also means that the qcom_scm_qseecom_app_send() interface needs to be restructured, as it should no longer map the DMA regions separately. Therefore, move the responsibility of DMA allocation (or mapping) to the caller.

How to fix

Remediation Available
linuxDebian
Fixed in:6.8.9-1CVE-2024-35994
Fixed in:6.8.9-1CVE-2024-35994
linuxUbuntu
Fixed in:6.8.0-40.40USN-6949-1
linux-awsUbuntu
Fixed in:6.8.0-1013.14USN-6949-1
linux-gcpUbuntu
Fixed in:6.8.0-1012.13USN-6949-1
linux-gkeUbuntu
Fixed in:6.8.0-1008.11USN-6949-1
linux-ibmUbuntu
Fixed in:6.8.0-1010.10USN-6949-1
linux-image-6.8.0-1008-gkeUbuntu
Fixed in:6.8.0-1008.11USN-6949-1
linux-image-6.8.0-1009-raspiUbuntu
Fixed in:6.8.0-1009.10USN-6949-2
linux-image-6.8.0-1010-ibmUbuntu
Fixed in:6.8.0-1010.10USN-6949-1
linux-image-6.8.0-1010-oemUbuntu
Fixed in:6.8.0-1010.10USN-6955-1
linux-image-6.8.0-1010-oracleUbuntu
Fixed in:6.8.0-1010.10USN-6952-1
linux-image-6.8.0-1010-oracle-64kUbuntu
Fixed in:6.8.0-1010.10USN-6952-1
linux-image-6.8.0-1011-nvidiaUbuntu
Fixed in:6.8.0-1011.11~22.04.1USN-6949-1
Fixed in:6.8.0-1011.11USN-6949-1
linux-image-6.8.0-1011-nvidia-64kUbuntu
Fixed in:6.8.0-1011.11~22.04.1USN-6949-1
Fixed in:6.8.0-1011.11USN-6949-1
linux-image-6.8.0-1011-nvidia-lowlatencyUbuntu
Fixed in:6.8.0-1011.11.1USN-6952-1
linux-image-6.8.0-1011-nvidia-lowlatency-64kUbuntu
Fixed in:6.8.0-1011.11.1USN-6952-1
linux-image-6.8.0-1012-gcpUbuntu
Fixed in:6.8.0-1012.13USN-6949-1
linux-image-6.8.0-1013-awsUbuntu
Fixed in:6.8.0-1013.14USN-6949-1
linux-image-6.8.0-40-genericUbuntu
Fixed in:6.8.0-40.40USN-6949-1
linux-image-6.8.0-40-generic-64kUbuntu
Fixed in:6.8.0-40.40USN-6949-1
linux-image-6.8.0-40-lowlatencyUbuntu
Fixed in:6.8.0-40.40.1USN-6949-2
linux-image-6.8.0-40-lowlatency-64kUbuntu
Fixed in:6.8.0-40.40.1USN-6949-2
linux-image-awsUbuntu
Fixed in:6.8.0-1013.14USN-6949-1
linux-image-gcpUbuntu
Fixed in:6.8.0-1012.13USN-6949-1
linux-image-genericUbuntu
Fixed in:6.8.0-40.40USN-6949-1
linux-image-generic-64kUbuntu
Fixed in:6.8.0-40.40USN-6949-1
linux-image-generic-64k-hwe-24.04Ubuntu
Fixed in:6.8.0-40.40USN-6949-1
linux-image-generic-hwe-24.04Ubuntu
Fixed in:6.8.0-40.40USN-6949-1
linux-image-generic-lpaeUbuntu
Fixed in:6.8.0-40.40USN-6949-1
linux-image-gkeUbuntu
Fixed in:6.8.0-1008.11USN-6949-1
linux-image-ibmUbuntu
Fixed in:6.8.0-1010.10USN-6949-1
linux-image-ibm-classicUbuntu
Fixed in:6.8.0-1010.10USN-6949-1
linux-image-ibm-lts-24.04Ubuntu
Fixed in:6.8.0-1010.10USN-6949-1
linux-image-kvmUbuntu
Fixed in:6.8.0-40.40USN-6949-1
linux-image-lowlatencyUbuntu
Fixed in:6.8.0-40.40.1USN-6949-2
linux-image-lowlatency-64kUbuntu
Fixed in:6.8.0-40.40.1USN-6949-2
linux-image-nvidiaUbuntu
Fixed in:6.8.0-1011.11USN-6949-1
linux-image-nvidia-6.8Ubuntu
Fixed in:6.8.0-1011.11~22.04.1USN-6949-1
linux-image-nvidia-64kUbuntu
Fixed in:6.8.0-1011.11USN-6949-1
linux-image-nvidia-64k-6.8Ubuntu
Fixed in:6.8.0-1011.11~22.04.1USN-6949-1
linux-image-nvidia-lowlatencyUbuntu
Fixed in:6.8.0-1011.11.1USN-6952-1
linux-image-nvidia-lowlatency-64kUbuntu
Fixed in:6.8.0-1011.11.1USN-6952-1
linux-image-oem-24.04Ubuntu
Fixed in:6.8.0-1010.10USN-6955-1
linux-image-oem-24.04aUbuntu
Fixed in:6.8.0-1010.10USN-6955-1
linux-image-oracleUbuntu
Fixed in:6.8.0-1010.10USN-6952-1
linux-image-oracle-64kUbuntu
Fixed in:6.8.0-1010.10USN-6952-1
linux-image-raspiUbuntu
Fixed in:6.8.0-1009.10USN-6949-2
linux-image-virtualUbuntu
Fixed in:6.8.0-40.40USN-6949-1
linux-image-virtual-hwe-24.04Ubuntu
Fixed in:6.8.0-40.40USN-6949-1
linux-lowlatencyUbuntu
Fixed in:6.8.0-40.40.1USN-6949-2
linux-nvidiaUbuntu
Fixed in:6.8.0-1011.11USN-6949-1
linux-nvidia-6.8Ubuntu
Fixed in:6.8.0-1011.11~22.04.1USN-6949-1
linux-nvidia-lowlatencyUbuntu
Fixed in:6.8.0-1011.11.1USN-6952-1
linux-oem-6.8Ubuntu
Fixed in:6.8.0-1010.10USN-6955-1
linux-oracleUbuntu
Fixed in:6.8.0-1010.10USN-6952-1
linux-raspiUbuntu
Fixed in:6.8.0-1009.10USN-6949-2

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.18%probability of exploitation in 30 days
8thpercentile

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

References

Related Vulnerabilities

Other CWE-401 (Missing Release of Memory (Memory Leak)) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2020-13934High7.564%-Fix
CVE-2016-6304High7.563%-Fix
CVE-2019-12265Medium5.355%-Fix
CVE-2001-0136Medium5.045%--
CVE-2016-4232High7.536%--
CVE-2001-0543Medium5.021%--
Embed a live status badge for CVE-2024-35994
CVE-2024-35994 severity badge

Markdown

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

HTML

<a href="https://tridentstack.com/cve/CVE-2024-35994"><img src="https://tridentstack.com/cve/badge/CVE-2024-35994.svg" alt="CVE-2024-35994"></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-23.