gve: Add NULL pointer checks when freeing irqs.
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
gve: Add NULL pointer checks when freeing irqs.
When freeing notification blocks, we index priv->msix_vectors. If we failed to allocate priv->msix_vectors (see abort_with_msix_vectors) this could lead to a NULL pointer dereference if the driver is unloaded.
From the CVE record · Linux
The Linux kernel gve driver can dereference a NULL pointer while freeing notification blocks if allocation of `priv->msix_vectors` failed. The error can occur when the driver is unloaded; the input does not establish whether an attacker can trigger it or what access would be required.
Engineers running Linux kernels with the gve driver should check their affected versions; none are specified in the input.