1. Home
  2. Vulnerabilities
  3. CVE-2022-50454

CVE-2022-50454

In the Linux kernel, the following vulnerability has been resolved: drm/nouveau: fix a use-after-free in…

Published 1 Oct 2025 · modified 4 Aug 2026 · Sources: NVD, EPSS (FIRST)

Low 33/100

Summary

In the Linux kernel, the following vulnerability has been resolved: drm/nouveau: fix a use-after-free in nouveau_gem_prime_import_sg_table() nouveau_bo_init() is backed by ttm_bo_init() and ferries its return code back to the caller. On failures, ttm will call nouveau_bo_del_ttm() and free the memory.Thus, when nouveau_bo_init() returns an error, the gem object has already been released. Then the call to nouveau_bo_ref() will use the freed "nvbo->bo" and lead to a use-after-free bug. We should delete the call to nouveau_bo_ref() to avoid the use-after-free.

Affected products and versions

Linux (5 line(s))
Linux
ProductVersionsFixed inSource
Linux kernel from 5.4 (included) to 5.4.220 (excluded) — NVD
Linux kernel from 5.5 (included) to 5.10.150 (excluded) — NVD
Linux kernel from 5.11 (included) to 5.15.75 (excluded) — NVD
Linux kernel from 5.16 (included) to 5.19.17 (excluded) — NVD
Linux kernel from 6.0 (included) to 6.0.3 (excluded) — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
NVD
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, NVD)
Weakness
CWE-416 · Corruption mémoire

How this data is obtained and calculated