What’s Vulnerable › Vulnerabilities

CVE-2021-47141: gve: Add NULL pointer checks when freeing irqs.

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.42, 5.12.9, 5.4.124. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-47141 or the next vulnerability affects your stack