CVE-2022-50454
Unknown Unknown - Not Provided

BaseFortify

Vulnerability report for CVE-2022-50454, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2025-10-01

Last updated on: 2025-10-02

Assigner: kernel.org

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2025-10-01
Last Modified
2025-10-02
Generated
2026-07-06
AI Q&A
2025-10-01
EPSS Evaluated
2026-07-05
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel From 5.15.160 (inc) to 5.16 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a use-after-free bug in the Linux kernel's nouveau driver, specifically in the function nouveau_gem_prime_import_sg_table(). When nouveau_bo_init() fails, it frees memory, but a subsequent call to nouveau_bo_ref() uses this already freed memory, leading to a use-after-free condition. The fix involves removing the call to nouveau_bo_ref() to prevent accessing freed memory.

Impact Analysis

The use-after-free vulnerability can lead to undefined behavior such as system crashes, memory corruption, or potentially allow an attacker to execute arbitrary code or escalate privileges by exploiting the freed memory access in the nouveau driver.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2022-50454. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart