What’s Vulnerable › Vulnerabilities
CVE-2026-43458: serial: caif: hold tty->link reference in ldisc_open and ser_release
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-08 · updated 2026-06-17
- Weakness: CWE-416
Description
In the Linux kernel, the following vulnerability has been resolved: serial: caif: hold tty->link reference in ldisc_open and ser_release A reproducer triggers a KASAN slab-use-after-free in pty_write_room() when caif_serial's TX path calls tty_write_room(). The faulting access is on tty->link->port. Hold an extra kref on tty->link for the lifetime of the caif_serial line discipline: get it in ldisc_open() and drop it in ser_release(), and also drop it on the ldisc_open() error path. With this change applied, the reproducer no longer triggers the UAF in my testing.
Affected products
- Linux kernel: from 2.6.35 before 5.10.253; from 5.11 before 5.15.203; from 5.16 before 6.1.167; from 6.2 before 6.6.130; from 6.7 before 6.12.78; from 6.13 before 6.18.19 — fixed in 5.10.253, 5.15.203, 6.1.167, 6.12.78, 6.18.19, 6.19.9
How to fix
Upgrade to a fixed version: Linux kernel 5.10.253, 5.15.203, 6.1.167, 6.12.78. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/23a3ac2e2262a291498567418227b99e1f3606b1
- https://git.kernel.org/stable/c/27e43356d0defb9fc7fa25265219a3ffeb7b3e98
- https://git.kernel.org/stable/c/288598d80a068a0e9281de35bcb4ce495f189e2a
- https://git.kernel.org/stable/c/35b58d3bc716ebb9ebd10fe1cac8c1177242511c
- https://git.kernel.org/stable/c/52135420e9f75853ea0c6cea7b736e3e98495f7d
- https://git.kernel.org/stable/c/8460187b4852fd00bd1c76394358053f3fa4d089
- https://git.kernel.org/stable/c/97a0bb491cae39478c6225381f14e9ac67b7bba7
- https://git.kernel.org/stable/c/ca2ceba983bb23ea0202c2882d963253416654a3
Get alerted when CVE-2026-43458 or the next vulnerability affects your stack