Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Local ioctl access with low privileges sufficient to trigger leak; no confidentiality or integrity impact, only memory exhaustion availability loss.
Primary rating from NVD.
CVSS VectorNVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Lifecycle Timeline
5DescriptionNVD
In the Linux kernel, the following vulnerability has been resolved:
tee: shm: fix shm leak in register_shm_helper()
register_shm_helper() allocates shm before calling iov_iter_npages(). If iov_iter_npages() returns 0, the function jumps to err_ctx_put and leaks shm.
This can be triggered by TEE_IOC_SHM_REGISTER with struct tee_ioctl_shm_register_data where length is 0.
Jump to err_free_shm instead.
AnalysisAI
Memory leak in the Linux kernel TEE subsystem's register_shm_helper() function allows a local low-privileged user to exhaust kernel memory and degrade system availability. Triggering the leak requires calling the TEE_IOC_SHM_REGISTER ioctl with a length of zero, causing the function to allocate shared memory and then skip its deallocation when iov_iter_npages() returns 0. …
Unlock full vulnerability intelligence
- Risk assessment & exploitation conditions
- Attack chain visualization
- Remediation with exact patch versions
- Threat intelligence from 22 sources
- Personal watchlist & email alerts
Free forever · No credit card required
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata
Vulnerability AssessmentAI
| Exploitation | Exploitation requires: (1) local authenticated access to the target system; (2) permission to open and ioctl the TEE device node (/dev/tee0 or equivalent - typically restricted to a tee group or root on most distributions); (3) the kernel must have the TEE driver compiled and loaded (CONFIG_TEE=y/m); and (4) TEE-capable hardware must be present (primarily ARM TrustZone SoCs - uncommon on standard x86 servers or desktop Linux systems). … Additional conditions and limiting factors are described in the full assessment. |
| Risk Assessment | Real-world risk is moderate-to-low despite the Availability:High CVSS impact rating. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in. |
| Exploit Scenario | A local user with shell access to a Linux system running TEE-capable hardware (e.g., an ARM SoC with TrustZone) opens /dev/tee0 and repeatedly invokes the TEE_IOC_SHM_REGISTER ioctl with a tee_ioctl_shm_register_data structure where length is set to zero. Each call leaks a kernel shm allocation without triggering the free path, and after sufficient iterations the kernel OOM killer fires or system performance degrades significantly. … |
| Remediation | Upgrade to a patched Linux kernel version: 6.12.94 or later on the 6.12 stable branch, 6.18.36 or later on the 6.18 stable branch, 7.0.13 or later on the 7.0 stable branch, or the 7.1 release. … Detailed patch versions, workarounds, and compensating controls in full report. |
Threat intelligence, references, and detailed analysis are available after sign-in.
Same weakness CWE-401 – Memory Leak
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-39301
GHSA-wfx4-v2wf-4gmp