CVE-2022-50454

HIGH

Linux Kernel < 5.4.220 - Use After Free

Title source: rule

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.

Scores

CVSS v3 7.8
EPSS 0.0001
EPSS Percentile 3.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE
CWE-416
Status published

Affected Products (6)

linux/linux_kernel < 5.4.220
linux/Kernel < 5.4.220linux
linux/Kernel < 5.10.150linux
linux/Kernel < 5.15.75linux
linux/Kernel < 5.19.17linux
linux/Kernel < 6.0.3linux

Timeline

Published Oct 01, 2025
Tracked Since Feb 18, 2026