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

CVE record · `CVE-2021-47657`

- **Identifiers:** `CVE-2021-47657`
- **State:** Confirmed
- **Severity:** CVSS 5.5 Medium
- **Critical:** No
- **CNA:** Linux
- **Weakness (CWE):** [CWE-476](https://cwe.mitre.org/data/definitions/476.html)
- **Tags:** [Memory corruption](https://agentprime.io/advisories/tag/memory-corruption.md)
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 26 Feb 2025
- **Updated:** 23 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 26 Feb 2025, 01:54 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `377f8331d0565e6f71ba081c894029a92d0c7e77 to before b094fece3810c71ceee6f0921676cb65d4e68c5a` (git)
  - affected: `377f8331d0565e6f71ba081c894029a92d0c7e77 to before ac92b474eeeed75b8660374ba1d129a121c09da8` (git)
  - affected: `377f8331d0565e6f71ba081c894029a92d0c7e77 to before abc9ad36df16e27ac1c665085157f1a082d39bac` (git)
  - affected: `377f8331d0565e6f71ba081c894029a92d0c7e77 to before 6b79f96f4a23846516e5e6e4dd37fc06f43a60dd` (git)
  - affected: `244dbb4abe123779ec30e7c6ca283a681aba5c94` (git)
  - affected: `1016c0f62f73d5d2c3a5d1ad1e1fb0cdce1993ae` (git)
  - affected: `5.11.20 to before 5.12` (semver)
  - affected: `5.12.3 to before 5.13` (semver)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.13`
  - unaffected: `before 5.13` (semver)
  - unaffected: `5.15.32 to 5.15.*, inclusive` (semver)
  - unaffected: `5.16.18 to 5.16.*, inclusive` (semver)
  - unaffected: `5.17.1 to 5.17.*, inclusive` (semver)
  - unaffected: `5.18 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 5.5 Medium, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0028, the 20th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 26 Feb 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2021-47657](https://www.cve.org/CVERecord?id=CVE-2021-47657)
- [NVD: CVE-2021-47657](https://nvd.nist.gov/vuln/detail/CVE-2021-47657)

### References from the CNA

- <https://git.kernel.org/stable/c/b094fece3810c71ceee6f0921676cb65d4e68c5a>
- <https://git.kernel.org/stable/c/ac92b474eeeed75b8660374ba1d129a121c09da8>
- <https://git.kernel.org/stable/c/abc9ad36df16e27ac1c665085157f1a082d39bac>
- <https://git.kernel.org/stable/c/6b79f96f4a23846516e5e6e4dd37fc06f43a60dd>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2021-47657>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2021-47657/>. Everything for agents: <https://agentprime.io/llms.txt>.
