CVE Database›Document archive›CVE-2022-49399

CVE-2022-49399

kernel: tty: goldfish: Use tty_port_destroy() to destroy port

Loading…

Severity

Unknown

Red Hat Product Security

—

CVSS

Review impact separately from score.

Published · February 26, 2025

Updated · June 30, 2026

Description

In the Linux kernel, the following vulnerability has been resolved:

tty: goldfish: Use tty_port_destroy() to destroy port

In goldfish_tty_probe(), the port initialized through tty_port_init() should be destroyed in error paths.In goldfish_tty_remove(), qtty->port also should be destroyed or else might leak resources.

Fix the above by calling tty_port_destroy().

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CWE not specified