UAF Vulnerability in Linux Kernel

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1003284: driver: base: fix UAF when driver_attach failed. Affects Kernel versions >= 190888ac01d059e38ffe77a2291d44cafa9016fb, < cdf1a683a01583bca4b618dd16223cbd6e462e21. 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Linux Kernel is the core component of the Linux operating system, responsible for managing system resources and providing an interface for applications to interact with the hardware. It is widely used in various devices, including servers, desktops, and embedded systems. The vulnerability in focus is a Use-After-Free (UAF) issue that affects the kernel's driver base. This vulnerability can be exploited by an attacker to execute arbitrary code or cause a denial of service.

Vulnerability Detail

The UAF vulnerability occurs when the driver_attach function fails in the kernel's driver base. This leads to a situation where a driver object is freed, but references to it are still accessible. An attacker can manipulate these references to execute malicious code or trigger a system crash. The impact of this vulnerability depends on the context in which the driver is used and the privileges of the attacker. Successful exploitation could result in privilege escalation, information disclosure, or system instability.

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

As a temporary workaround, if updating the kernel is not immediately feasible, it is advisable to disable or unload any vulnerable drivers that are not essential for system functionality. This can help mitigate the risk of exploitation. However, this workaround may impact the functionality of certain devices or features dependent on the disabled drivers. It is recommended to consult the official documentation or seek assistance from the Linux distribution's support channels for guidance on disabling specific drivers.

Conclusion

The UAF vulnerability in the Linux Kernel's driver base can have serious security implications. It is crucial to update the kernel to the latest stable version to ensure the fix is applied. If immediate updating is not possible, disabling or unloading vulnerable drivers can serve as a temporary workaround. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

A Use-After-Free (UAF) vulnerability occurs when a program or system continues to use a memory reference after it has been freed. This can lead to unpredictable behavior, including the execution of arbitrary code or system crashes.

An attacker can exploit the UAF vulnerability in the Linux Kernel by manipulating freed driver objects' references. By doing so, they can execute malicious code or cause a denial of service.

The impact of the UAF vulnerability in the Linux Kernel depends on the context and privileges of the attacker. It could result in privilege escalation, information disclosure, or system instability.

Yes, the UAF vulnerability has been fixed in the Linux Kernel version v5.15.47. It is recommended to update the kernel to the latest stable version to mitigate the risk.

As a temporary workaround, disabling or unloading vulnerable drivers that are not essential for system functionality can help mitigate the risk. However, this may impact certain device functionality.

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