VDB

CVE-2020-36788

CVE-2020-36788 PUBLISHED CVSS 7.8 HIGH

drm/nouveau: avoid a use-after-free when BO init fails

Reported by linux · Published May 21, 2024

In the Linux kernel, the following vulnerability has been resolved: drm/nouveau: avoid a use-after-free when BO init fails nouveau_bo_init() is backed by ttm_bo_init() and ferries its return code back to the caller. On failures, ttm_bo_init() invokes the provided destructor which should de-initialize and free the memory. Thus, when nouveau_bo_init() returns an error the gem object has already been released and the memory freed by nouveau_bo_del_ttm().

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinuxbcf34aa5082ee2343574bc3f4d1c126030913e54

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux019cbd4a4feb3aa3a917d78e7110e3011bbff6d5, 019cbd4a4feb3aa3a917d78e7110e3011bbff6d5, 019cbd4a4feb3aa3a917d78e7110e3011bbff6d5
LinuxLinux5.4, 0, 5.10.73
LinuxLinux019cbd4a4feb3aa3a917d78e7110e3011bbff6d5, 5.15, 5.4
linuxlinux_kernel5.4, 5.4, 5.4

Timeline

  • May 21, 2024 CVE Published
  • May 22, 2024 EPSS Score (30 in total, the first dated here)
  • Jun 2, 2026 Security Advisory
  • Aug 5, 2026 CVE Updated
  • Aug 30, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-36788
vulnetix vdb fixes CVE-2020-36788

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-36788/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›