CVE-2026-99097

Not scored yetLast modified Oct 26, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= cf4441503e20a0c0a36e0a98dcf57de3d3844c91, < e5dc7af9c3a5373ee7a84959126e7dfa9e4ad50d; >= cf4441503e20a0c0a36e0a98dcf57de3d3844c91, < 65cb86860a80ffc6af897d53f5bd4b1733bca0ec; >= cf4441503e20a0c0a36e0a98dcf57de3d3844c91, < c2a97703359e25ec7ef8b2b0ef32fb3982add90a; >= cf4441503e20a0c0a36e0a98dcf57de3d3844c91, < b7f925fd5226deb953c8dcdc9677d3fcc2717c00
LinuxLinux6.10

References

Timeline

Published
Oct 26, 2026
Last modified
Oct 26, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-99098In the Linux kernel, the following vulnerability has been resolved: dm-integrity: fix buffer overflow in inline mode with large tag size ICVE-2026-990997.8In the Linux kernel, the following vulnerability has been resolved: x86/CPU/AMD: Fix AMD TLBI Erratum #1718 The processor may fail to invaCVE-2026-99108.8Out of bounds memory access in ANGLE in Google Chrome prior to 148.0.7778.216 allowed a remote attacker to execute arbitrary code inside a sCVE-2026-99100In the Linux kernel, the following vulnerability has been resolved: wifi: p54: validate firmware record lengths The p54 firmware parser acCVE-2026-99101In the Linux kernel, the following vulnerability has been resolved: ntfs: move attribute payload before shrinking its record ntfs_new_attrCVE-2026-99102In the Linux kernel, the following vulnerability has been resolved: ntfs: take invalidate_lock in ntfs_setattr_size() ntfs_setattr_size() CVE-2026-99103In the Linux kernel, the following vulnerability has been resolved: workqueue: Fix unbound pool lifetime for pending pwqs KASAN reports a CVE-2026-99104In the Linux kernel, the following vulnerability has been resolved: sched_ext: Fix the bypass dispatch claim for schedulers bypassed by an CVE-2026-99105In the Linux kernel, the following vulnerability has been resolved: sched_ext: Fix stall when a task enqueued with SCX_ENQ_LAST lands back CVE-2026-99106In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: free the userptr ranges when a CS fails after parser_bos aCVE-2026-991077.8In the Linux kernel, the following vulnerability has been resolved: ntfs: fix incorrect MFT record pointer passed to ntfs_attr_record_resizCVE-2026-99108In the Linux kernel, the following vulnerability has been resolved: ntfs: fix FITRIM range alignment ntfs_trim_fs() aligns the start of a
CVE-2026-99097: Unscored | Vulnix