Bug 2320705 (CVE-2022-49019) - CVE-2022-49019 kernel: net: ethernet: nixge: fix NULL dereference
Summary: CVE-2022-49019 kernel: net: ethernet: nixge: fix NULL dereference
Keywords:
Status: NEW
Alias: CVE-2022-49019
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-21 21:03 UTC by OSIDB Bzimport
Modified: 2024-10-22 08:50 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-10-21 21:03:58 UTC
In the Linux kernel, the following vulnerability has been resolved:

net: ethernet: nixge: fix NULL dereference

In function nixge_hw_dma_bd_release() dereference of NULL pointer
priv->rx_bd_v is possible for the case of its allocation failure in
nixge_hw_dma_bd_init().

Move for() loop with priv->rx_bd_v dereference under the check for
its validity.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Comment 1 Avinash Hanwate 2024-10-22 07:27:11 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024102153-CVE-2022-49019-435d@gregkh/T


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