UAF Vulnerability in Kernel package

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1002168: can: peak_pci: peak_pci_remove(): fix UAF. Affects Kernel versions >= e6d9c80b7ca1504411ad6d7acdb8683e4ae1c9cd, < 949fe9b35570361bc6ee2652f89a0561b26eec98. 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 Kernel package is a fundamental component of the Linux operating system. It provides core functionalities and acts as an interface between the hardware and software layers. The package is responsible for managing system resources, including memory, processes, and device drivers. It plays a crucial role in ensuring the stability and security of the operating system.

Vulnerability Detail

The UAF (Use-After-Free) vulnerability in the Kernel package, specifically in the 'can: peak_pci: peak_pci_remove()' function, allows an attacker to exploit a use-after-free condition. This vulnerability can be triggered when a certain sequence of operations is performed, leading to the use of a freed memory object. An attacker with local access to the system could potentially execute arbitrary code or cause a denial-of-service (DoS) condition. The vulnerability was introduced in version v3.4 of the Kernel package and has been fixed in version v5.15.

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 apply the fix by updating to a patched version of the Kernel package.

Conclusion

The UAF vulnerability in the Kernel package poses a potential security risk, allowing an attacker to execute arbitrary code or cause a denial-of-service condition. It is crucial to update to the latest version of the Kernel package (v5.15 or later) to mitigate this vulnerability. For further assistance or support 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 potentially allow an attacker to execute arbitrary code or cause a denial-of-service (DoS) condition. However, the actual impact may vary depending on the system configuration and the attacker's privileges.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) to the playground, and it will analyze and alert you in real-time if the vulnerability is detected.

At the time of this report, there are no known public exploits targeting this specific UAF vulnerability in the Kernel package. However, it is always recommended to apply security patches promptly to mitigate potential risks.

No, this vulnerability requires local access to the system to exploit. An attacker would need to have privileged access or be able to execute arbitrary code on the target system.

For more details about this vulnerability, including the specific code changes and commits that address it, you can refer to the vulnerability database entry at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1002xxx/GSD-2021-1002168.json.

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