Bug 2153060 (CVE-2022-3107) - CVE-2022-3107 Kernel: Unchecked kvmalloc_array return leads to null pointer dereference.
Summary: CVE-2022-3107 Kernel: Unchecked kvmalloc_array return leads to null pointer d...
Keywords:
Status: NEW
Alias: CVE-2022-3107
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2153051
TreeView+ depends on / blocked
 
Reported: 2022-12-13 22:02 UTC by Sage McTaggart
Modified: 2023-04-01 08:42 UTC (History)
21 users (show)

Fixed In Version: Linux 5.17-rc6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Sage McTaggart 2022-12-13 22:02:05 UTC
[Suggested description]
An issue was discovered in the Linux kernel through 5.16-rc6.
netvsc_get_ethtool_stats in drivers/net/hyperv/netvsc_drv.c lacks check
of the return value of kvmalloc_array() and will cause the null pointer
dereference.

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

[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=886e44c9298a6b428ae046e2fa092ca52e822e6a

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

[Discoverer]
Jiasheng Jiang


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