CVE-2022-49516

ice: always check VF VSI pointer values

State
Published
Severity
5.5 Medium
Published
Feb 26, 2025
Updated
Aug 15, 2026
Reserved
Feb 26, 2025

Read the record on cve.org

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

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 12bb018c538c3b9a050f69f62fa09fa6c9160bca to before e7be3877589d539c52e5d1d23a625f889b541b9dAffected
  • 12bb018c538c3b9a050f69f62fa09fa6c9160bca to before baeb705fd6a7245cc1fa69ed991a9cffdf44a174Affected
LinuxLinux
  • 5.8Affected
  • before 5.8Not affected
  • 5.18.3 through 5.18.*Not affected
  • 5.19 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.