---
id: CVE-2022-49516
title: |-
  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 r…
summary: |-
  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 r…
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-476
  - CWE-476
vendor: linux
product: linux_kernel
affected:
  - linux_kernel < 5.18.3
patched:
  - linux_kernel 5.18.3
published: '2025-02-26'
updated: '2026-08-15'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2022-49516'
references:
  - url: 'https://git.kernel.org/stable/c/baeb705fd6a7245cc1fa69ed991a9cffdf44a174'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/e7be3877589d539c52e5d1d23a625f889b541b9d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.0023
epssPercentile: 0.1227
ingestedAt: '2026-08-15T13:26:44.109Z'
---

## Overview

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.

## Affected

- `linux_kernel < 5.18.3`

## Remediation

Upgrade past the affected range:

- `linux_kernel 5.18.3`
