drm/virtio: Ensure that objs is not NULL in virtio_gpu_array_put_free() (Linux Linux)

CVE-2021-47657
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.28 % · percentile 20 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: drm/virtio: Ensure that objs is not NULL in virtio_gpu_array_put_free() If virtio_gpu_object_shmem_init() fails (e.g. due to fault injection, as it happened in the bug report by syzbot), virtio_gpu_array_put_free() could be called with objs equal to NULL. Ensure that objs is not NULL in virtio_gpu_array_put_free(), or otherwise return from the function.

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:HCISA-ADP
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)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 377f8331d0565e6f71ba081c894029a92d0c7e77 < b094fece3810c71ceee6f0921676cb65d4e68c5a ; affected 377f8331d0565e6f71ba081c894029a92d0c7e77 < ac92b474eeeed75b8660374ba1d129a121c09da8 ; affected 377f8331d0565e6f71ba081c894029a92d0c7e77 < abc9ad36df16e27ac1c665085157f1a082d39bac ; affected 377f8331d0565e6f71ba081c894029a92d0c7e77 < 6b79f96f4a23846516e5e6e4dd37fc06f43a60dd ; affected 244dbb4abe123779ec30e7c6ca283a681aba5c94 ; affected 1016c0f62f73d5d2c3a5d1ad1e1fb0cdce1993ae
Linux · Linuxaffected 5.13 ; unaffected 0 < 5.13 ; unaffected 5.15.32 ≤ 5.15.* ; unaffected 5.16.18 ≤ 5.16.* ; unaffected 5.17.1 ≤ 5.17.* ; unaffected 5.18 ≤ *

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