← CVE Intelligence

CVE-2021-47358

staging: greybus: uart: fix tty use after free PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected a18e15175708d39abbe9746ddc3479466b7800c3 before 92b67aaafb7c449db9f0c3dcabc0ff967cb3a42d; affected a18e15175708d39abbe9746ddc3479466b7800c3 before 64062fcaca8872f063ec9da011e7bf30470be33f; affected a18e15175708d39abbe9746ddc3479466b7800c3 before a5cfd51f6348e8fd7531461366946039c29c7e69; affected a18e15175708d39abbe9746ddc3479466b7800c3 before 4dc56951a8d9d61d364d346c61a5f1d70b4f5e14; affected a18e15175708d39abbe9746ddc3479466b7800c3 before b9e697e60ce9890e9258a73eb061288e7d68e5e6; affected a18e15175708d39abbe9746ddc3479466b7800c3 before 9872ff6fdce8b229f01993b611b5d1719cb70ff1; affected a18e15175708d39abbe9746ddc3479466b7800c3 before 92dc0b1f46e12cfabd28d709bb34f7a39431b44f
Linux / Linuxaffected 4.9; unaffected 0 before 4.9; unaffected 4.9.285 through 4.9.*; unaffected 4.14.249 through 4.14.*; unaffected 4.19.209 through 4.19.*; unaffected 5.4.150 through 5.4.*; unaffected 5.10.70 through 5.10.*; unaffected 5.14.9 through 5.14.*; unaffected 5.15 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.