CVE-2022-50454: drm/nouveau: fix a use-after-free in nouveau_gem_prime_import_sg_table()

Published Oct 1, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

drm/nouveau: fix a use-after-free in nouveaugemprimeimportsgtable()

nouveauboinit() is backed by ttmboinit() and ferries its return code back to the caller. On failures, ttm will call nouveaubodelttm() and free the memory.Thus, when nouveauboinit() returns an error, the gem object has already been released. Then the call to nouveauboref() will use the freed "nvbo->bo" and lead to a use-after-free bug.

We should delete the call to nouveauboref() to avoid the use-after-free.

Affected Software

6 affected components
Linux Kernel
Linux Linux kernel>=5.4<5.4.220
Linux Linux kernel>=5.5<5.10.150
Linux Linux kernel>=5.11<5.15.75
Linux Linux kernel>=5.16<5.19.17
Linux Linux kernel>=6.0<6.0.3

Event History

Oct 1, 2025
CVE Published
via MITRE·11:45 AM
Data Sourced
via MITRE·11:45 AM
DescriptionSeverity
Data Sourced
via NVD·12:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2022-50454?

CVE-2022-50454 is rated as high severity due to its potential for causing a use-after-free condition in the Linux kernel.

2

How do I fix CVE-2022-50454?

To fix CVE-2022-50454, update to the latest stable version of the Linux kernel that includes the patch addressing this vulnerability.

3

What does CVE-2022-50454 affect?

CVE-2022-50454 affects the Linux kernel, specifically the nouveau graphics driver within the DRM subsystem.

4

What are the implications of CVE-2022-50454?

Exploiting CVE-2022-50454 could allow an attacker to execute arbitrary code in the context of the kernel, potentially compromising system integrity.

5

How was CVE-2022-50454 discovered?

CVE-2022-50454 was discovered during routine kernel development and testing, focusing on the nouveau graphics driver functions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203