{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-47657","id":"CVE-2021-47657","title":"drm/virtio: Ensure that objs is not NULL in virtio_gpu_array_put_free()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/virtio: Ensure that objs is not NULL in virtio_gpu_array_put_free()\n\nIf virtio_gpu_object_shmem_init() fails (e.g. due to fault injection, as it\nhappened in the bug report by syzbot), virtio_gpu_array_put_free() could be\ncalled with objs equal to NULL.\n\nEnsure that objs is not NULL in virtio_gpu_array_put_free(), or otherwise","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/virtio: Ensure that objs is not NULL in virtio_gpu_array_put_free()\n\nIf virtio_gpu_object_shmem_init() fails (e.g. due to fault injection, as it\nhappened in the bug report by syzbot), virtio_gpu_array_put_free() could be\ncalled with objs equal to NULL.\n\nEnsure that objs is not NULL in virtio_gpu_array_put_free(), or otherwise\nreturn from the function.","published":"2025-02-26T01:54:20.727Z","updated":"2026-06-17T04:18:15.883Z","reserved":"2025-02-26T01:48:21.521Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"377f8331d0565e6f71ba081c894029a92d0c7e77","lessThan":"b094fece3810c71ceee6f0921676cb65d4e68c5a","status":"affected","versionType":"git"},{"version":"377f8331d0565e6f71ba081c894029a92d0c7e77","lessThan":"ac92b474eeeed75b8660374ba1d129a121c09da8","status":"affected","versionType":"git"},{"version":"377f8331d0565e6f71ba081c894029a92d0c7e77","lessThan":"abc9ad36df16e27ac1c665085157f1a082d39bac","status":"affected","versionType":"git"},{"version":"377f8331d0565e6f71ba081c894029a92d0c7e77","lessThan":"6b79f96f4a23846516e5e6e4dd37fc06f43a60dd","status":"affected","versionType":"git"},{"version":"244dbb4abe123779ec30e7c6ca283a681aba5c94","status":"affected","versionType":"git"},{"version":"1016c0f62f73d5d2c3a5d1ad1e1fb0cdce1993ae","status":"affected","versionType":"git"},{"version":"5.11.20","lessThan":"5.12","status":"affected","versionType":"semver"},{"version":"5.12.3","lessThan":"5.13","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.13","status":"affected"},{"version":"0","lessThan":"5.13","status":"unaffected","versionType":"semver"},{"version":"5.15.32","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.16.18","lessThanOrEqual":"5.16.*","status":"unaffected","versionType":"semver"},{"version":"5.17.1","lessThanOrEqual":"5.17.*","status":"unaffected","versionType":"semver"},{"version":"5.18","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/b094fece3810c71ceee6f0921676cb65d4e68c5a","tags":["Patch","fix"]},{"url":"https://git.kernel.org/stable/c/ac92b474eeeed75b8660374ba1d129a121c09da8","tags":["Patch","fix"]},{"url":"https://git.kernel.org/stable/c/abc9ad36df16e27ac1c665085157f1a082d39bac","tags":["Patch","fix"]},{"url":"https://git.kernel.org/stable/c/6b79f96f4a23846516e5e6e4dd37fc06f43a60dd","tags":["Patch","fix"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00278,"epssPercentile":0.20595,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-47657","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47657","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-47657","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-47657","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}