CVE-2024-35785CWE-754

CVE-2024-35785

High · published May 17, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
13.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00232 · 13.3th percentile
Weakness
CWE-754 · Improper Check for Unusual or Exceptional Conditions
Published
2024-05-17T17:15Z
Affected products (18)
ProductVersionsFixed in
linux/linux_kernel≥ 5.10.204, < 5.10.2155.10.215
linux/linux_kernel≥ 5.15.143, < 5.15.1545.15.154
linux/linux_kernel≥ 6.1.68, < 6.1.846.1.84
linux/linux_kernel≥ 6.6.7, < 6.6.246.6.24
linux/linux_kernel≥ 6.7.1, < 6.7.126.7.12
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
debian/debian_linuxall versions—
References (13)
EPSS history
Timeline
  • 17 MAY 12:24Z
    tee: optee: Fix kernel panic caused by incorrect error handling
    cvelistv5