Use After Free in Linux

CVE-2020-36788

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

Vulnerability class: Use-After-Free

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS 0.002, 14.1th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 019cbd4a4feb3aa3a917d78e7110e3011bbff6d5, 5.4, 0
  • Linux Kernel — versions 5.15

Weakness classification (CWE)

References