Use-after-free vulnerability in drm/nouveau package

Kernel Updated 02 Oct 2025

Summary

19/10/2021
N/A
No i
Unrated
Not published

GSD-2021-1001626: drm/nouveau: avoid a use-after-free when BO init fails. Affects Kernel versions >= 019cbd4a4feb3aa3a917d78e7110e3011bbff6d5, < f86e19d918a85492ad1a01fcdc0ad5ecbdac6f96. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The drm/nouveau package is a component of the Linux Kernel ecosystem. It provides support for NVIDIA GPUs using the Nouveau driver. This driver allows Linux systems to utilize the full capabilities of NVIDIA graphics cards. The package is responsible for managing memory allocation and initialization of buffer objects (BO) used by the graphics subsystem. However, a use-after-free vulnerability has been identified in the package when BO initialization fails.

Vulnerability Detail

The use-after-free vulnerability in the drm/nouveau package occurs when a buffer object fails to initialize properly. This leads to a situation where the memory associated with the buffer object is freed, but still referenced by other parts of the system. An attacker could potentially exploit this vulnerability to execute arbitrary code or cause a denial-of-service condition. The vulnerability was introduced in version v5.4 of the Linux Kernel and has been fixed in version v5.10.73.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to update the Linux Kernel to the fixed version to mitigate the risk.

Conclusion

The use-after-free vulnerability in the drm/nouveau package poses a significant security risk to Linux systems utilizing NVIDIA GPUs. It is crucial to update the Linux Kernel to version v5.10.73 or later to mitigate this vulnerability. Failure to do so could result in arbitrary code execution or denial-of-service attacks. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The use-after-free vulnerability in the drm/nouveau package could allow an attacker to execute arbitrary code or cause a denial-of-service condition.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will analyze the dependencies and alert you if any vulnerabilities are found.

At the time of this report, there is no known public exploit for this vulnerability. However, it is always recommended to apply security patches promptly to mitigate the risk.

This vulnerability requires local access to the system to exploit. However, if an attacker gains local access, they could potentially exploit this vulnerability to execute arbitrary code or disrupt system functionality.

Unfortunately, there are no known mitigations for this vulnerability other than updating the Linux Kernel to the fixed version. It is crucial to prioritize updating the Kernel to ensure the security of your system.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback