CVE-2024-35785

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

HIGH
7.1
CVSS Score
Published: May 17, 2024 at 12:24 PM UTC
Updated: August 5, 2026 at 12:04 PM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.1
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.10.204 ≤ v < 5.10.2155.15.143 ≤ v < 5.15.1546.1.68 ≤ v < 6.1.846.6.7 ≤ v < 6.6.246.7 ≤ v < 6.7.126.7 ≤ v < 6.86.7.1 ≤ v < 6.7.121c13d8a95e909f81d6e3e8a891761992371b1c9561b438cbe61e78515fc7b16dc7fb8cf0b7635.10.2045.15.1436.1.686.6.76.76.7 rc56.7 rc66.7 rc76.7 rc86.8 rc16.8 rc26.8 rc36.8 rc46.8 rc56.8 rc66.8 rc77269cba53d906cf257c139d3b3a53ad272176bcaa953e45ebeae9a5ce342c012f7eb2a92cc8af89bd3c4786b01aad8c377718f92d6d9b15906ee0a2a
Vendor states this is fixed in 4b12ff5edd141926d49c9ace4791adf3a4902fe7 (fixed)
Vendor states this is fixed in 520f79c110ff712b391b3d87fcacf03c74bc56ee (fixed)
Vendor states this is fixed in 95915ba4b987cf2b222b0f251280228a1ff977ac (fixed)
Vendor states this is fixed in bc40ded92af55760d12bec8222d4108de725dbe4 (fixed)
Vendor states this is fixed in bfa344afbe472a9be08f78551fa2190c1a07d7d3 (fixed)
Vendor states this is fixed in e5b5948c769aa1ebf962dddfb972f87d8f166f95 (fixed)
Vendor states this is fixed in 5.10.215 (unaffected)
Vendor states this is fixed in 5.15.154 (unaffected)
Vendor states this is fixed in 6.1.84 (unaffected)
Vendor states this is fixed in 6.6.24 (unaffected)
Vendor states this is fixed in 6.7 (unaffected)
Vendor states this is fixed in 6.7.12 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4b12ff5edd141926d49c9ace4791adf3a4902fe7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/520f79c110ff712b391b3d87fcacf03c74bc56ee
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/95915ba4b987cf2b222b0f251280228a1ff977ac
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bc40ded92af55760d12bec8222d4108de725dbe4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bfa344afbe472a9be08f78551fa2190c1a07d7d3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e5b5948c769aa1ebf962dddfb972f87d8f166f95
Third Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-754

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card