# CVE-2026-43458: serial: caif: hold tty->link reference in ldisc_open and ser_release

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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.17%, higher than 4% of CVEs (2026-11-30)
- Published: 2026-05-08T14:22:21.997Z
- Modified: 2026-11-11T20:10:00.273Z
- Weaknesses: CWE-416
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from e31d5a05948e4478ba8396063d1e1f39880928e2 before 23a3ac2e2262a291498567418227b99e1f3606b1; from e31d5a05948e4478ba8396063d1e1f39880928e2 before 52135420e9f75853ea0c6cea7b736e3e98495f7d; from e31d5a05948e4478ba8396063d1e1f39880928e2 before ca2ceba983bb23ea0202c2882d963253416654a3; from e31d5a05948e4478ba8396063d1e1f39880928e2 before 8460187b4852fd00bd1c76394358053f3fa4d089; from e31d5a05948e4478ba8396063d1e1f39880928e2 before 27e43356d0defb9fc7fa25265219a3ffeb7b3e98; from e31d5a05948e4478ba8396063d1e1f39880928e2 before 35b58d3bc716ebb9ebd10fe1cac8c1177242511c; from e31d5a05948e4478ba8396063d1e1f39880928e2 before 97a0bb491cae39478c6225381f14e9ac67b7bba7; from e31d5a05948e4478ba8396063d1e1f39880928e2 before 288598d80a068a0e9281de35bcb4ce495f189e2a; 2.6.35 (not affected: before 2.6.35; from 5.10.253 up to 5.10.*; from 5.15.203 up to 5.15.*; from 6.1.167 up to 6.1.*; from 6.6.130 up to 6.6.*; from 6.12.78 up to 6.12.*; from 6.18.19 up to 6.18.*; from 6.19.9 up to 6.19.*; from 7.0 up to *)
- linux 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; from 6.19 before 6.19.9; 7.0

## References

- <https://git.kernel.org/stable/c/23a3ac2e2262a291498567418227b99e1f3606b1> (patch)
- <https://git.kernel.org/stable/c/52135420e9f75853ea0c6cea7b736e3e98495f7d> (patch)
- <https://git.kernel.org/stable/c/ca2ceba983bb23ea0202c2882d963253416654a3> (patch)
- <https://git.kernel.org/stable/c/8460187b4852fd00bd1c76394358053f3fa4d089> (patch)
- <https://git.kernel.org/stable/c/27e43356d0defb9fc7fa25265219a3ffeb7b3e98> (patch)
- <https://git.kernel.org/stable/c/35b58d3bc716ebb9ebd10fe1cac8c1177242511c> (patch)
- <https://git.kernel.org/stable/c/97a0bb491cae39478c6225381f14e9ac67b7bba7> (patch)
- <https://git.kernel.org/stable/c/288598d80a068a0e9281de35bcb4ce495f189e2a> (patch)

## Sources

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

---

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