CVE-2021-47358: staging: greybus: uart: fix tty use after free
Vulnerability summary
CVE-2021-47358 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 15.7% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 5Timeline
- 21-05-2024PublishedVulnerability first disclosed.
- 05-08-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.24%
Chance of exploitation in the next 30 days
Percentile
16%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.24% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu86 products
- linux< 4.15.0-163.171 | < 5.4.0-91.102
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 4.15.0-1116.123 | < 5.4.0-1060.63
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ a18e15175708d39abbe9746ddc3479466b7800c3, < 92b67aaafb7c449db9f0c3dcabc0ff967cb3a42d | ≥ a18e15175708d39abbe9746ddc3479466b7800c3, < 64062fcaca8872f063ec9da011e7bf30470be33f | ≥ a18e15175708d39abbe9746ddc3479466b7800c3, < a5cfd51f6348e8fd7531461366946039c29c7e69 | ≥ a18e15175708d39abbe9746ddc3479466b7800c3, < 4dc56951a8d9d61d364d346c61a5f1d70b4f5e14 | ≥ a18e15175708d39abbe9746ddc3479466b7800c3, < b9e697e60ce9890e9258a73eb061288e7d68e5e6 | ≥ a18e15175708d39abbe9746ddc3479466b7800c3, < 9872ff6fdce8b229f01993b611b5d1719cb70ff1 | ≥ a18e15175708d39abbe9746ddc3479466b7800c3, < 92dc0b1f46e12cfabd28d709bb34f7a39431b44f | 4.9
- linux_kernel≥ 4.9, < 4.9.285 | ≥ 4.10, < 4.14.249 | ≥ 4.15, < 4.19.209 | ≥ 4.20, < 5.4.150 | ≥ 5.5, < 5.10.70 | ≥ 5.11, < 5.14.9 | 5.15:rc1 | 5.15:rc2
Debian1 product
- linux< 5.14.9-1
3 vendors · 89 products