CVE-2022-49399
published 2025-02-26CVE-2022-49399: 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…
PriorityP418medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.26%
17.2th percentile
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
21 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.18.5-1 (bookworm) | linux 5.18.5-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 666b7793d4bfa9f150b5c2007ab48c755ddc53ca < 241fcb79dd1df276d80b19f5f6acc9eaaaa63309 | 241fcb79dd1df276d80b19f5f6acc9eaaaa63309 |
| linux | linux | >= 666b7793d4bfa9f150b5c2007ab48c755ddc53ca < 326192b99c903a2193d820c30ed936cc2402382c | 326192b99c903a2193d820c30ed936cc2402382c |
| linux | linux | >= 666b7793d4bfa9f150b5c2007ab48c755ddc53ca < 9ae3d073f7db5578ae1907544f0c15947e9678e6 | 9ae3d073f7db5578ae1907544f0c15947e9678e6 |
| linux | linux | >= 666b7793d4bfa9f150b5c2007ab48c755ddc53ca < ee6c33b29e624f515202a31bf6ef0437f26a1867 | ee6c33b29e624f515202a31bf6ef0437f26a1867 |
| linux | linux | >= 666b7793d4bfa9f150b5c2007ab48c755ddc53ca < da64f419d7f78272bfe40dde1262602d4ff6b32c | da64f419d7f78272bfe40dde1262602d4ff6b32c |
| linux | linux | >= 666b7793d4bfa9f150b5c2007ab48c755ddc53ca < 45f6ce70abfb7ccf9d787781cbc4c03294a775a1 | 45f6ce70abfb7ccf9d787781cbc4c03294a775a1 |
| linux | linux | >= 666b7793d4bfa9f150b5c2007ab48c755ddc53ca < 4639d1b992de8f37d66f698056875c274efcd45f | 4639d1b992de8f37d66f698056875c274efcd45f |
| linux | linux | >= 666b7793d4bfa9f150b5c2007ab48c755ddc53ca < 507b05063d1b7a1fcb9f7d7c47586fc4f3508f98 | 507b05063d1b7a1fcb9f7d7c47586fc4f3508f98 |
| linux | linux_kernel | >= 0 < 5.10.127-1 | 5.10.127-1 |
| linux | linux_kernel | >= 0 < 5.18.5-1 | 5.18.5-1 |
| linux | linux_kernel | >= 0 < 5.18.5-1 | 5.18.5-1 |
| linux | linux_kernel | >= 0 < 5.18.5-1 | 5.18.5-1 |
| linux | linux_kernel | >= 3.9 < 4.14.283 | 4.14.283 |
| linux | linux_kernel | >= 4.15 < 4.19.247 | 4.19.247 |
| linux | linux_kernel | >= 4.20 < 5.4.198 | 5.4.198 |
| linux | linux_kernel | >= 5.11 < 5.15.47 | 5.15.47 |
| linux | linux_kernel | >= 5.16 < 5.17.15 | 5.17.15 |
| linux | linux_kernel | >= 5.18 < 5.18.4 | 5.18.4 |
| linux | linux_kernel | >= 5.5 < 5.10.122 | 5.10.122 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: tty: goldfish: Use tty_port_destroy() to destroy port
vendor_redhat·2025-02-26·CVSS 5.5
CVE-2022-49399 [MEDIUM] kernel: tty: goldfish: Use tty_port_destroy() to destroy port
kernel: tty: goldfish: Use tty_port_destroy() to destroy port
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().
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Not affected
Package: kernel (Red Hat Enterprise Linux 7) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 7) - Not affected
Package: kernel (Red Hat Enterprise Linux 8) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 8) - Not affected
Debian
CVE-2022-49399: linux - In the Linux kernel, the following vulnerability has been resolved: tty: goldfi...
vendor_debian·2022·CVSS 5.5
CVE-2022-49399 [MEDIUM] CVE-2022-49399: linux - In the Linux kernel, the following vulnerability has been resolved: tty: goldfi...
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().
Scope: local
bookworm: resolved (fixed in 5.18.5-1)
bullseye: resolved (fixed in 5.10.127-1)
forky: resolved (fixed in 5.18.5-1)
sid: resolved (fixed in 5.18.5-1)
trixie: resolved (fixed in 5.18.5-1)
GHSA
GHSA-55j9-gcm2-jr73: In the Linux kernel, the following vulnerability has been resolved:
tty: goldfish: Use tty_port_destroy() to destroy port
In goldfish_tty_probe(), t
ghsa_unreviewed·2025-10-21
CVE-2022-49399 [MEDIUM] GHSA-55j9-gcm2-jr73: In the Linux kernel, the following vulnerability has been resolved:
tty: goldfish: Use tty_port_destroy() to destroy port
In goldfish_tty_probe(), t
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().
OSV
CVE-2022-49399: In the Linux kernel, the following vulnerability has been resolved: tty: goldfish: Use tty_port_destroy() to destroy port In goldfish_tty_probe(), the
osv·2025-02-26·CVSS 5.5
CVE-2022-49399 [MEDIUM] CVE-2022-49399: In the Linux kernel, the following vulnerability has been resolved: tty: goldfish: Use tty_port_destroy() to destroy port In goldfish_tty_probe(), the
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().
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/241fcb79dd1df276d80b19f5f6acc9eaaaa63309https://git.kernel.org/stable/c/326192b99c903a2193d820c30ed936cc2402382chttps://git.kernel.org/stable/c/45f6ce70abfb7ccf9d787781cbc4c03294a775a1https://git.kernel.org/stable/c/4639d1b992de8f37d66f698056875c274efcd45fhttps://git.kernel.org/stable/c/507b05063d1b7a1fcb9f7d7c47586fc4f3508f98https://git.kernel.org/stable/c/9ae3d073f7db5578ae1907544f0c15947e9678e6https://git.kernel.org/stable/c/da64f419d7f78272bfe40dde1262602d4ff6b32chttps://git.kernel.org/stable/c/ee6c33b29e624f515202a31bf6ef0437f26a1867
2025-02-26
Published