2084AI Security Observatory

CVE

CVE-2022-50454

CVE-2022-50454HIGH 7.8EPSS 6%

CNA description

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 versions

All Linux kernel vulnerabilities →

  • ≥ 6.0, < 6.0.3Fixed in 6.0.3
  • ≥ 5.16, < 5.19.17Fixed in 5.19.17
  • ≥ 5.11, < 5.15.75Fixed in 5.15.75
  • ≥ 5.5, < 5.10.150Fixed in 5.10.150
  • ≥ 5.4, < 5.4.220Fixed in 5.4.220

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.