UAF Vulnerability in Kernel package

Kernel Updated 02 Oct 2025

Summary

14/11/2021
N/A
No i
Unrated
Not published

GSD-2021-1002099: can: peak_pci: peak_pci_remove(): fix UAF. Affects Kernel versions >= e6d9c80b7ca1504411ad6d7acdb8683e4ae1c9cd, < 0e5afdc2315b0737edcf55bede4ee1640d2d464d. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Kernel package is a crucial component of the Linux operating system. It provides the core functionality and acts as an interface between the hardware and software layers. The Kernel package handles various tasks, including device drivers, memory management, process scheduling, and system calls. It is widely used across different Linux distributions and versions.

Vulnerability Detail

The UAF (Use-After-Free) vulnerability in the Kernel package, specifically in the 'peak_pci_remove()' function of the 'peak_pci' module, allows an attacker to exploit a use-after-free condition. This vulnerability was introduced in version v3.4 of the Linux Kernel and was fixed in version v5.14.15. By triggering this vulnerability, an attacker could potentially execute arbitrary code or cause a denial-of-service (DoS) condition. The vulnerability arises due to improper handling of resources during the removal of the 'peak_pci' module.

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 workaround, users can disable or unload the 'peak_pci' module if it is not required for their system's functionality. This can be achieved by executing the following command as root or with sudo privileges:

rmmod peak_pci

However, it is important to note that this workaround may impact the functionality of any devices or applications relying on the 'peak_pci' module.

Conclusion

The UAF vulnerability in the Kernel package, specifically in the 'peak_pci_remove()' function, poses a potential security risk to systems running affected versions of the Linux Kernel. It is crucial to update to version v5.14.15 or later to mitigate this vulnerability. Users can also utilize the Vulert Playground at https://vulert.com/scanner to check if their systems are affected and receive real-time alerts for open-source vulnerabilities. For further support and assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability can potentially allow an attacker to execute arbitrary code or cause a denial-of-service (DoS) condition on a system running an affected version of the Kernel package.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file, and Vulert will provide real-time alerts for open-source vulnerabilities, including this UAF vulnerability in the Kernel package.

Yes, the UAF vulnerability in the Kernel package has been fixed in version v5.14.15. It is recommended to update to this version or a later one to mitigate the vulnerability.

Yes, as a temporary workaround, you can disable or unload the 'peak_pci' module if it is not required for your system's functionality. However, this may impact the functionality of any devices or applications relying on the 'peak_pci' module.

You can obtain the updated Kernel package from the official Linux Kernel repository or through your respective Linux distribution's package manager. Make sure to update to version v5.14.15 or a later one.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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