CVE-2020-36788

published 21 May 2024 · updated 5 Aug 2026

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

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 548f2ff8ea5e0ce767ae3418d1ec5308990be87d, Kernel bcf34aa5082ee2343574bc3f4d1c126030913e54 and Kernel f86e19d918a85492ad1a01fcdc0ad5ecbdac6f96.

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().

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.4, >=019cbd4a4feb3aa3a917d78e7110e3011bbff6d5 <548f2ff8ea5e0ce767ae3418d1ec5308990be87d, >=019cbd4a4feb3aa3a917d78e7110e3011bbff6d5 <bcf34aa5082ee2343574bc3f4d1c126030913e54, >=019cbd4a4feb3aa3a917d78e7110e3011bbff6d5 <f86e19d918a85492ad1a01fcdc0ad5ecbdac6f96548f2ff8ea5e0ce767ae3418d1ec5308990be87d, bcf34aa5082ee2343574bc3f4d1c126030913e54, f86e19d918a85492ad1a01fcdc0ad5ecbdac6f96

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2020-36788 severity on Zeptric[![CVE-2020-36788](https://zeptric.io/badge/cve/CVE-2020-36788.svg)](https://zeptric.io/cve/CVE-2020-36788)