Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2020-36788

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

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 019cbd4a4feb3aa3a917d78e7110e3011bbff6d5 to < f86e19d918a85492ad1a01fcdc0ad5ecbdac6f96affected
  • 019cbd4a4feb3aa3a917d78e7110e3011bbff6d5 to < 548f2ff8ea5e0ce767ae3418d1ec5308990be87daffected
  • 019cbd4a4feb3aa3a917d78e7110e3011bbff6d5 to < bcf34aa5082ee2343574bc3f4d1c126030913e54affected

Linux Linux

Default version status: affected

  • 5.4affected
  • 0 to < 5.4unaffected
  • 5.10.73 to ≤ 5.10.*unaffected
  • 5.14.12 to ≤ 5.14.*unaffected
  • 5.15 to ≤ *unaffected

References