drm/nouveau: avoid a use-after-free when BO init fails
Published May 21, 2024
7.8
HIGHCVSS 3.1
EPSS 0.23%
Description
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 StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 5.4StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<5.4
- Version 5.10.73StatusunaffectedConstraints<=5.10.*
- Version 5.14.12StatusunaffectedConstraints<=5.14.*
- Version 5.15StatusunaffectedConstraints<=*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
- ≥ 5.4 · < 5.10.73
- ≥ 5.11 · < 5.14.12
- 5.15
- 5.15
- 5.15
- 5.15
No data.
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel
Not affected
Red Hat Enterprise Linux 9
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
PartialDecision
n/aAssessed May 23, 2024 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 4, 2026.
Score over time
2024-2026- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (5 key points)
Flat stretches are collapsed. Showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 4, 2026 | 0.23% (0.00231) | 12.72th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.23% (0.00230) | 13.51th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.05% (0.00048) | 12.18th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00045) | 17.70th | v3 (v2023.03.01) |
| May 22, 2024 | 0.04% (0.00045) | 15.01th | v3 (v2023.03.01) |
References (8)
- https://access.redhat.com/security/cve/CVE-2020-36788 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2282961 Issue Tracking
- https://git.kernel.org/stable/c/548f2ff8ea5e0ce767ae3418d1ec5308990be87d Patch
- https://git.kernel.org/stable/c/bcf34aa5082ee2343574bc3f4d1c126030913e54 Patch
- https://git.kernel.org/stable/c/f86e19d918a85492ad1a01fcdc0ad5ecbdac6f96 Patch
- https://lore.kernel.org/linux-cve-announce/2024052134-CVE-2020-36788-06ab@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2020-36788
- https://www.cve.org/CVERecord?id=CVE-2020-36788
Change history (0)
No recorded changes yet.