CVE-2022-49399

tty: goldfish: Use tty_port_destroy() to destroy port

MEDIUM
5.5
CVSS Score
Published: February 26, 2025 at 02:12 AM UTC
Updated: June 17, 2026 at 05:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.9 ≤ v < 4.14.2833.9 ≤ v < 4.19.2473.9 ≤ v < 5.10.1223.9 ≤ v < 5.15.473.9 ≤ v < 5.17.153.9 ≤ v < 5.18.43.9 ≤ v < 5.193.9 ≤ v < 5.4.1984.15 ≤ v < 4.19.2474.20 ≤ v < 5.4.1985.11 ≤ v < 5.15.475.16 ≤ v < 5.17.155.18 ≤ v < 5.18.45.5 ≤ v < 5.10.1223.9666b7793d4bfa9f150b5c2007ab48c755ddc53ca
Vendor states this is fixed in 241fcb79dd1df276d80b19f5f6acc9eaaaa63309 (fixed)
Vendor states this is fixed in 326192b99c903a2193d820c30ed936cc2402382c (fixed)
Vendor states this is fixed in 45f6ce70abfb7ccf9d787781cbc4c03294a775a1 (fixed)
Vendor states this is fixed in 4639d1b992de8f37d66f698056875c274efcd45f (fixed)
Vendor states this is fixed in 507b05063d1b7a1fcb9f7d7c47586fc4f3508f98 (fixed)
Vendor states this is fixed in 9ae3d073f7db5578ae1907544f0c15947e9678e6 (fixed)
Vendor states this is fixed in da64f419d7f78272bfe40dde1262602d4ff6b32c (fixed)
Vendor states this is fixed in ee6c33b29e624f515202a31bf6ef0437f26a1867 (fixed)
Vendor states this is fixed in 3.9 (unaffected)
Vendor states this is fixed in 4.14.283 (unaffected)
Vendor states this is fixed in 4.19.247 (unaffected)
Vendor states this is fixed in 5.10.122 (unaffected)
Vendor states this is fixed in 5.15.47 (unaffected)
Vendor states this is fixed in 5.17.15 (unaffected)
Vendor states this is fixed in 5.18.4 (unaffected)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 5.4.198 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/241fcb79dd1df276d80b19f5f6acc9eaaaa63309
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/326192b99c903a2193d820c30ed936cc2402382c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/45f6ce70abfb7ccf9d787781cbc4c03294a775a1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4639d1b992de8f37d66f698056875c274efcd45f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/507b05063d1b7a1fcb9f7d7c47586fc4f3508f98
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9ae3d073f7db5578ae1907544f0c15947e9678e6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/da64f419d7f78272bfe40dde1262602d4ff6b32c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ee6c33b29e624f515202a31bf6ef0437f26a1867

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card