Use After Free Vulnerability in Linux Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1001519: staging: greybus: uart: fix tty use after free. Affects Kernel versions >= a18e15175708d39abbe9746ddc3479466b7800c3, < 92b67aaafb7c449db9f0c3dcabc0ff967cb3a42d. 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 Linux Kernel is the core component of the Linux operating system, responsible for managing system resources and providing essential functionality. It is a widely used open-source package that powers numerous devices and systems. The Linux Kernel includes various subsystems, one of which is the staging subsystem. The staging subsystem provides a way to include experimental or incomplete code in the kernel. Within the staging subsystem, the Greybus module handles communication with Greybus devices, which are used in certain hardware platforms. The Greybus UART driver is responsible for managing UART (Universal Asynchronous Receiver-Transmitter) devices connected to the Greybus subsystem. UART devices are commonly used for serial communication. However, a use after free vulnerability has been identified in the Greybus UART driver, which could potentially be exploited by an attacker to execute arbitrary code or cause a denial of service.

Vulnerability Detail

The use after free vulnerability in the Greybus UART driver arises from improper handling of TTY (teletypewriter) devices. When a TTY device is released, the driver fails to properly invalidate references to the device, leading to a use after free condition. An attacker could potentially exploit this vulnerability by triggering the use after free condition, which may result in the execution of arbitrary code or a system crash. The impact and attack plausibility of this vulnerability have not been proven yet. The vulnerability was introduced in Linux Kernel version v4.9 by commit a18e15175708d39abbe9746ddc3479466b7800c3 and has been fixed in version v4.9.285 by commit 92b67aaafb7c449db9f0c3dcabc0ff967cb3a42d.

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 specific workaround mentioned for this vulnerability.

Conclusion

In conclusion, a use after free vulnerability has been identified in the Greybus UART driver within the Linux Kernel. This vulnerability could potentially allow an attacker to execute arbitrary code or cause a denial of service. It is recommended to update the Linux Kernel to version v4.9.285 or later to mitigate this vulnerability. For further support and assistance with vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability could potentially allow an attacker to execute arbitrary code or cause a denial of service.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will analyze it for any open-source vulnerabilities, including this one.

There are no known exploits for this vulnerability at the moment. However, it is always recommended to apply security patches and updates to mitigate potential risks.

For more details about this vulnerability, you can refer to the source information provided by the Cloud Security Alliance (https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1001xxx/GSD-2021-1001519.json).

You can find more information about the Linux Kernel and its development on the official Linux Kernel website (https://www.kernel.org/).

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