CVE-2024-35785: tee: optee: Fix kernel panic caused by incorrect error handling
Noroxi assessment
Priority: Monitor (action score 28/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.23% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 4b12ff5edd141926d49c9ace4791adf3a4902fe7, 5.10.215, 5.15.154.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to Linux Linux 4b12ff5edd141926d49c9ace4791adf3a4902fe7, 5.10.215, 5.15.154 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- May 17, 2024
- Updated
- Aug 5, 2026
- EPSS
- 0.2% · 14th percentile
- CWE
- CWE-754
Report tools
Action score
28
Monitor
Low priority for now.
- CVSS
- 28 / 40 · 7.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 7.1
- CNA · Linux
- 7.8
- 0.7 point gap
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux10.0
- linux linux kernel5.15.143 and later · before 5.15.154
- linux linux kernel6.1.68 and later · before 6.1.84
- linux linux kernel6.6.7 and later · before 6.6.24
- linux linux kernel5.10.204 and later · before 5.10.215
- linux linux kernel6.7.1 and later · before 6.7.12
- linux linux kernel6.7
- linux linux kernel6.8
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 6.7affected
- a953e45ebeae9a5ce342c012f7eb2a92cc8af89b and later · before bc40ded92af55760d12bec8222d4108de725dbe4affected · git
- 01c13d8a95e0909f0081d6e3e8a891761992371b and later · before 4b12ff5edd141926d49c9ace4791adf3a4902fe7affected · git
- 1c9561b438cbe61e78515fc7b16dc7fb8cf0b763 and later · before e5b5948c769aa1ebf962dddfb972f87d8f166f95affected · git
- d3c4786b01aad8c377718f92d6d9b15906ee0a2a and later · before 520f79c110ff712b391b3d87fcacf03c74bc56eeaffected · git
- 7269cba53d906cf257c139d3b3a53ad272176bca and later · before bfa344afbe472a9be08f78551fa2190c1a07d7d3affected · git
- 7269cba53d906cf257c139d3b3a53ad272176bca and later · before 95915ba4b987cf2b222b0f251280228a1ff977acaffected · git
- 5.10.204 and later · before 5.10.215affected · semver
- 5.15.143 and later · before 5.15.154affected · semver
- 6.1.68 and later · before 6.1.84affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 6.1.85-1 | 6.1.85-1 |
| Debian:13 | linux | before 6.7.12-1 | 6.7.12-1 |
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2024-27434May 17, 2024 · wifi: iwlwifi: mvm: don't set the MFP flag for the GTK22Monitor
- ← EarlierCVE-2024-27435May 17, 2024 · nvme: fix reconnection fail due to reserved tag allocation22Monitor
- Later →CVE-2024-35786May 17, 2024 · drm/nouveau: fix stale locked mutex in nouveau_gem_ioctl_pushbuf22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 4b12ff5edd141926d49c9ace4791adf3a4902fe7 | Vendor (CNA) |
| Linux Linux | 5.10.215 | Vendor (CNA) |
| Linux Linux | 5.15.154 | Vendor (CNA) |
| Linux Linux | 520f79c110ff712b391b3d87fcacf03c74bc56ee | Vendor (CNA) |
| Linux Linux | 6.1.84 | Vendor (CNA) |
| Linux Linux | 6.6.24 | Vendor (CNA) |
| Linux Linux | 95915ba4b987cf2b222b0f251280228a1ff977ac | Vendor (CNA) |
| Linux Linux | bc40ded92af55760d12bec8222d4108de725dbe4 | Vendor (CNA) |
| Linux Linux | bfa344afbe472a9be08f78551fa2190c1a07d7d3 | Vendor (CNA) |
| Linux Linux | e5b5948c769aa1ebf962dddfb972f87d8f166f95 | Vendor (CNA) |
| debian:linux | 6.1.85-1 · Debian:12 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2025-39682476 days aparttls: fix handling of zero-length records on the rx_listKEV70This week
- CVE-2024-4215974 days apartscsi: mpi3mr: Sanitise num_phys31Monitor
- CVE-2024-4216074 days apartf2fs: check validation of fault attrs in f2fs_build_fault_attr()31Monitor
- CVE-2021-4701479 days apartnet/sched: act_ct: fix wild memory access when clearing fragments31Monitor
- CVE-2024-4228492 days aparttipc: Return non-zero value from tipc_udp_addr2str() on error31Monitor
- CVE-2024-47727157 days apartx86/tdx: Fix "in-kernel MMIO" check31Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-24-0506 · May 20, 2024(Linux Kernel Güncellemesi)
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-754 · Improper Check for Unusual or Exceptional ConditionsCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (6 more)Show less
- git.kernel.org/stable/c/520f79c110ff712b391b3d87fcacf03c74bc56ee
- git.kernel.org/stable/c/95915ba4b987cf2b222b0f251280228a1ff977ac
- git.kernel.org/stable/c/bc40ded92af55760d12bec8222d4108de725dbe4
- git.kernel.org/stable/c/bfa344afbe472a9be08f78551fa2190c1a07d7d3
- git.kernel.org/stable/c/e5b5948c769aa1ebf962dddfb972f87d8f166f95
- lists.debian.org/debian-lts-announce/2024/06/msg00017.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.