CVE-2026-43458

HIGH

serial: caif: hold tty->link reference in ldisc_open and ser_release

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 7.8
EPSS 0.0001
EPSS Percentile 2.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-416
Status published
Products (20)
Linux/Linux < 2.6.35
Linux/Linux 2.6.35
Linux/Linux 5.10.253 - 5.10.*
Linux/Linux 5.15.203 - 5.15.*
Linux/Linux 6.1.167 - 6.1.*
Linux/Linux 6.12.78 - 6.12.*
Linux/Linux 6.18.19 - 6.18.*
Linux/Linux 6.19.9 - 6.19.*
Linux/Linux 6.6.130 - 6.6.*
Linux/Linux 7.0
... and 10 more
Published May 08, 2026
Tracked Since May 08, 2026