# CVE-2026-98754: tty: vcc: hold port lock when clearing tty pointer in vcc_cleanup

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-02)
- Published: 2026-10-18T15:47:40.255Z
- Modified: 2026-10-30T13:21:24.457Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 8f03f948ba356b7cb254b45a4e78b5b3d86fd3bb before b0ad9d025c3229a628a82fbaa7578891075a950d; from 8f03f948ba356b7cb254b45a4e78b5b3d86fd3bb before b193617080b7036d143674089bcfb7d2ba3db588; from 8f03f948ba356b7cb254b45a4e78b5b3d86fd3bb before afcbb821c571f39b273127a7c7d26cb2cef27d2f; from 8f03f948ba356b7cb254b45a4e78b5b3d86fd3bb before 57753441ef84bee3bf0e9ee1e3778d119c44aa32; from 8f03f948ba356b7cb254b45a4e78b5b3d86fd3bb before 88f6ecb058801e9ce7b9aabc966530118d7cd53c; from 8f03f948ba356b7cb254b45a4e78b5b3d86fd3bb before 821050631750e982007c0856c119346edba51cae; from 8f03f948ba356b7cb254b45a4e78b5b3d86fd3bb before 1a9fb9eaeb69b1f6c00bed09289a33d9fe1e7ae4; from 8f03f948ba356b7cb254b45a4e78b5b3d86fd3bb before 03b49c991abb8d021ca6fe51cd173447236b0552; 4.14 (not affected: before 4.14; from 5.10.273 up to 5.10.*; from 5.15.224 up to 5.15.*; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.113 up to 6.12.*; from 6.18.56 up to 6.18.*; from 7.2.10 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/b0ad9d025c3229a628a82fbaa7578891075a950d>
- <https://git.kernel.org/stable/c/b193617080b7036d143674089bcfb7d2ba3db588>
- <https://git.kernel.org/stable/c/afcbb821c571f39b273127a7c7d26cb2cef27d2f>
- <https://git.kernel.org/stable/c/57753441ef84bee3bf0e9ee1e3778d119c44aa32>
- <https://git.kernel.org/stable/c/88f6ecb058801e9ce7b9aabc966530118d7cd53c>
- <https://git.kernel.org/stable/c/821050631750e982007c0856c119346edba51cae>
- <https://git.kernel.org/stable/c/1a9fb9eaeb69b1f6c00bed09289a33d9fe1e7ae4>
- <https://git.kernel.org/stable/c/03b49c991abb8d021ca6fe51cd173447236b0552>

## Sources

- CVE List: [CVE-2026-98754](https://www.cve.org/CVERecord?id=CVE-2026-98754), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-98754](https://nvd.nist.gov/vuln/detail/CVE-2026-98754), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-98754 · Whole record: https://cve.day/CVE-2026-98754.json · Rebuilt by cve.day 2026-11-25T22:59:45.291Z
