Vulnerability in Kernel package: 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-1003301: tty: goldfish: Use tty_port_destroy() to destroy port. Affects Kernel versions >= 666b7793d4bfa9f150b5c2007ab48c755ddc53ca, < da64f419d7f78272bfe40dde1262602d4ff6b32c. 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 crucial component of the Linux operating system, responsible for managing the system's core functionality. It provides an interface between the hardware and software layers, allowing applications to communicate with the underlying hardware. The tty subsystem within the Kernel package handles terminal devices, enabling input and output operations. One specific module, goldfish, is used for virtual terminal emulation. However, a vulnerability has been identified in the goldfish module that can potentially lead to security issues.

Vulnerability Detail

The vulnerability in the goldfish module of the Kernel package arises from the improper destruction of the tty port. Instead of using the appropriate function, tty_port_destroy(), to destroy the port, an incorrect method is employed. This vulnerability was introduced in version v3.9 of the Linux Kernel and has been present until version v5.15.47. The impact and attack plausibility of this vulnerability have not been proven yet. However, it is crucial to address this issue to ensure the security and stability of 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 can be resolved by updating the Kernel package, there is no specific workaround provided. It is advisable to follow the recommended fix and update the package to the latest version.

Conclusion

The vulnerability in the goldfish module of the Kernel package can be addressed by updating the package to version v5.15.47 or later. This update ensures the proper destruction of the tty port using the tty_port_destroy() function. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel package is a critical component of the Linux operating system, responsible for managing the system's core functionality and acting as an interface between hardware and software layers.

The goldfish module is a part of the tty subsystem in the Kernel package, specifically used for virtual terminal emulation.

The impact of this vulnerability is yet to be proven. However, it has the potential to lead to security issues if exploited by malicious actors.

The recommended fix is to update the Linux Kernel package to version v5.15.47 or later, which includes the necessary fix for this vulnerability.

No specific workaround is provided for this vulnerability. It is advised to update the Kernel package to the latest version.

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