UAF Vulnerability in Linux Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1003537: driver: base: fix UAF when driver_attach failed. Affects Kernel versions >= 190888ac01d059e38ffe77a2291d44cafa9016fb, < 823f24f2e329babd0330200d0b74882516fe57f4. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux Kernel is a widely used open-source operating system kernel that serves as the foundation for various Linux distributions. It provides essential functionality for hardware abstraction, process management, memory management, and device drivers. The kernel is responsible for facilitating communication between software and hardware components. However, a vulnerability has been discovered in the kernel's driver base, which can lead to a use-after-free (UAF) condition.

Vulnerability Detail

The UAF vulnerability in the Linux Kernel's driver base occurs when the driver_attach function fails. This can result in a situation where a driver object is freed prematurely, but references to it are still present. An attacker could potentially exploit this vulnerability to execute arbitrary code or cause a denial-of-service (DoS) condition. The impact and attack plausibility of this vulnerability have not been proven yet. The vulnerability was introduced in version v3.9 of the Linux Kernel and has been fixed in version v5.10.122.

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

No specific workaround has been provided for this vulnerability.

Conclusion

The UAF vulnerability in the Linux Kernel's driver base can potentially be exploited to execute arbitrary code or cause a denial-of-service (DoS) condition. It is crucial to update the Linux Kernel to version v5.10.122 or later, which includes the fix for this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Linux Kernel is an open-source operating system kernel that serves as the foundation for various Linux distributions. It provides essential functionality for hardware abstraction, process management, memory management, and device drivers.

A use-after-free vulnerability occurs when a program or system continues to use a memory object after it has been freed. This can lead to unpredictable behavior, including crashes, data corruption, or the execution of arbitrary code.

An attacker could potentially exploit the UAF vulnerability in the Linux Kernel's driver base to execute arbitrary code or cause a denial-of-service (DoS) condition. However, the actual impact and attack plausibility of this vulnerability have not been proven yet.

Yes, the UAF vulnerability in the Linux Kernel's driver base has been fixed in version v5.10.122. Users are advised to update their Linux Kernel to this version or later to mitigate the vulnerability.

Users can obtain the updated Linux Kernel, which includes the fix for the UAF vulnerability, from the official Linux Kernel repository: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/

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