CVE-2026-43458

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

published May 8, 2026

CVSS
—
EPSS
0%
Percentile
6.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00171 · 6.2th percentile
Published
2026-05-08T14:22Z
EPSS history
Timeline
  • 08 MAY 14:22Z
    serial: caif: hold tty->link reference in ldisc_open and ser_release
    cvelistv5