CVE
CVE-2026-43458
CNA 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 versions
All Linux kernel vulnerabilities →
- 7.0-rc3This version only
- 7.0-rc2This version only
- 7.0-rc1This version only
- ≥ 6.19, < 6.19.9Fixed in 6.19.9
- ≥ 6.13, < 6.18.19Fixed in 6.18.19
- ≥ 6.7, < 6.12.78Fixed in 6.12.78
- ≥ 6.2, < 6.6.130Fixed in 6.6.130
- ≥ 5.16, < 6.1.167Fixed in 6.1.167
- ≥ 5.11, < 5.15.203Fixed in 5.15.203
- ≥ 2.6.35, < 5.10.253Fixed in 5.10.253
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/23a3ac2e2262a291498567418227b99e1f3606b1 · Patch
- git.kernel.org/stable/c/27e43356d0defb9fc7fa25265219a3ffeb7b3e98 · Patch
- git.kernel.org/stable/c/288598d80a068a0e9281de35bcb4ce495f189e2a · Patch
- git.kernel.org/stable/c/35b58d3bc716ebb9ebd10fe1cac8c1177242511c · Patch
- git.kernel.org/stable/c/52135420e9f75853ea0c6cea7b736e3e98495f7d · Patch
- git.kernel.org/stable/c/8460187b4852fd00bd1c76394358053f3fa4d089 · Patch
- git.kernel.org/stable/c/97a0bb491cae39478c6225381f14e9ac67b7bba7 · Patch
- git.kernel.org/stable/c/ca2ceba983bb23ea0202c2882d963253416654a3 · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.