CVE-2024-35994
published high CVSS 3.1 · 7.8firmware: qcom: uefisecapp: Fix memory related IO errors and crashes
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux759e7a2b62eb3ef3c93ffeb5cca788a09627d7d9 to < dd22b34fb53cb04b13b2f5eee5c9200bb091fc88 · 759e7a2b62eb3ef3c93ffeb5cca788a09627d7d9 to < ed09f81eeaa8f9265e1787282cb283f10285c259 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.7 (affected) · 0 to < 6.7 (unaffected · semver) · 6.8.9 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1011-nvidia | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1011-nvidia-64k | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1011-nvidia | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1011-nvidia-64k | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1011-nvidia | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1011-nvidia-64k | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1011-nvidia | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1011-nvidia-64k | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1011-nvidia | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-modules-nvidia-fs-6.8.0-1011-nvidia | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-modules-nvidia-fs-6.8.0-1011-nvidia-64k | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-nvidia-6.8 | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-nvidia-6.8-headers-6.8.0-1011 | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-nvidia-6.8-tools-6.8.0-1011 | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-nvidia-6.8-tools-host | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-tools-6.8.0-1011-nvidia | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | jammy | linux-tools-6.8.0-1011-nvidia-64k | Advisory build | 6.8.0-1011.11~22.04.1 | USN-6949-1 |
| Ubuntu | noble | linux | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-aws | Advisory build | 6.8.0-1013.14 | USN-6949-1 |
| Ubuntu | noble | linux-aws-cloud-tools-6.8.0-1013 | Advisory build | 6.8.0-1013.14 | USN-6949-1 |
| Ubuntu | noble | linux-aws-headers-6.8.0-1013 | Advisory build | 6.8.0-1013.14 | USN-6949-1 |
| Ubuntu | noble | linux-aws-tools-6.8.0-1013 | Advisory build | 6.8.0-1013.14 | USN-6949-1 |
| Ubuntu | noble | linux-azure | Advisory build | 6.8.0-1012.14 | USN-6952-2 |
| Ubuntu | noble | linux-azure-cloud-tools-6.8.0-1012 | Advisory build | 6.8.0-1012.14 | USN-6952-2 |
| Ubuntu | noble | linux-azure-headers-6.8.0-1012 | Advisory build | 6.8.0-1012.14 | USN-6952-2 |
| Ubuntu | noble | linux-azure-tools-6.8.0-1012 | Advisory build | 6.8.0-1012.14 | USN-6952-2 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1008-gke | Advisory build | 6.8.0-1008.11 | USN-6949-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1009-raspi | Advisory build | 6.8.0-1009.10 | USN-6949-2 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1010-ibm | Advisory build | 6.8.0-1010.10 | USN-6949-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1010-oem | Advisory build | 6.8.0-1010.10 | USN-6955-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1010-oracle | Advisory build | 6.8.0-1010.10 | USN-6952-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1010-oracle-64k | Advisory build | 6.8.0-1010.10 | USN-6952-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1011-nvidia | Advisory build | 6.8.0-1011.11 | USN-6949-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1011-nvidia-64k | Advisory build | 6.8.0-1011.11 | USN-6949-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1011-nvidia-lowlatency | Advisory build | 6.8.0-1011.11.1 | USN-6952-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1011-nvidia-lowlatency-64k | Advisory build | 6.8.0-1011.11.1 | USN-6952-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1012-azure | Advisory build | 6.8.0-1012.14 | USN-6952-2 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1012-gcp | Advisory build | 6.8.0-1012.13 | USN-6949-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-1013-aws | Advisory build | 6.8.0-1013.14 | USN-6949-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-40-generic | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-40-generic-64k | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-buildinfo-6.8.0-40-lowlatency | Advisory build | 6.8.0-40.40.1 | USN-6949-2 |
| Ubuntu | noble | linux-buildinfo-6.8.0-40-lowlatency-64k | Advisory build | 6.8.0-40.40.1 | USN-6949-2 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-1012-azure | Advisory build | 6.8.0-1012.14 | USN-6952-2 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-1013-aws | Advisory build | 6.8.0-1013.14 | USN-6949-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-40 | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-40-generic | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-cloud-tools-6.8.0-40-lowlatency | Advisory build | 6.8.0-40.40.1 | USN-6949-2 |
| Ubuntu | noble | linux-cloud-tools-common | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-gcp | Advisory build | 6.8.0-1012.13 | USN-6949-1 |
| Ubuntu | noble | linux-gcp-headers-6.8.0-1012 | Advisory build | 6.8.0-1012.13 | USN-6949-1 |
| Ubuntu | noble | linux-gcp-tools-6.8.0-1012 | Advisory build | 6.8.0-1012.13 | USN-6949-1 |
| Ubuntu | noble | linux-gke | Advisory build | 6.8.0-1008.11 | USN-6949-1 |
| Ubuntu | noble | linux-gke-headers-6.8.0-1008 | Advisory build | 6.8.0-1008.11 | USN-6949-1 |
| Ubuntu | noble | linux-gke-tools-6.8.0-1008 | Advisory build | 6.8.0-1008.11 | USN-6949-1 |
| Ubuntu | noble | linux-headers-6.8.0-1008-gke | Advisory build | 6.8.0-1008.11 | USN-6949-1 |
| Ubuntu | noble | linux-headers-6.8.0-1009-raspi | Advisory build | 6.8.0-1009.10 | USN-6949-2 |
| Ubuntu | noble | linux-headers-6.8.0-1010-ibm | Advisory build | 6.8.0-1010.10 | USN-6949-1 |
| Ubuntu | noble | linux-headers-6.8.0-1010-oem | Advisory build | 6.8.0-1010.10 | USN-6955-1 |
| Ubuntu | noble | linux-headers-6.8.0-1010-oracle | Advisory build | 6.8.0-1010.10 | USN-6952-1 |
| Ubuntu | noble | linux-headers-6.8.0-1010-oracle-64k | Advisory build | 6.8.0-1010.10 | USN-6952-1 |
| Ubuntu | noble | linux-headers-6.8.0-1011-nvidia | Advisory build | 6.8.0-1011.11 | USN-6949-1 |
| Ubuntu | noble | linux-headers-6.8.0-1011-nvidia-64k | Advisory build | 6.8.0-1011.11 | USN-6949-1 |
| Ubuntu | noble | linux-headers-6.8.0-1011-nvidia-lowlatency | Advisory build | 6.8.0-1011.11.1 | USN-6952-1 |
| Ubuntu | noble | linux-headers-6.8.0-1011-nvidia-lowlatency-64k | Advisory build | 6.8.0-1011.11.1 | USN-6952-1 |
| Ubuntu | noble | linux-headers-6.8.0-1012-azure | Advisory build | 6.8.0-1012.14 | USN-6952-2 |
| Ubuntu | noble | linux-headers-6.8.0-1012-gcp | Advisory build | 6.8.0-1012.13 | USN-6949-1 |
| Ubuntu | noble | linux-headers-6.8.0-1013-aws | Advisory build | 6.8.0-1013.14 | USN-6949-1 |
| Ubuntu | noble | linux-headers-6.8.0-40 | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-headers-6.8.0-40-generic | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-headers-6.8.0-40-generic-64k | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-headers-6.8.0-40-lowlatency | Advisory build | 6.8.0-40.40.1 | USN-6949-2 |
| Ubuntu | noble | linux-headers-6.8.0-40-lowlatency-64k | Advisory build | 6.8.0-40.40.1 | USN-6949-2 |
| Ubuntu | noble | linux-ibm | Advisory build | 6.8.0-1010.10 | USN-6949-1 |
| Ubuntu | noble | linux-ibm-cloud-tools-common | Advisory build | 6.8.0-1010.10 | USN-6949-1 |
| Ubuntu | noble | linux-ibm-headers-6.8.0-1010 | Advisory build | 6.8.0-1010.10 | USN-6949-1 |
| Ubuntu | noble | linux-ibm-source-6.8.0 | Advisory build | 6.8.0-1010.10 | USN-6949-1 |
| Ubuntu | noble | linux-ibm-tools-6.8.0-1010 | Advisory build | 6.8.0-1010.10 | USN-6949-1 |
| Ubuntu | noble | linux-image-6.8.0-1009-raspi | Advisory build | 6.8.0-1009.10 | USN-6949-2 |
| Ubuntu | noble | linux-image-6.8.0-40-generic | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1008-gke | Advisory build | 6.8.0-1008.11 | USN-6949-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1010-ibm | Advisory build | 6.8.0-1010.10 | USN-6949-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1010-oem | Advisory build | 6.8.0-1010.10 | USN-6955-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1010-oracle | Advisory build | 6.8.0-1010.10 | USN-6952-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1010-oracle-64k | Advisory build | 6.8.0-1010.10 | USN-6952-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1011-nvidia | Advisory build | 6.8.0-1011.11 | USN-6949-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1011-nvidia-64k | Advisory build | 6.8.0-1011.11 | USN-6949-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1011-nvidia-lowlatency | Advisory build | 6.8.0-1011.11.1 | USN-6952-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1011-nvidia-lowlatency-64k | Advisory build | 6.8.0-1011.11.1 | USN-6952-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1012-azure | Advisory build | 6.8.0-1012.14 | USN-6952-2 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1012-gcp | Advisory build | 6.8.0-1012.13 | USN-6949-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-1013-aws | Advisory build | 6.8.0-1013.14 | USN-6949-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-40-generic | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-40-generic-64k | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-40-lowlatency | Advisory build | 6.8.0-40.40.1 | USN-6949-2 |
| Ubuntu | noble | linux-image-unsigned-6.8.0-40-lowlatency-64k | Advisory build | 6.8.0-40.40.1 | USN-6949-2 |
| Ubuntu | noble | linux-lib-rust-6.8.0-40-generic | Advisory build | 6.8.0-40.40 | USN-6949-1 |
| Ubuntu | noble | linux-lowlatency | Advisory build | 6.8.0-40.40.1 | USN-6949-2 |
| Ubuntu | noble | linux-lowlatency-cloud-tools-6.8.0-40 | Advisory build | 6.8.0-40.40.1 | USN-6949-2 |
| Ubuntu | noble | linux-lowlatency-cloud-tools-common | Advisory build | 6.8.0-40.40.1 | USN-6949-2 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable code is reached through the local efivarfs filesystem (`read()` on /sys/firmware/efi/efivars/*), which drives the qcuefi efivar operations; there is no network or remote path to uefisecapp. AC:L - The commit states the issue "can be triggered deterministically" — it merely looks sporadic because idle-system slab behaviour happens to place the two kzalloc()s adjacently, and an attacker fully controls slab layout via concurrent allocation pressure, parallel readers, and choice of which variable (hence which kmalloc bucket) to read. PR:L - efivarfs contains no capable()/CAP_* checks whatsoever and creates variable files mode 0644 under a 0755 directory, so any local unprivileged user can read an EFI variable and drive the buggy request/response allocation pair twice per read(). UI:N - The attacker triggers the path entirely from their own process by reading efivarfs files; no action by any other user or administrator is needed. S:U - The corruption and the reset both land on the same device under the kernel's own security authority; although the secure world is involved, this is scored as standard kernel-local impact rather than a VM/IOMMU boundary escape. C:H - When the buffers are non-contiguous the secure world reads and writes normal-world memory outside the regions the kernel allocated and mapped for it, giving out-of-bounds access to adjacent kernel slab objects that can be groomed and leveraged for kernel memory disclosure. I:H - The documented failure mode where "no response [is] written to the response buffer" means uefisecapp wrote the response into kernel memory outside the allocated response buffer — an out-of-bounds write by a higher-privileged agent into an attacker-groomable slab neighbour, which is exploitable for kernel memory corruption. A:H - The commit explicitly documents that the mismatch can cause "the device to be hard-reset", a full SoC reset, and the SCM/EIO failures also render the EFI variable interface unusable.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 759e7a2b62eb3ef3c93ffeb5cca788a09627d7d9 to < dd22b34fb53cb04b13b2f5eee5c9200bb091fc88 (affected · git)759e7a2b62eb3ef3c93ffeb5cca788a09627d7d9 to < ed09f81eeaa8f9265e1787282cb283f10285c259 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.7 (affected)0 to < 6.7 (unaffected · semver)6.8.9 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
3Linux · cna
firmware: qcom: uefisecapp: Fix memory related IO errors and crashes
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 94530037400a1610eee45480923c148983109176bb7e037ba621ef1b383ca475
- Ingested
- 23 Sep 2026, 08:23:51 UTC
- Source record
- Official CVE record