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.
References
Configurations
Configuration 1 (hide)
|
History
No history.
Information
Published : 2026-05-08 15:16
Updated : 2026-06-17 10:49
NVD link : CVE-2026-43458
Mitre link : CVE-2026-43458
CVE.ORG link : CVE-2026-43458
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-416
Use After Free
