Review reviewHigh

CVE-2020-36788

Linux Linux, linux kernel

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

CVSS
7.8
EPSS
0.23%
13.8% percentile
CISA KEV
Not listed
Published
2024.05.22
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.23%
Technical severityCVSS 7.8

Vulnerability overview

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 product and versions

Product
Linux Linux, linux kernel
Affected versions
>= 019cbd4a4feb3aa3a917d78e7110e3011bbff6d5 < f86e19d918a85492ad1a01fcdc0ad5ecbdac6f96, >= 019cbd4a4feb3aa3a917d78e7110e3011bbff6d5 < 548f2ff8ea5e0ce767ae3418d1ec5308990be87d, >= 019cbd4a4feb3aa3a917d78e7110e3011bbff6d5 < bcf34aa5082ee2343574bc3f4d1c126030913e54, >= 5.4, >= 5.4 < 5.10.73, >= 5.11 < 5.14.12, 5.15
Fixed versions
5.10.73, 5.14.12

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, linux kernel and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-416
CVE-2020-36788 — Linux Linux, linux kernel | SECUFOCUS NOW