UAF Vulnerability in Kernel package

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1001887: 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 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 Kernel package is a crucial component of the Linux operating system. It provides the core functionality and interfaces for various hardware and software components. The package is responsible for managing system resources, including memory, processes, and device drivers. It plays a vital role in ensuring the stability and security of the entire system.

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 bug. This vulnerability can potentially lead to arbitrary code execution or privilege escalation. The issue arises when the 'peak_pci_remove()' function is called, and it fails to properly handle a reference to an object that has already been freed from memory. An attacker can manipulate this vulnerability to execute malicious code or crash the system.

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 this vulnerability is fixed in the latest version of the Kernel package, there is no specific workaround available. However, users who are unable to update to the latest version immediately can mitigate the risk by implementing other security measures, such as network segmentation, access controls, and intrusion detection systems. These measures can help minimize the potential impact of an attack exploiting this vulnerability.

Conclusion

The UAF vulnerability in the Kernel package poses a significant risk to the security and stability of Linux systems. It is crucial to promptly update the Kernel package to the latest version to address this vulnerability. Regularly updating the Kernel package is essential to stay protected against known vulnerabilities. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The UAF vulnerability in the Kernel package can lead to arbitrary code execution or privilege escalation. An attacker can exploit this vulnerability to gain unauthorized access, manipulate system resources, or crash the system.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. It analyzes your manifest file, such as package-lock.json, and provides real-time alerts for open-source vulnerabilities.

At the time of this report, there is no known public exploit for this vulnerability. However, it is essential to apply the recommended fix promptly to prevent any potential exploitation.

Yes, this vulnerability can be remotely exploited if an attacker can establish a connection to the affected system. It is crucial to update the Kernel package to mitigate the risk of remote exploitation.

The primary solution to fix this vulnerability is to update the Kernel package to the latest version. However, if immediate updating is not possible, implementing additional security measures such as network segmentation, access controls, and intrusion detection systems can help mitigate the risk.

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