gve: Add NULL pointer checks when freeing irqs. (Linux Linux)

CVE-2021-47141
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.22 % · percentile 13 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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.

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 893ce44df56580fb878ca5af9c4a5fd87567da50 < 821149ee88c206fa37e79c1868cc270518484876 ; affected 893ce44df56580fb878ca5af9c4a5fd87567da50 < da21a35c00ff1a1794d4f166d3b3fa8db4d0f6fb ; affected 893ce44df56580fb878ca5af9c4a5fd87567da50 < 5278c75266c5094d3c0958793bf12fc90300e580 ; affected 893ce44df56580fb878ca5af9c4a5fd87567da50 < 5218e919c8d06279884aa0baf76778a6817d5b93
Linux · Linuxaffected 5.3 ; unaffected 0 < 5.3 ; unaffected 5.4.124 ≤ 5.4.* ; unaffected 5.10.42 ≤ 5.10.* ; unaffected 5.12.9 ≤ 5.12.* ; unaffected 5.13 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD