CVE-2022-49399

tty: goldfish: Use tty_port_destroy() to destroy port

published February 26, 2025

CVSS
—
EPSS
0%
Percentile
17.0
In the wild
Unconfirmed
What it is

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().

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00262 · 17.0th percentile
Published
2025-02-26T02:12Z
EPSS history
Timeline
  • 26 FEB 02:12Z
    tty: goldfish: Use tty_port_destroy() to destroy port
    cvelistv5