tty: vcc: hold port lock when clearing tty pointer in vcc_cleanup (Linux Linux)

CVE-2026-98754
Not available

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 8 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

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.

References

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 8f03f948ba356b7cb254b45a4e78b5b3d86fd3bb < b0ad9d025c3229a628a82fbaa7578891075a950d
affected : ≥ 8f03f948ba356b7cb254b45a4e78b5b3d86fd3bb < b193617080b7036d143674089bcfb7d2ba3db588
affected : ≥ 8f03f948ba356b7cb254b45a4e78b5b3d86fd3bb < afcbb821c571f39b273127a7c7d26cb2cef27d2f
affected : ≥ 8f03f948ba356b7cb254b45a4e78b5b3d86fd3bb < 57753441ef84bee3bf0e9ee1e3778d119c44aa32
affected : ≥ 8f03f948ba356b7cb254b45a4e78b5b3d86fd3bb < 88f6ecb058801e9ce7b9aabc966530118d7cd53c
affected : ≥ 8f03f948ba356b7cb254b45a4e78b5b3d86fd3bb < 821050631750e982007c0856c119346edba51cae
affected : ≥ 8f03f948ba356b7cb254b45a4e78b5b3d86fd3bb < 1a9fb9eaeb69b1f6c00bed09289a33d9fe1e7ae4
affected : ≥ 8f03f948ba356b7cb254b45a4e78b5b3d86fd3bb < 03b49c991abb8d021ca6fe51cd173447236b0552
Other versions : unaffected
Linux · Linux
affected : 4.14
unaffected : ≥ 0 < 4.14
unaffected : ≥ 5.10.273 ≤ 5.10.*
unaffected : ≥ 5.15.224 ≤ 5.15.*
unaffected : ≥ 6.1.191 ≤ 6.1.*
unaffected : ≥ 6.6.160 ≤ 6.6.*
unaffected : ≥ 6.12.113 ≤ 6.12.*
unaffected : ≥ 6.18.56 ≤ 6.18.*
unaffected : ≥ 7.2.10 ≤ 7.2.*
unaffected : ≥ 7.3 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD