{"id":"CVE-2022-49399","aliases":["CVE-2022-49399"],"related":[],"kind":"vulnerability","state":"published","title":"tty: goldfish: Use tty_port_destroy() to destroy port","summary":"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().","summarySource":"cvelist","descriptions":[{"lang":"en","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().","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: tty: goldfish: Use tty_port_destroy() para destruir el puerto En goldfish_tty_probe(), el puerto inicializado a través de tty_port_init() debe destruirse en las rutas de error. En goldfish_tty_remove(), qtty-&gt;port también debe destruirse o, de lo contrario, podría perder recursos. Corrija lo anterior llamando a tty_port_destroy().","source":"nvd"}],"published":"2025-02-26T02:12:27.650Z","modified":"2026-06-17T05:17:56.330Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"666b7793d4bfa9f150b5c2007ab48c755ddc53ca","fixed":"241fcb79dd1df276d80b19f5f6acc9eaaaa63309","status":"affected"},{"type":"git","introduced":"666b7793d4bfa9f150b5c2007ab48c755ddc53ca","fixed":"326192b99c903a2193d820c30ed936cc2402382c","status":"affected"},{"type":"git","introduced":"666b7793d4bfa9f150b5c2007ab48c755ddc53ca","fixed":"9ae3d073f7db5578ae1907544f0c15947e9678e6","status":"affected"},{"type":"git","introduced":"666b7793d4bfa9f150b5c2007ab48c755ddc53ca","fixed":"ee6c33b29e624f515202a31bf6ef0437f26a1867","status":"affected"},{"type":"git","introduced":"666b7793d4bfa9f150b5c2007ab48c755ddc53ca","fixed":"da64f419d7f78272bfe40dde1262602d4ff6b32c","status":"affected"},{"type":"git","introduced":"666b7793d4bfa9f150b5c2007ab48c755ddc53ca","fixed":"45f6ce70abfb7ccf9d787781cbc4c03294a775a1","status":"affected"},{"type":"git","introduced":"666b7793d4bfa9f150b5c2007ab48c755ddc53ca","fixed":"4639d1b992de8f37d66f698056875c274efcd45f","status":"affected"},{"type":"git","introduced":"666b7793d4bfa9f150b5c2007ab48c755ddc53ca","fixed":"507b05063d1b7a1fcb9f7d7c47586fc4f3508f98","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.9","status":"unaffected"},{"type":"semver","introduced":"4.14.283","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.247","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.198","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.122","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.47","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.17.15","lastAffected":"5.17.*","status":"unaffected"},{"type":"semver","introduced":"5.18.4","lastAffected":"5.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.9","fixed":"4.14.283"},{"status":"affected","introduced":"4.15","fixed":"4.19.247"},{"status":"affected","introduced":"4.20","fixed":"5.4.198"},{"status":"affected","introduced":"5.5","fixed":"5.10.122"},{"status":"affected","introduced":"5.11","fixed":"5.15.47"},{"status":"affected","introduced":"5.16","fixed":"5.17.15"},{"status":"affected","introduced":"5.18","fixed":"5.18.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/241fcb79dd1df276d80b19f5f6acc9eaaaa63309","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/326192b99c903a2193d820c30ed936cc2402382c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9ae3d073f7db5578ae1907544f0c15947e9678e6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ee6c33b29e624f515202a31bf6ef0437f26a1867","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/da64f419d7f78272bfe40dde1262602d4ff6b32c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/45f6ce70abfb7ccf9d787781cbc4c03294a775a1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4639d1b992de8f37d66f698056875c274efcd45f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/507b05063d1b7a1fcb9f7d7c47586fc4f3508f98","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49399","url":"https://www.cve.org/CVERecord?id=CVE-2022-49399","licence":"CVE Terms of Use","modified":"2026-05-11T18:58:59.997Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49399","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49399","licence":"Public domain","modified":"2026-06-17T05:17:56.330Z"}],"updatedAt":"2026-11-25T22:58:20.500Z","epss":{"score":0.00262,"percentile":0.19245,"date":"2026-12-01T12:00:22.000Z"}}