CVE-2022-50080
publishedtee: add overflow check in register_shm_helper()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux033ddf12bcf5326b93bd604f50a7474a434a35f9 to < b37e0f17653c00b586cdbcdf0dbca475358ecffd · 033ddf12bcf5326b93bd604f50a7474a434a35f9 to < 965333345fe952cc7eebc8e3a565ffc709441af2 · 033ddf12bcf5326b93bd604f50a7474a434a35f9 to < 578c349570d2a912401963783b36e0ec7a25c053 · 033ddf12bcf5326b93bd604f50a7474a434a35f9 to < c12f0e6126ad223806a365084e86370511654bf1 · 033ddf12bcf5326b93bd604f50a7474a434a35f9 to < 2f8e79a1a6128214cb9b205a9869341af5dfb16b · 033ddf12bcf5326b93bd604f50a7474a434a35f9 to < 58c008d4d398f792ca67f35650610864725518fd · 033ddf12bcf5326b93bd604f50a7474a434a35f9 to < 573ae4f13f630d6660008f1974c0a8a29c30e18a · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.16 (affected) · 0 to < 4.16 (unaffected · semver) · 4.19.256 through 4.19.* (unaffected · semver) · 5.4.211 through 5.4.* (unaffected · semver) · 5.10.137 through 5.10.* (unaffected · semver) · 5.15.62 through 5.15.* (unaffected · semver) · 5.18.19 through 5.18.* (unaffected · semver) · 5.19.3 through 5.19.* (unaffected · semver) · 6.0 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolaarch64 | Advisory build | 7.3.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolppc64le | Advisory build | 7.3.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | bpftools390x | Advisory build | 7.3.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | bpftoolx86_64 | Advisory build | 7.3.0-427.13.1.el9_4 | RHSA-2024:2394 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfoaarch64 | Advisory build | 7.3.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfoppc64le | Advisory build | 7.3.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfos390x | Advisory build | 7.3.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | bpftool-debuginfox86_64 | Advisory build | 7.3.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernelaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernelppc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernels390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernelsrc | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernelx86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64kaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-coreaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debugaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-coreaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-debuginfoaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-develaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-devel-matchedaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modulesaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modules-coreaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debug-modules-extraaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-debuginfoaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-develaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-devel-matchedaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modulesaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modules-coreaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-64k-modules-extraaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-abi-stablelistsnoarch | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-coreppc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-cores390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-corex86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugppc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugs390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debugx86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-coreaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-coreppc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-cores390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-corex86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfoaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfoppc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfos390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-debuginfox86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develppc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devels390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-develx86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedppc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matcheds390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-devel-matchedx86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesppc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-moduless390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modulesx86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-coreaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-coreppc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-cores390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-corex86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extraaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extrappc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extras390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-modules-extrax86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debug-uki-virtx86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfoaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfoppc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfos390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfox86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-aarch64aarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-ppc64leppc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-s390xs390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-debuginfo-common-x86_64x86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develppc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devels390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-develx86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedppc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matcheds390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-devel-matchedx86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-docnoarch | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesppc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-moduless390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modulesx86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-coreaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-coreppc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-cores390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-corex86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extraaarch64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extrappc64le | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extras390x | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-modules-extrax86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rtx86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-corex86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-debugx86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
| Red Hat Enterprise Linux | RHEL-9 | kernel-rt-debug-corex86_64 | Advisory build | 5.14.0-427.13.1.el9_4 | RHSA-2024:2394 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: tee: add overflow check in register_shm_helper() With special lengths supplied by user space, register_shm_helper() has an integer overflow when calculating the number of pages covered by a supplied user space memory region. This causes internal_get_user_pages_fast() a helper function of pin_user_pages_fast() to do a NULL pointer dereference: Unable to handle kernel NULL pointer dereference at virtual address 0000000000000010 Modules linked in: CPU: 1 PID: 173 Comm: optee_example_a Not tainted 5.19.0 #11 Hardware name: QEMU QEMU Virtual Machine, BIOS 0.0.0 02/06/2015 pc : internal_get_user_pages_fast+0x474/0xa80 Call trace: internal_get_user_pages_fast+0x474/0xa80 pin_user_pages_fast+0x24/0x4c register_shm_helper+0x194/0x330 tee_shm_register_user_buf+0x78/0x120 tee_ioctl+0xd0/0x11a0 __arm64_sys_ioctl+0xa8/0xec invoke_syscall+0x48/0x114 Fix this by adding an an explicit call to access_ok() in tee_shm_register_user_buf() to catch an invalid user space address early.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 033ddf12bcf5326b93bd604f50a7474a434a35f9 to < b37e0f17653c00b586cdbcdf0dbca475358ecffd (affected · git)033ddf12bcf5326b93bd604f50a7474a434a35f9 to < 965333345fe952cc7eebc8e3a565ffc709441af2 (affected · git)033ddf12bcf5326b93bd604f50a7474a434a35f9 to < 578c349570d2a912401963783b36e0ec7a25c053 (affected · git)033ddf12bcf5326b93bd604f50a7474a434a35f9 to < c12f0e6126ad223806a365084e86370511654bf1 (affected · git)033ddf12bcf5326b93bd604f50a7474a434a35f9 to < 2f8e79a1a6128214cb9b205a9869341af5dfb16b (affected · git)033ddf12bcf5326b93bd604f50a7474a434a35f9 to < 58c008d4d398f792ca67f35650610864725518fd (affected · git)033ddf12bcf5326b93bd604f50a7474a434a35f9 to < 573ae4f13f630d6660008f1974c0a8a29c30e18a (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.16 (affected)0 to < 4.16 (unaffected · semver)4.19.256 through 4.19.* (unaffected · semver)5.4.211 through 5.4.* (unaffected · semver)5.10.137 through 5.10.* (unaffected · semver)5.15.62 through 5.15.* (unaffected · semver)5.18.19 through 5.18.* (unaffected · semver)5.19.3 through 5.19.* (unaffected · semver)6.0 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
7- https://git.kernel.org/stable/c/2f8e79a1a6128214cb9b205a9869341af5dfb16b
- https://git.kernel.org/stable/c/573ae4f13f630d6660008f1974c0a8a29c30e18a
- https://git.kernel.org/stable/c/578c349570d2a912401963783b36e0ec7a25c053
- https://git.kernel.org/stable/c/58c008d4d398f792ca67f35650610864725518fd
- https://git.kernel.org/stable/c/965333345fe952cc7eebc8e3a565ffc709441af2
- https://git.kernel.org/stable/c/b37e0f17653c00b586cdbcdf0dbca475358ecffd
- https://git.kernel.org/stable/c/c12f0e6126ad223806a365084e86370511654bf1
Provider assertions
2Linux · cna
tee: add overflow check in register_shm_helper()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 992ff3b16e447c8d12bfd718dc193e5ecf8536439e68444918b068c52576f6c6
- Ingested
- 07 Nov 2026, 23:07:48 UTC
- Source record
- Official CVE record