CVE-2022-49516

MEDIUM

Linux Kernel < 5.18.3 - NULL Pointer Dereference in ice_get_vf_vsi

Title source: llm
STIX 2.1

Description

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.

Scores

CVSS v3 5.5
EPSS 0.0021
EPSS Percentile 11.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-476
Status published
Products (8)
linux/Kernel 5.16.0 - 5.18.3linux
Linux/Linux < 5.16
Linux/Linux 37165e3f5664ee901e89ff9c13723c2743c5e47f - baeb705fd6a7245cc1fa69ed991a9cffdf44a174
Linux/Linux 37165e3f5664ee901e89ff9c13723c2743c5e47f - e7be3877589d539c52e5d1d23a625f889b541b9d
Linux/Linux 5.16
Linux/Linux 5.18.3 - 5.18.*
Linux/Linux 5.19
linux/linux_kernel < 5.18.3
Published Feb 26, 2025
Tracked Since Feb 18, 2026