Bug 2348075 (CVE-2022-49516) - CVE-2022-49516 kernel: ice: always check VF VSI pointer values
Summary: CVE-2022-49516 kernel: ice: always check VF VSI pointer values
Keywords:
Status: NEW
Alias: CVE-2022-49516
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-26 03:16 UTC by OSIDB Bzimport
Modified: 2025-03-31 13:24 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-02-26 03:16:45 UTC
In the Linux kernel, the following vulnerability has been resolved:

ice: always check VF VSI pointer values

The ice_get_vf_vsi function can return NULL in some cases, such as if
handling messages during a reset where the VSI is being removed and
recreated.

Several places throughout the driver do not bother to check whether this
VSI pointer is valid. Static analysis tools maybe report issues because
they detect paths where a potentially NULL pointer could be dereferenced.

Fix this by checking the return value of ice_get_vf_vsi everywhere.

Comment 1 Avinash Hanwate 2025-02-26 11:01:39 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022610-CVE-2022-49516-2748@gregkh/T

Comment 4 Avinash Hanwate 2025-02-26 15:26:39 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022610-CVE-2022-49516-2748@gregkh/T


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