{"id":"CVE-2022-49399","published":"2025-02-26T02:12:27Z","modified":"2026-05-11T18:58:59Z","title":"tty: goldfish: Use tty_port_destroy() to destroy port","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ntty: goldfish: Use tty_port_destroy() to destroy port\n\nIn goldfish_tty_probe(), the port initialized through tty_port_init()\nshould be destroyed in error paths.In goldfish_tty_remove(), qtty->port\nalso should be destroyed or else might leak resources.\n\nFix the above by calling tty_port_destroy().","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00285,"percentile":0.13705,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/241fcb79dd1df276d80b19f5f6acc9eaaaa63309","tags":[]},{"url":"https://git.kernel.org/stable/c/326192b99c903a2193d820c30ed936cc2402382c","tags":[]},{"url":"https://git.kernel.org/stable/c/9ae3d073f7db5578ae1907544f0c15947e9678e6","tags":[]},{"url":"https://git.kernel.org/stable/c/ee6c33b29e624f515202a31bf6ef0437f26a1867","tags":[]},{"url":"https://git.kernel.org/stable/c/da64f419d7f78272bfe40dde1262602d4ff6b32c","tags":[]},{"url":"https://git.kernel.org/stable/c/45f6ce70abfb7ccf9d787781cbc4c03294a775a1","tags":[]},{"url":"https://git.kernel.org/stable/c/4639d1b992de8f37d66f698056875c274efcd45f","tags":[]},{"url":"https://git.kernel.org/stable/c/507b05063d1b7a1fcb9f7d7c47586fc4f3508f98","tags":[]}],"priority":{"score":2.7,"factors":[{"name":"EPSS percentile","points":2.74}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 666b7793d4bfa9f150b5c2007ab48c755ddc53ca, < 241fcb79dd1df276d80b19f5f6acc9eaaaa63309",">= 666b7793d4bfa9f150b5c2007ab48c755ddc53ca, < 326192b99c903a2193d820c30ed936cc2402382c",">= 666b7793d4bfa9f150b5c2007ab48c755ddc53ca, < 9ae3d073f7db5578ae1907544f0c15947e9678e6",">= 666b7793d4bfa9f150b5c2007ab48c755ddc53ca, < ee6c33b29e624f515202a31bf6ef0437f26a1867",">= 666b7793d4bfa9f150b5c2007ab48c755ddc53ca, < da64f419d7f78272bfe40dde1262602d4ff6b32c",">= 666b7793d4bfa9f150b5c2007ab48c755ddc53ca, < 45f6ce70abfb7ccf9d787781cbc4c03294a775a1",">= 666b7793d4bfa9f150b5c2007ab48c755ddc53ca, < 4639d1b992de8f37d66f698056875c274efcd45f",">= 666b7793d4bfa9f150b5c2007ab48c755ddc53ca, < 507b05063d1b7a1fcb9f7d7c47586fc4f3508f98"]},{"vendor":"Linux","product":"Linux","versions":["3.9"]}],"euvd":{"id":"EUVD-2022-54830","exploited":false,"provenance":"source"}}