Use After Free Vulnerability in Kernel

Kernel Updated 02 Oct 2025

Summary

03/08/2021
N/A
No i
Unrated
Not published

GSD-2021-1001387: misc/libmasm/module: Fix two use after free in ibmasm_init_one. Affects Kernel versions < 481a76d4749ee3a27f902ba213fdcbb4bb39720e. 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 Kernel is a critical component of the Linux operating system that provides essential services and functions for the system's operation. It acts as a bridge between the hardware and software layers, managing resources, handling system calls, and ensuring security. The Kernel is responsible for managing memory, processes, and device drivers. It is a fundamental part of the Linux ecosystem and is widely used in various devices, including servers, desktops, and embedded systems. However, the Kernel is susceptible to vulnerabilities that can be exploited by attackers to gain unauthorized access or disrupt system operations.

Vulnerability Detail

The identified vulnerability, labeled GSD-2021-1001387, is a use-after-free vulnerability in the ibmasm_init_one function within the misc/libmasm/module of the Kernel. This vulnerability occurs when a program continues to use a pointer after the memory it points to has been freed. An attacker can potentially exploit this vulnerability to execute arbitrary code, escalate privileges, or cause a denial of service. The impact and attack plausibility of this vulnerability have not been proven yet, but it is crucial to address it to ensure the security and stability of the system.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v4.19.198 or later. The fix for this vulnerability was implemented in commit 481a76d4749ee3a27f902ba213fdcbb4bb39720e. Updating the Kernel to the patched version will ensure that the use-after-free issue in the ibmasm_init_one function is resolved.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. The recommended approach is to apply the fix by updating the Kernel to the patched version.

Conclusion

The use-after-free vulnerability in the Kernel's ibmasm_init_one function poses a potential security risk. It is crucial to update the Kernel to the patched version (v4.19.198 or later) to mitigate this vulnerability. Failure to address this issue may result in unauthorized access, privilege escalation, or system disruption. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

A use-after-free vulnerability occurs when a program continues to use a pointer after the memory it points to has been freed. This can lead to various security issues, including the execution of arbitrary code or a denial of service.

The impact of this vulnerability is not yet proven, but it has the potential to allow attackers to execute arbitrary code, escalate privileges, or cause a denial of service.

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

There is no known exploit for this vulnerability at the moment. However, it is essential to apply the fix to prevent potential exploitation.

You can find more information about this vulnerability in the GSD-2021-1001387 JSON file available in the GSD database (https://github.com/cloudsecurityalliance/gsd-database).

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v4.19.198 or later. The fix for this vulnerability was implemented in commit 481a76d4749ee3a27f902ba213fdcbb4bb39720e. Updating the Kernel to the patched version will ensure that the use-after-free issue in the ibmasm_init_one function is resolved.

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.