Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-99097— tee: shm: reject zero-sized allocations in tee_dyn_shm_alloc_helper()

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

在 Linux 内核中,以下漏洞已得到修复: tee: shm: 在 tee_dyn_shm_alloc_helper() 中拒绝零大小的内存分配请求 tee_dyn_shm_alloc_helper() 函数根据调用者提供的大小参数计算 nr_pages,并在未进行校验的情况下将其传递给 alloc_pages_exact()。当 size 为 0 时,nr_pages 也为 0,此时 alloc_pages_exact(0) 会调用 get_order(0)。根据文档,get_order(0) 的行为是未定义的

AI Predicted 7.5 Difficulty: Easy

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-99097

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
tee: shm: reject zero-sized allocations in tee_dyn_shm_alloc_helper()
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: tee: shm: reject zero-sized allocations in tee_dyn_shm_alloc_helper() tee_dyn_shm_alloc_helper() derives nr_pages from a caller-supplied size and passes it to alloc_pages_exact() without checking it. For size == 0 nr_pages is 0, and alloc_pages_exact(0) calls get_order(0), which is documented as undefined and returns BITS_PER_LONG - PAGE_SHIFT. The page allocator then trips its order > MAX_PAGE_ORDER warning and fails the allocation; on a panic_on_warn kernel that ends the boot. This can be triggered by TEE_IOC_SHM_ALLOC with struct tee_ioctl_shm_alloc_data where size is 0. Reject a zero page count, as register_shm_helper() already does for the register path.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux cf4441503e20a0c0a36e0a98dcf57de3d3844c91 ~ e5dc7af9c3a5373ee7a84959126e7dfa9e4ad50d -
Linux Linux 6.10 -

II. Public POCs for CVE-2026-99097

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-99097

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-99097 (4)

Same Patch Batch · Linux · 2026-10-26 · 12 CVEs total

CVE-2026-99099 x86/CPU/AMD: Fix AMD TLBI Erratum #1718
CVE-2026-99098 dm-integrity: fix buffer overflow in inline mode with large tag size
CVE-2026-99095 drm/vc4: drain the hangcheck timer and works on V3D unbind
CVE-2026-99096 io_uring/register: don't exempt disabled rings from task restrictions
CVE-2026-99094 Bluetooth: btintel_pcie: fix TX descriptor bounds check
CVE-2026-99093 mm: don't schedule deferred kernel page table freeing while booting
CVE-2026-99092 riscv: patch: fix handling of bpf-jit execmem addresses
CVE-2026-99090 drm/amdgpu: serialize vblank counter reads against GPU reset
CVE-2026-99091 Bluetooth: MGMT: Fix status of pending commands flushed on power off
CVE-2026-99089 ASoC: samsung: i2s: enable op_clk in probe to balance runtime PM
CVE-2026-99088 net: openvswitch: validate transport header presence in set_ipv6_addr

IV. Related Vulnerabilities