CVE-2020-36788

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

HIGH
7.8
CVSS Score
Published: May 21, 2024 at 03:03 PM UTC
Updated: August 5, 2026 at 09:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.14.125.4 ≤ v < 5.10.735.4 ≤ v < 5.14.125.4 ≤ v < 5.1519cbd4a4feb3aa3a917d78e7110e3011bbff6d55.15 rc15.15 rc25.15 rc35.15 rc4
Vendor states this is fixed in 548f2ff8ea5e0ce767ae3418d1ec5308990be87d (fixed)
Vendor states this is fixed in bcf34aa5082ee2343574bc3f4d1c126030913e54 (fixed)
Vendor states this is fixed in f86e19d918a85492ad1a01fcdc0ad5ecbdac6f96 (fixed)
Vendor states this is fixed in 5.10.73 (unaffected)
Vendor states this is fixed in 5.14.12 (unaffected)
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 5.4 (unaffected)

References (3)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/548f2ff8ea5e0ce767ae3418d1ec5308990be87d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bcf34aa5082ee2343574bc3f4d1c126030913e54
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f86e19d918a85492ad1a01fcdc0ad5ecbdac6f96

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card