CVE-2021-47358

published 21 May 2024 · updated 5 Aug 2026

staging: greybus: uart: fix tty use after free

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 4dc56951a8d9d61d364d346c61a5f1d70b4f5e14, Kernel 64062fcaca8872f063ec9da011e7bf30470be33f, Kernel 92b67aaafb7c449db9f0c3dcabc0ff967cb3a42d and 4 more.

In the Linux kernel, the following vulnerability has been resolved: staging: greybus: uart: fix tty use after free User space can hold a tty open indefinitely and tty drivers must not release the underlying structures until the last user is gone. Switch to using the tty-port reference counter to manage the life time of the greybus tty state to avoid use after free after a disconnect.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.9, >=a18e15175708d39abbe9746ddc3479466b7800c3 <4dc56951a8d9d61d364d346c61a5f1d70b4f5e14, >=a18e15175708d39abbe9746ddc3479466b7800c3 <64062fcaca8872f063ec9da011e7bf30470be33f, >=a18e15175708d39abbe9746ddc3479466b7800c3 <92b67aaafb7c449db9f0c3dcabc0ff967cb3a42d, >=a18e15175708d39abbe9746ddc3479466b7800c3 <92dc0b1f46e12cfabd28d709bb34f7a39431b44f, >=a18e15175708d39abbe9746ddc3479466b7800c3 <9872ff6fdce8b229f01993b611b5d1719cb70ff1, >=a18e15175708d39abbe9746ddc3479466b7800c3 <a5cfd51f6348e8fd7531461366946039c29c7e69, >=a18e15175708d39abbe9746ddc3479466b7800c3 <b9e697e60ce9890e9258a73eb061288e7d68e5e64dc56951a8d9d61d364d346c61a5f1d70b4f5e14, 64062fcaca8872f063ec9da011e7bf30470be33f, 92b67aaafb7c449db9f0c3dcabc0ff967cb3a42d, 92dc0b1f46e12cfabd28d709bb34f7a39431b44f, 9872ff6fdce8b229f01993b611b5d1719cb70ff1, a5cfd51f6348e8fd7531461366946039c29c7e69, b9e697e60ce9890e9258a73eb061288e7d68e5e6

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47358 severity on Zeptric[![CVE-2021-47358](https://zeptric.io/badge/cve/CVE-2021-47358.svg)](https://zeptric.io/cve/CVE-2021-47358)