tty: vcc: hold port lock when clearing tty pointer in vcc_cleanup
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.160, 6.12.113, 6.18.56, 7.2.10
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: tty: vcc: hold port lock when clearing tty pointer in vcc_cleanup vcc_cleanup() sets port->tty to NULL without holding port->lock, racing with vcc_event() LDC callbacks that read port->tty under port->lock and then use tty->port. This can cause a use-after-free when the callback dereferences tty->port after cleanup has already destroyed and freed it.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 8f03f948ba356b7cb254b45a4e78b5b3d86fd3bb · fixed in 57753441ef84bee3bf0e9ee1e3778d119c44aa32; From 8f03f948ba356b7cb254b45a4e78b5b3d86fd3bb · fixed in 88f6ecb058801e9ce7b9aabc966530118d7cd53c; From 8f03f948ba356b7cb254b45a4e78b5b3d86fd3bb · fixed in 821050631750e982007c0856c119346edba51cae; From 8f03f948ba356b7cb254b45a4e78b5b3d86fd3bb · fixed in 1a9fb9eaeb69b1f6c00bed09289a33d9fe1e7ae4; From 8f03f948ba356b7cb254b45a4e78b5b3d86fd3bb · fixed in 03b49c991abb8d021ca6fe51cd173447236b0552
- Linux Linux
4.14
- KernelLinux
fixed in 6.6.160; From 6.7.0 · fixed in 6.12.113; From 6.13.0 · fixed in 6.18.56; From 6.19.0 · fixed in 7.2.10