Bug 2153067 (CVE-2022-3105) - CVE-2022-3105 kernel: RDMA/uverbs: NULL pointer dereference in uapi_finalize()
Summary: CVE-2022-3105 kernel: RDMA/uverbs: NULL pointer dereference in uapi_finalize()
Keywords:
Status: NEW
Alias: CVE-2022-3105
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2006441 2036597 2214249 2214250
Blocks: 2153051
TreeView+ depends on / blocked
 
Reported: 2022-12-13 22:09 UTC by Sage McTaggart
Modified: 2023-07-11 18:11 UTC (History)
45 users (show)

Fixed In Version: kernel 5.16
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Sage McTaggart 2022-12-13 22:09:08 UTC
[Suggested description]
An issue was discovered in the Linux kernel through 5.16-rc6.
uapi_finalize in drivers/infiniband/core/uverbs_uapi.c lacks check of
kmalloc_array().

------------------------------------------

[VulnerabilityType Other]
NULL Pointer Dereference

------------------------------------------

[Vendor of Product]
the development group

------------------------------------------

[Affected Product Code Base]
Linux kernel - 5.16-rc6

------------------------------------------

[Reference]
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v5.19-rc2&id=7694a7de22c53a312ea98960fcafc6ec62046531

------------------------------------------

[Discoverer]
Jiasheng Jiang

Comment 4 Mauro Matteo Cascella 2023-06-12 09:35:05 UTC
Upstream commit:
https://github.com/torvalds/linux/commit/7694a7de22c53a312ea98960fcafc6ec62046531

Comment 6 Mauro Matteo Cascella 2023-06-12 09:35:47 UTC
This issue was fixed upstream in version 5.16. The kernel packages as shipped in the following Red Hat products were previously updated to a version that contains the fix via the following errata:

kernel in Red Hat Enterprise Linux 8
https://access.redhat.com/errata/RHSA-2022:1988

kernel-rt in Red Hat Enterprise Linux 8
https://access.redhat.com/errata/RHSA-2022:1975


Note You need to log in before you can comment on or make changes to this bug.