CVE-2022-3105: Unchecked Memory Allocation in Linux Kernel uapi_finalize
- Vendor
- Linux
CVE-2022-3105 is an unchecked memory-allocation vulnerability in the Linux kernel through 5.16-rc6. The InfiniBand userspace-verbs function uapi_finalize() fails to check the return value of kmalloc_array(). If allocation fails, subsequent use of the returned pointer may cause a NULL pointer dereference and kernel failure.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
The unchecked allocation failure can potentially cause a kernel crash and denial of service. Privilege escalation, information disclosure, and arbitrary code execution are not established for this vulnerability.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to the affected InfiniBand functionality to trusted users only. Monitor for kernel updates and apply them promptly. Consider using kernel hardening options to reduce the risk of exploitation.
Remediation
Patch, then assume compromise.
Install the applicable vendor kernel security update and reboot into the updated kernel. For affected RHEL 8 Real Time systems, RHSA-2022:1975 identifies kernel-rt-4.18.0-372.9.1.rt7.166.el8 or a later applicable package. CentOS 8.5 remediation is associated with TuxCare advisory CLSA-2023-1695716575, although an exact fixed package version is not available. The code-level correction is to check the kmalloc_array() return value and handle allocation failure before using the pointer.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2022-3105 exploited in the wild?
- As of Oct 19, 2026, Mallory has no reports of CVE-2022-3105 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2022-3105?
- As of Oct 19, 2026, Mallory has found no public exploit for CVE-2022-3105.
- Is there a patch for CVE-2022-3105?
- Install the applicable vendor kernel security update and reboot into the updated kernel. For affected RHEL 8 Real Time systems, RHSA-2022:1975 identifies kernel-rt-4.18.0-372.9.1.rt7.166.el8 or a later applicable package.
- What products are affected by CVE-2022-3105?
- Linux Kernel.
- How severe is CVE-2022-3105?
- CVE-2022-3105 has a CVSS v3.1 score of 5.5 (Medium) and an EPSS score of 0.28% (13th percentile) as of Oct 19, 2026.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.