Bug 2153066 (CVE-2022-3106) - CVE-2022-3106 kernel: sfc_ef100: NULL pointer dereference in ef100_update_stats()
Summary: CVE-2022-3106 kernel: sfc_ef100: NULL pointer dereference in ef100_update_sta...
Keywords:
Status: NEW
Alias: CVE-2022-3106
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 2042798 2214247 2214248
Blocks: 2153051
TreeView+ depends on / blocked
 
Reported: 2022-12-13 22:07 UTC by Sage McTaggart
Modified: 2023-07-11 18:11 UTC (History)
45 users (show)

Fixed In Version: kernel 5.16-rc6
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:07:18 UTC
[Suggested description]
An issue was discovered in the Linux kernel through 5.16-rc6.
ef100_update_stats in drivers/net/ethernet/sfc/ef100_nic.c lacks check
of the return value of kmalloc().

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

[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=407ecd1bd726f240123f704620d46e285ff30dd9

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

[Discoverer]
Jiasheng Jiang

Comment 4 Mauro Matteo Cascella 2023-06-12 09:19:12 UTC
Upstream commit:
https://github.com/torvalds/linux/commit/407ecd1bd726f240123f704620d46e285ff30dd9

Comment 6 Mauro Matteo Cascella 2023-06-12 09:29:03 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.