CVE
CVE-2021-47358
CNA description
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 versions
All Linux kernel vulnerabilities →
- 5.15-rc2This version only
- 5.15-rc1This version only
- ≥ 5.11, < 5.14.9Fixed in 5.14.9
- ≥ 5.5, < 5.10.70Fixed in 5.10.70
- ≥ 4.20, < 5.4.150Fixed in 5.4.150
- ≥ 4.15, < 4.19.209Fixed in 4.19.209
- ≥ 4.10, < 4.14.249Fixed in 4.14.249
- ≥ 4.9, < 4.9.285Fixed in 4.9.285
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/4dc56951a8d9d61d364d346c61a5f1d70b4f5e14 · Patch
- git.kernel.org/stable/c/64062fcaca8872f063ec9da011e7bf30470be33f · Patch
- git.kernel.org/stable/c/92b67aaafb7c449db9f0c3dcabc0ff967cb3a42d · Patch
- git.kernel.org/stable/c/92dc0b1f46e12cfabd28d709bb34f7a39431b44f · Patch
- git.kernel.org/stable/c/9872ff6fdce8b229f01993b611b5d1719cb70ff1 · Patch
- git.kernel.org/stable/c/a5cfd51f6348e8fd7531461366946039c29c7e69 · Patch
- git.kernel.org/stable/c/b9e697e60ce9890e9258a73eb061288e7d68e5e6 · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.