Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-35785

published high CVSS 3.1 · 7.8

tee: optee: Fix kernel panic caused by incorrect error handling

Published
17 May 2024, 12:24:28 UTC
Updated
05 Aug 2026, 11:29:53 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxa953e45ebeae9a5ce342c012f7eb2a92cc8af89b to < bc40ded92af55760d12bec8222d4108de725dbe4 · 01c13d8a95e0909f0081d6e3e8a891761992371b to < 4b12ff5edd141926d49c9ace4791adf3a4902fe7 · 1c9561b438cbe61e78515fc7b16dc7fb8cf0b763 to < e5b5948c769aa1ebf962dddfb972f87d8f166f95 · d3c4786b01aad8c377718f92d6d9b15906ee0a2a to < 520f79c110ff712b391b3d87fcacf03c74bc56ee · 7269cba53d906cf257c139d3b3a53ad272176bca to < bfa344afbe472a9be08f78551fa2190c1a07d7d3 · 7269cba53d906cf257c139d3b3a53ad272176bca to < 95915ba4b987cf2b222b0f251280228a1ff977ac · 5.10.204 to < 5.10.215 · 5.15.143 to < 5.15.154 · 6.1.68 to < 6.1.84 · 6.6.7 to < 6.6.24 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.7 (affected) · 0 to < 6.7 (unaffected · semver) · 5.10.215 through 5.10.* (unaffected · semver) · 5.15.154 through 5.15.* (unaffected · semver) · 6.1.84 through 6.1.* (unaffected · semver) · 6.6.24 through 6.6.* (unaffected · semver) · 6.7.12 through 6.7.* (unaffected · semver) · 6.8 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
Debian buster linux-5.10 Advisory build 5.10.216-1~deb10u1 DLA-3842-1
Ubuntu focal linux-aws-5.15 Advisory build 5.15.0-1065.71~20.04.1 USN-6898-4
Ubuntu focal linux-aws-5.15-cloud-tools-5.15.0-1065 Advisory build 5.15.0-1065.71~20.04.1 USN-6898-4
Ubuntu focal linux-aws-5.15-headers-5.15.0-1065 Advisory build 5.15.0-1065.71~20.04.1 USN-6898-4
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu focal linux-aws-5.15-tools-5.15.0-1065 Advisory build 5.15.0-1065.71~20.04.1 USN-6898-4
Ubuntu focal linux-azure-5.15 Advisory build 5.15.0-1068.77~20.04.1 USN-6917-1
Ubuntu focal linux-azure-5.15-cloud-tools-5.15.0-1068 Advisory build 5.15.0-1068.77~20.04.1 USN-6917-1
Ubuntu focal linux-azure-5.15-headers-5.15.0-1068 Advisory build 5.15.0-1068.77~20.04.1 USN-6917-1
Ubuntu focal linux-azure-5.15-tools-5.15.0-1068 Advisory build 5.15.0-1068.77~20.04.1 USN-6917-1
Ubuntu focal linux-azure-fde-5.15 Advisory build 5.15.0-1068.77~20.04.1.1 USN-6917-1
Ubuntu focal linux-buildinfo-5.15.0-1048-gkeop Advisory build 5.15.0-1048.55~20.04.1 USN-6898-1
Ubuntu focal linux-buildinfo-5.15.0-1058-ibm Advisory build 5.15.0-1058.61~20.04.1 USN-6898-2
Ubuntu focal linux-buildinfo-5.15.0-1060-intel-iotg Advisory build 5.15.0-1060.66~20.04.1 USN-6898-1
Ubuntu focal linux-buildinfo-5.15.0-1063-oracle Advisory build 5.15.0-1063.69~20.04.1 USN-6898-2
Ubuntu focal linux-buildinfo-5.15.0-1065-aws Advisory build 5.15.0-1065.71~20.04.1 USN-6898-4
Ubuntu focal linux-buildinfo-5.15.0-1065-gcp Advisory build 5.15.0-1065.73~20.04.1 USN-6927-1
Ubuntu focal linux-buildinfo-5.15.0-1068-azure Advisory build 5.15.0-1068.77~20.04.1 USN-6917-1
Ubuntu focal linux-buildinfo-5.15.0-116-generic Advisory build 5.15.0-116.126~20.04.1 USN-6898-3
Ubuntu focal linux-buildinfo-5.15.0-116-generic-64k Advisory build 5.15.0-116.126~20.04.1 USN-6898-3
Ubuntu focal linux-buildinfo-5.15.0-116-generic-lpae Advisory build 5.15.0-116.126~20.04.1 USN-6898-3
Ubuntu focal linux-buildinfo-5.15.0-116-lowlatency Advisory build 5.15.0-116.126~20.04.1 USN-6898-2
Ubuntu focal linux-buildinfo-5.15.0-116-lowlatency-64k Advisory build 5.15.0-116.126~20.04.1 USN-6898-2
Ubuntu focal linux-cloud-tools-5.15.0-1048-gkeop Advisory build 5.15.0-1048.55~20.04.1 USN-6898-1
Ubuntu focal linux-cloud-tools-5.15.0-1060-intel-iotg Advisory build 5.15.0-1060.66~20.04.1 USN-6898-1
Ubuntu focal linux-cloud-tools-5.15.0-1065-aws Advisory build 5.15.0-1065.71~20.04.1 USN-6898-4
Ubuntu focal linux-cloud-tools-5.15.0-1068-azure Advisory build 5.15.0-1068.77~20.04.1 USN-6917-1
Ubuntu focal linux-cloud-tools-5.15.0-116-generic Advisory build 5.15.0-116.126~20.04.1 USN-6898-3
Ubuntu focal linux-cloud-tools-5.15.0-116-lowlatency Advisory build 5.15.0-116.126~20.04.1 USN-6898-2
Ubuntu focal linux-gcp-5.15 Advisory build 5.15.0-1065.73~20.04.1 USN-6927-1
Ubuntu focal linux-gcp-5.15-headers-5.15.0-1065 Advisory build 5.15.0-1065.73~20.04.1 USN-6927-1
Ubuntu focal linux-gcp-5.15-tools-5.15.0-1065 Advisory build 5.15.0-1065.73~20.04.1 USN-6927-1
Ubuntu focal linux-gkeop-5.15 Advisory build 5.15.0-1048.55~20.04.1 USN-6898-1
Ubuntu focal linux-gkeop-5.15-cloud-tools-5.15.0-1048 Advisory build 5.15.0-1048.55~20.04.1 USN-6898-1
Ubuntu focal linux-gkeop-5.15-headers-5.15.0-1048 Advisory build 5.15.0-1048.55~20.04.1 USN-6898-1
Ubuntu focal linux-gkeop-5.15-tools-5.15.0-1048 Advisory build 5.15.0-1048.55~20.04.1 USN-6898-1
Ubuntu focal linux-headers-5.15.0-1048-gkeop Advisory build 5.15.0-1048.55~20.04.1 USN-6898-1
Ubuntu focal linux-headers-5.15.0-1058-ibm Advisory build 5.15.0-1058.61~20.04.1 USN-6898-2
Ubuntu focal linux-headers-5.15.0-1060-intel-iotg Advisory build 5.15.0-1060.66~20.04.1 USN-6898-1
Ubuntu focal linux-headers-5.15.0-1063-oracle Advisory build 5.15.0-1063.69~20.04.1 USN-6898-2
Ubuntu focal linux-headers-5.15.0-1065-aws Advisory build 5.15.0-1065.71~20.04.1 USN-6898-4
Ubuntu focal linux-headers-5.15.0-1065-gcp Advisory build 5.15.0-1065.73~20.04.1 USN-6927-1
Ubuntu focal linux-headers-5.15.0-1068-azure Advisory build 5.15.0-1068.77~20.04.1 USN-6917-1
Ubuntu focal linux-headers-5.15.0-116-generic Advisory build 5.15.0-116.126~20.04.1 USN-6898-3
Ubuntu focal linux-headers-5.15.0-116-generic-64k Advisory build 5.15.0-116.126~20.04.1 USN-6898-3
Ubuntu focal linux-headers-5.15.0-116-generic-lpae Advisory build 5.15.0-116.126~20.04.1 USN-6898-3
Ubuntu focal linux-headers-5.15.0-116-lowlatency Advisory build 5.15.0-116.126~20.04.1 USN-6898-2
Ubuntu focal linux-headers-5.15.0-116-lowlatency-64k Advisory build 5.15.0-116.126~20.04.1 USN-6898-2
Ubuntu focal linux-hwe-5.15 Advisory build 5.15.0-116.126~20.04.1 USN-6898-3
Ubuntu focal linux-hwe-5.15-cloud-tools-5.15.0-116 Advisory build 5.15.0-116.126~20.04.1 USN-6898-3
Ubuntu focal linux-hwe-5.15-cloud-tools-common Advisory build 5.15.0-116.126~20.04.1 USN-6898-3
Ubuntu focal linux-hwe-5.15-headers-5.15.0-116 Advisory build 5.15.0-116.126~20.04.1 USN-6898-3
Ubuntu focal linux-hwe-5.15-source-5.15.0 Advisory build 5.15.0-116.126~20.04.1 USN-6898-3
Ubuntu focal linux-hwe-5.15-tools-5.15.0-116 Advisory build 5.15.0-116.126~20.04.1 USN-6898-3
Ubuntu focal linux-hwe-5.15-tools-common Advisory build 5.15.0-116.126~20.04.1 USN-6898-3
Ubuntu focal linux-hwe-5.15-tools-host Advisory build 5.15.0-116.126~20.04.1 USN-6898-3
Ubuntu focal linux-ibm-5.15 Advisory build 5.15.0-1058.61~20.04.1 USN-6898-2
Ubuntu focal linux-ibm-5.15-headers-5.15.0-1058 Advisory build 5.15.0-1058.61~20.04.1 USN-6898-2
Ubuntu focal linux-ibm-5.15-source-5.15.0 Advisory build 5.15.0-1058.61~20.04.1 USN-6898-2
Ubuntu focal linux-ibm-5.15-tools-5.15.0-1058 Advisory build 5.15.0-1058.61~20.04.1 USN-6898-2
Ubuntu focal linux-image-5.15.0-116-generic Advisory build 5.15.0-116.126~20.04.1 USN-6898-3
Ubuntu focal linux-image-5.15.0-116-generic-lpae Advisory build 5.15.0-116.126~20.04.1 USN-6898-3
Ubuntu focal linux-image-unsigned-5.15.0-1048-gkeop Advisory build 5.15.0-1048.55~20.04.1 USN-6898-1
Ubuntu focal linux-image-unsigned-5.15.0-1058-ibm Advisory build 5.15.0-1058.61~20.04.1 USN-6898-2
Ubuntu focal linux-image-unsigned-5.15.0-1060-intel-iotg Advisory build 5.15.0-1060.66~20.04.1 USN-6898-1
Ubuntu focal linux-image-unsigned-5.15.0-1063-oracle Advisory build 5.15.0-1063.69~20.04.1 USN-6898-2
Ubuntu focal linux-image-unsigned-5.15.0-1065-aws Advisory build 5.15.0-1065.71~20.04.1 USN-6898-4
Ubuntu focal linux-image-unsigned-5.15.0-1065-gcp Advisory build 5.15.0-1065.73~20.04.1 USN-6927-1
Ubuntu focal linux-image-unsigned-5.15.0-1068-azure Advisory build 5.15.0-1068.77~20.04.1 USN-6917-1
Ubuntu focal linux-image-unsigned-5.15.0-1068-azure-fde Advisory build 5.15.0-1068.77~20.04.1.1 USN-6917-1
Ubuntu focal linux-image-unsigned-5.15.0-116-generic Advisory build 5.15.0-116.126~20.04.1 USN-6898-3
Ubuntu focal linux-image-unsigned-5.15.0-116-generic-64k Advisory build 5.15.0-116.126~20.04.1 USN-6898-3
Ubuntu focal linux-image-unsigned-5.15.0-116-lowlatency Advisory build 5.15.0-116.126~20.04.1 USN-6898-2
Ubuntu focal linux-image-unsigned-5.15.0-116-lowlatency-64k Advisory build 5.15.0-116.126~20.04.1 USN-6898-2
Ubuntu focal linux-intel-iotg-5.15 Advisory build 5.15.0-1060.66~20.04.1 USN-6898-1
Ubuntu focal linux-intel-iotg-5.15-cloud-tools-5.15.0-1060 Advisory build 5.15.0-1060.66~20.04.1 USN-6898-1
Ubuntu focal linux-intel-iotg-5.15-cloud-tools-common Advisory build 5.15.0-1060.66~20.04.1 USN-6898-1
Ubuntu focal linux-intel-iotg-5.15-headers-5.15.0-1060 Advisory build 5.15.0-1060.66~20.04.1 USN-6898-1
Ubuntu focal linux-intel-iotg-5.15-tools-5.15.0-1060 Advisory build 5.15.0-1060.66~20.04.1 USN-6898-1
Ubuntu focal linux-intel-iotg-5.15-tools-common Advisory build 5.15.0-1060.66~20.04.1 USN-6898-1
Ubuntu focal linux-intel-iotg-5.15-tools-host Advisory build 5.15.0-1060.66~20.04.1 USN-6898-1
Ubuntu focal linux-lowlatency-hwe-5.15 Advisory build 5.15.0-116.126~20.04.1 USN-6898-2
Ubuntu focal linux-lowlatency-hwe-5.15-cloud-tools-5.15.0-116 Advisory build 5.15.0-116.126~20.04.1 USN-6898-2
Ubuntu focal linux-lowlatency-hwe-5.15-cloud-tools-common Advisory build 5.15.0-116.126~20.04.1 USN-6898-2
Ubuntu focal linux-lowlatency-hwe-5.15-headers-5.15.0-116 Advisory build 5.15.0-116.126~20.04.1 USN-6898-2
Ubuntu focal linux-lowlatency-hwe-5.15-tools-5.15.0-116 Advisory build 5.15.0-116.126~20.04.1 USN-6898-2
Ubuntu focal linux-lowlatency-hwe-5.15-tools-common Advisory build 5.15.0-116.126~20.04.1 USN-6898-2
Ubuntu focal linux-lowlatency-hwe-5.15-tools-host Advisory build 5.15.0-116.126~20.04.1 USN-6898-2
Ubuntu focal linux-modules-5.15.0-1048-gkeop Advisory build 5.15.0-1048.55~20.04.1 USN-6898-1
Ubuntu focal linux-modules-5.15.0-1058-ibm Advisory build 5.15.0-1058.61~20.04.1 USN-6898-2
Ubuntu focal linux-modules-5.15.0-1060-intel-iotg Advisory build 5.15.0-1060.66~20.04.1 USN-6898-1
Ubuntu focal linux-modules-5.15.0-1063-oracle Advisory build 5.15.0-1063.69~20.04.1 USN-6898-2
Ubuntu focal linux-modules-5.15.0-1065-aws Advisory build 5.15.0-1065.71~20.04.1 USN-6898-4
Ubuntu focal linux-modules-5.15.0-1065-gcp Advisory build 5.15.0-1065.73~20.04.1 USN-6927-1
Ubuntu focal linux-modules-5.15.0-1068-azure Advisory build 5.15.0-1068.77~20.04.1 USN-6917-1
Ubuntu focal linux-modules-5.15.0-116-generic Advisory build 5.15.0-116.126~20.04.1 USN-6898-3
Ubuntu focal linux-modules-5.15.0-116-generic-64k Advisory build 5.15.0-116.126~20.04.1 USN-6898-3
Ubuntu focal linux-modules-5.15.0-116-generic-lpae Advisory build 5.15.0-116.126~20.04.1 USN-6898-3
Ubuntu focal linux-modules-5.15.0-116-lowlatency Advisory build 5.15.0-116.126~20.04.1 USN-6898-2
Ubuntu focal linux-modules-5.15.0-116-lowlatency-64k Advisory build 5.15.0-116.126~20.04.1 USN-6898-2
Ubuntu focal linux-modules-extra-5.15.0-1048-gkeop Advisory build 5.15.0-1048.55~20.04.1 USN-6898-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: tee: optee: Fix kernel panic caused by incorrect error handling The error path while failing to register devices on the TEE bus has a bug leading to kernel panic as follows: [ 15.398930] Unable to handle kernel paging request at virtual address ffff07ed00626d7c [ 15.406913] Mem abort info: [ 15.409722] ESR = 0x0000000096000005 [ 15.413490] EC = 0x25: DABT (current EL), IL = 32 bits [ 15.418814] SET = 0, FnV = 0 [ 15.421878] EA = 0, S1PTW = 0 [ 15.425031] FSC = 0x05: level 1 translation fault [ 15.429922] Data abort info: [ 15.432813] ISV = 0, ISS = 0x00000005, ISS2 = 0x00000000 [ 15.438310] CM = 0, WnR = 0, TnD = 0, TagAccess = 0 [ 15.443372] GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 [ 15.448697] swapper pgtable: 4k pages, 48-bit VAs, pgdp=00000000d9e3e000 [ 15.455413] [ffff07ed00626d7c] pgd=1800000bffdf9003, p4d=1800000bffdf9003, pud=0000000000000000 [ 15.464146] Internal error: Oops: 0000000096000005 [#1] PREEMPT SMP Commit 7269cba53d90 ("tee: optee: Fix supplicant based device enumeration") lead to the introduction of this bug. So fix it appropriately.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

13

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 only by opening the local character device /dev/teepriv0, which schedules optee_bus_scan() → optee_enumerate_devices(PTA_CMD_GET_DEVICES_SUPP); there is no network or remote-peer input anywhere on the path. AC:L - On an affected platform the device_register() failure is deterministic (the reporter hit the panic on every boot at ~15s), so an attacker who triggers the supplicant enumeration reliably lands on the use-after-free; the freed slab object is a generic GFP_KERNEL kmalloc allocation that can be sprayed from userspace, and the failure can additionally be induced via attacker-generated memory pressure (-ENOMEM in kobject_add/kernfs). PR:L - The kernel imposes no capability or permission check in tee_open()/optee_open() for the privileged node — access is governed purely by udev/DAC, and OP-TEE's shipped rules expose teepriv[0-9]* at mode 0660 with a group plus TAG+="uaccess", so an ordinary local user in the teepriv group or at the local seat can open it and trigger the scan. UI:N - The attacker opens /dev/teepriv0 themselves to schedule the bus-scan work; no victim action is required, and in the natural case the crash occurs unattended when the tee-supplicant system daemon starts at boot. S:U - The freed object and all corrupted structures (struct tee_client_device, kobject, kernfs nodes) live in normal kernel memory under the same security authority; nothing crosses into the secure world, a hypervisor, or an IOMMU boundary. C:H - The use-after-free dereferences attacker-groomable freed memory through a chain of pointers (kobj->sd → parent->priv → kobj->ktype->sysfs_ops), giving a controllable read primitive over arbitrary kernel addresses once the slab object is reallocated with attacker data. I:H - The same UAF drives __kernfs_create_file() and kobject_get_ownership() through attacker-controlled pointers, producing writes into attacker-chosen addresses (kernfs rbtree links, parent->dir.subdirs) and an indirect call via ktype->get_ownership — sufficient for control-flow hijack and privilege escalation. A:H - The bug is a confirmed kernel panic (Oops with a level-1 translation fault in the optee_bus_scan kworker), and on affected platforms it reproduces every boot, rendering the system unusable.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux a953e45ebeae9a5ce342c012f7eb2a92cc8af89b to < bc40ded92af55760d12bec8222d4108de725dbe4 (affected · git)01c13d8a95e0909f0081d6e3e8a891761992371b to < 4b12ff5edd141926d49c9ace4791adf3a4902fe7 (affected · git)1c9561b438cbe61e78515fc7b16dc7fb8cf0b763 to < e5b5948c769aa1ebf962dddfb972f87d8f166f95 (affected · git)d3c4786b01aad8c377718f92d6d9b15906ee0a2a to < 520f79c110ff712b391b3d87fcacf03c74bc56ee (affected · git)7269cba53d906cf257c139d3b3a53ad272176bca to < bfa344afbe472a9be08f78551fa2190c1a07d7d3 (affected · git)7269cba53d906cf257c139d3b3a53ad272176bca to < 95915ba4b987cf2b222b0f251280228a1ff977ac (affected · git)5.10.204 to < 5.10.215 (affected · semver)5.15.143 to < 5.15.154 (affected · semver)6.1.68 to < 6.1.84 (affected · semver)6.6.7 to < 6.6.24 (affected · semver)Default: unaffected Linux · cna
Linux Linux 6.7 (affected)0 to < 6.7 (unaffected · semver)5.10.215 through 5.10.* (unaffected · semver)5.15.154 through 5.15.* (unaffected · semver)6.1.84 through 6.1.* (unaffected · semver)6.6.24 through 6.6.* (unaffected · semver)6.7.12 through 6.7.* (unaffected · semver)6.8 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

7

Provider assertions

3

Linux · cna

tee: optee: Fix kernel panic caused by incorrect error handling

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
d35ad84d5d3ed00896d4032021b33cf36ea36f1c2688027ffeb3d7210998c886
Ingested
23 Sep 2026, 08:23:51 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected