CVE-2022-50454CWE-416

CVE-2022-50454

High · published October 1, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
5.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00164 · 5.3th percentile
Weakness
CWE-416 · Use After Free
Published
2025-10-01T16:15Z
Affected products (5)
ProductVersionsFixed in
linux/linux_kernel≥ 5.4, < 5.4.2205.4.220
linux/linux_kernel≥ 5.5, < 5.10.1505.10.150
linux/linux_kernel≥ 5.11, < 5.15.755.15.75
linux/linux_kernel≥ 5.16, < 5.19.175.19.17
linux/linux_kernel≥ 6.0, < 6.0.36.0.3
References (6)
EPSS history
Timeline
  • 01 OCT 11:45Z
    drm/nouveau: fix a use-after-free in nouveau_gem_prime_import_sg_table()
    cvelistv5