Vulnerability in Kernel: tty: goldfish: Use tty_port_destroy() to destroy port

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1002659: tty: goldfish: Use tty_port_destroy() to destroy port. Affects Kernel versions >= 666b7793d4bfa9f150b5c2007ab48c755ddc53ca, < 4639d1b992de8f37d66f698056875c274efcd45f. 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 is a crucial component of the Linux operating system that acts as a bridge between the hardware and software layers. It provides essential functionalities, such as device drivers, memory management, and process scheduling. The tty subsystem within the Kernel handles input and output operations for terminal devices. The goldfish driver is specifically designed for the Android emulator environment. However, a vulnerability has been discovered in the goldfish driver that can lead to potential security risks.

Vulnerability Detail

The vulnerability in the goldfish driver arises from the improper destruction of the tty port. Instead of using the appropriate function tty_port_destroy(), an incorrect method is employed, leaving the port vulnerable to exploitation. The impact and attack plausibility of this vulnerability have not been proven yet. However, it is crucial to address this issue to prevent any potential security breaches. The vulnerability was introduced in version v3.9 of the Linux Kernel and has been fixed in version v5.18.4.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is necessary to update the Linux Kernel to version v5.18.4 or later. This update includes the commit 4639d1b992de8f37d66f698056875c274efcd45f, which resolves the issue by using the correct function tty_port_destroy() to destroy the port.

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 recommended to apply the official patch or update the Kernel to the fixed version.

Conclusion

In conclusion, a vulnerability has been identified in the goldfish driver of the Kernel, which can potentially lead to security risks. It is crucial to update the Kernel to version v5.18.4 or later to address this vulnerability. If you require further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability is currently unknown. However, it is important to address it to mitigate any potential security risks.

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 to the playground, and it will provide real-time alerts for open-source vulnerabilities.

As of now, there is no known exploit for this vulnerability. However, it is still important to apply the fix to ensure the security of your system.

No, the recommended approach is to update the Kernel to the fixed version. Manually applying the fix without updating the Kernel may not fully address the vulnerability.

You can find more information about this vulnerability in the GSD-2022-1002659 entry of the GSD Database maintained by the Cloud Security Alliance. The source link is available at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2022/1002xxx/GSD-2022-1002659.json.

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.

To fix this vulnerability, it is necessary to update the Linux Kernel to version v5.18.4 or later. This update includes the commit 4639d1b992de8f37d66f698056875c274efcd45f, which resolves the issue by using the correct function tty_port_destroy() to destroy the port.

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.