What’s Vulnerable › Vulnerabilities

CVE-2022-49399: tty: goldfish: Use tty_port_destroy() to destroy port

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

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.14.283, 4.19.247, 5.10.122, 5.15.47. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49399 or the next vulnerability affects your stack