{"id":"CVE-2021-47358","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: greybus: uart: fix tty use after free\n\nUser space can hold a tty open indefinitely and tty drivers must not\nrelease the underlying structures until the last user is gone.\n\nSwitch to using the tty-port reference counter to manage the life time\nof the greybus tty state to avoid use after free after a disconnect.","modified":"2026-03-13T05:19:25.861091Z","published":"2024-05-21T15:15:22.073Z","related":["SUSE-SU-2024:2008-1","SUSE-SU-2024:2011-1","SUSE-SU-2024:2019-1","SUSE-SU-2024:2189-1","SUSE-SU-2024:2190-1"],"references":[{"type":"FIX","url":"https://git.kernel.org/stable/c/4dc56951a8d9d61d364d346c61a5f1d70b4f5e14"},{"type":"FIX","url":"https://git.kernel.org/stable/c/64062fcaca8872f063ec9da011e7bf30470be33f"},{"type":"FIX","url":"https://git.kernel.org/stable/c/92b67aaafb7c449db9f0c3dcabc0ff967cb3a42d"},{"type":"FIX","url":"https://git.kernel.org/stable/c/92dc0b1f46e12cfabd28d709bb34f7a39431b44f"},{"type":"FIX","url":"https://git.kernel.org/stable/c/9872ff6fdce8b229f01993b611b5d1719cb70ff1"},{"type":"FIX","url":"https://git.kernel.org/stable/c/a5cfd51f6348e8fd7531461366946039c29c7e69"},{"type":"FIX","url":"https://git.kernel.org/stable/c/b9e697e60ce9890e9258a73eb061288e7d68e5e6"}],"affected":[{"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"4.9"},{"fixed":"4.9.285"}]},{"events":[{"introduced":"4.10"},{"fixed":"4.14.249"}]},{"events":[{"introduced":"4.15"},{"fixed":"4.19.209"}]},{"events":[{"introduced":"4.20"},{"fixed":"5.4.150"}]},{"events":[{"introduced":"5.5"},{"fixed":"5.10.70"}]},{"events":[{"introduced":"5.11"},{"fixed":"5.14.9"}]},{"events":[{"introduced":"0"},{"last_affected":"5.15-rc1"}]},{"events":[{"introduced":"0"},{"last_affected":"5.15-rc2"}]}],"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-47358.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}