Kernel crash via TEE shared-memory length overflow
Published Jun 18, 2025 · Updated May 11, 2026
A NULL pointer dereference in Linux kernel TEE shared-memory registration from 4.16 allows local users to crash the kernel. register_shm_helper() overflows while calculating the pages covered by a user-supplied memory range, allowing an invalid range to reach internal_get_user_pages_fast() without early access_ok() rejection. The user must access the TEE ioctl path and supply a specially sized region; successful triggering interrupts the host through a kernel crash.
Summary
What happened
A NULL pointer dereference in Linux kernel TEE shared-memory registration from 4.16 allows local users to crash the kernel. register_shm_helper() overflows while calculating the pages covered by a user-supplied memory range, allowing an invalid range to reach internal_get_user_pages_fast() without early access_ok() rejection. The user must access the TEE ioctl path and supply a specially sized region; successful triggering interrupts the host through a kernel crash.
The record
- CVE
- CVE-2022-50080
- Published
- Jun 18, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 18, 2025CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=033ddf12bcf5326b93bd604f50a7474a434a35f9 <2f8e79a1a6128214cb9b205a9869341af5dfb16b
- Affected versionversion=033ddf12bcf5326b93bd604f50a7474a434a35f9 <573ae4f13f630d6660008f1974c0a8a29c30e18a
- Affected versionversion=033ddf12bcf5326b93bd604f50a7474a434a35f9 <578c349570d2a912401963783b36e0ec7a25c053
- Affected versionversion=033ddf12bcf5326b93bd604f50a7474a434a35f9 <58c008d4d398f792ca67f35650610864725518fd
- Affected versionversion=033ddf12bcf5326b93bd604f50a7474a434a35f9 <965333345fe952cc7eebc8e3a565ffc709441af2
- Affected versionversion=033ddf12bcf5326b93bd604f50a7474a434a35f9 <b37e0f17653c00b586cdbcdf0dbca475358ecffd
- Affected versionversion=033ddf12bcf5326b93bd604f50a7474a434a35f9 <c12f0e6126ad223806a365084e86370511654bf1
- Affected versionversion=4.16
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo