Look up another CVE · open CVE-2026-90057 in the interactive tracker
CVE-2026-90057
slip: remove slip_hangup() to fix use-after-free in slip_receive_buf()
Published 2026-09-17 (31 days ago) by the Linux kernel CNA. Subsystem drivers/net. Debian urgency: not yet assigned.
What to do, per Debian release
Debian's own status for CVE-2026-90057 in every release this site tracks, and what each one means in practice. Every status below is the one the Debian Security Team publishes for this CVE. source
| Release | Status | Version | What this means |
|---|---|---|---|
| Debian 12bookworm | fixedDLA-4841-1 · 2026-10-17 · text | 6.1.190-1 | Update the kernel and reboot. DLA-4841-1 shipped the fix on 2026-10-17, in 6.1.190-1. A running kernel keeps the old code until the machine restarts. |
| Debian 13trixie | fixedDSA-6528-1 · 2026-09-29 · text | 6.12.111-1 | Update the kernel and reboot. DSA-6528-1 shipped the fix on 2026-09-29, in 6.12.111-1. A running kernel keeps the old code until the machine restarts. |
| Debian 14forky | fixed | 7.2.6-1 | Update the kernel and reboot. Fixed in 7.2.6-1. A running kernel keeps the old code until the machine restarts. |
| Debian unstablesid | fixed | 7.2.6-1 | Update the kernel and reboot. Fixed in 7.2.6-1. A running kernel keeps the old code until the machine restarts. |
| Debian 12bookworm · linux-6.12 | fixedDLA-4817-1 · 2026-10-04 · text | 6.12.111-1~deb12u1 | Update the kernel and reboot. DLA-4817-1 shipped the fix on 2026-10-04, in 6.12.111-1~deb12u1. A running kernel keeps the old code until the machine restarts. |
The vulnerability
What the bug is
Jaeyoung Chung and Eulgyu Kim reported a slab-use-after-free read in slip_receive_buf() when racing against tty hangup. tty_ldisc_hangup() calls ld->ops->hangup() while holding only a read lock on tty->ldisc_sem (via tty_ldisc_ref()). Because slip_hangup() simply called slip_close(), it ran concurrently with reader functions such as slip_receive_buf(). slip_close() unregisters and frees the net device and its private struct slip, causing concurrent reader threads in slip_receive_buf() to dereference freed memory. Line discipline close() is already guaranteed to be called under the write lock of tty->ldisc_sem during hangup processing (in tty_ldisc_reinit() or tty_ldisc_kill()). Remove slip_hangup() so teardown is serialized cleanly by slip_close().
Where it lives
The fix touches these files. If the subsystem is one you do not use, the practical exposure is lower, though the package is still the vulnerable one.
drivers/net/slip/slip.c
- What this is
- NETWORKING DRIVERSMAINTAINERS section matched on drivers/net/ · netdev@vger.kernel.org · Maintained
- Kernel module
- slip
Check it on the machine
grep -wE 'CONFIG_SLHC|CONFIG_SLIP' /boot/config-$(uname -r)Reads the booted kernel's own configuration, on the machine and nowhere else. =y is built in, =m is a module, and an is not set line means the code is not there.
lsmod | grep -w slipPrints a line if that module is loaded right now, and nothing if it is not. One that is not loaded can still be loaded later by anything that needs it.
Show whether Debian builds this, per release
Debian builds this, but not on every flavour. At least one release below builds the code on some of its kernel flavours and not on others, so the answer depends on the architecture and flavour installed.
- bookwormMnot built on amd64/cloud-amd64, arm64/cloud-arm64
- trixie, forky, sidMnot built on amd64/cloud-amd64, arm64/cloud-arm64, s390x/s390x
- bookworm · linux-6.12Mnot built on amd64/cloud-amd64, arm64/cloud-arm64
- M
- a module where it is built at all; some flavours do not build it
- Build switches
- CONFIG_SLHC, CONFIG_SLIP
- Reads as
- all on means the file is compiled; any one off means it is not.
From the configuration Debian publishes for every kernel flavour it builds. It covers only the architectures Debian ships a linux-config package for, and nothing about a kernel you built yourself. Debian's own status above stays authoritative about the source package.MAINTAINERS kbuild Makefiles Debian linux-config packages
Signals
- Published
- 2026-09-17 (31 days ago)source
- CVSS
- 7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hsource recompute it - Attack vector
- local (AV:L)source
- EPSS
- 0.16%, higher than 4.7% of all CVEssource
- CISA KEV
- not listedthe KEV catalogue
- Debian urgency
- not yet assignedsource
- Subsystem
- drivers/net
Upstream fixes
The versions the CNA records as introducing and fixing this, and the commit for each. source
| Introduced | Fixed in | Commit |
|---|---|---|
| 2.6.32 | 6.1.188 | 9a3b1edff1ec |
| 2.6.32 | 6.6.157 | a2dbac3fb03b |
| 2.6.32 | 6.12.110 | de1f978c0f6a |
| 2.6.32 | 6.18.52 | ddbc5dc5a2e2 |
| 2.6.32 | 7.2.6 | a540a49fcca5 |
| 2.6.32 | 7.3 | 23c53269f2ba |
Debian advisories
| Advisory | Date | Shipped to | Debian |
|---|---|---|---|
| DLA-4841-1 | 2026-10-17 | bookworm 6.1.190-1 | tracker |
| DLA-4817-1 | 2026-10-04 | bookworm 6.12.111-1~deb12u1 | tracker |
| DSA-6528-1 | 2026-09-29 | trixie 6.12.111-1 | tracker |
Why the CNA scored it this way
Quoted from the kernel CNA's own scoring file, word for word. A highlighted metric carries the most severe value CVSS v3.1 defines for it, which is what pushes the score up. source
- AV:LAttack vector, local
- The UAF is reached by racing local TTY syscalls: ioctl(TIOCSETD, N_SLIP) then write() on a PTY master into pty_write→tty_insert_flip_string_and_push_buffer→flush_to_ldisc→tty_port_default_receive_buf→slip_receive_buf, while close() of that master runs pty_close→tty_vhangup→tty_ldisc_hangup→slip_hangup. Hangup is a local TTY lifecycle event, not bytes from a remote SLIP peer.
- AC:LAttack complexity, low
- The attacker owns both PTY fds and can loop write() on the master (driving slip_receive_buf under tty_ldisc_ref()'s read lock) concurrently with close()→pty_close→tty_vhangup→slip_hangup, which tty_ldisc_hangup() also invokes under only a read lock. Because hangup() is not serialized by ldisc_sem's write side, the attacker creates and retries the race.
- PR:LPrivileges required, low
- Attaching N_SLIP requires slip_open()'s capable(CAP_NET_ADMIN) check, which is ns_capable(&init_user_ns) and is not granted by unshare -Urn. CAP_NET_ADMIN in the initial user namespace is still routinely given to non-root container/network workloads (Docker/K8s --cap-add=NET_ADMIN) without full host root, so privileges required are Low.
- UI:NUser interaction, none
- The attacker performs every step in its own processes: open("/dev/ptmx"), ioctl(TIOCSETD, N_SLIP), write() to the master, and close() to force pty_close()→tty_vhangup(). No separate victim user or administrator action is required at exploit time.
- S:UScope, unchanged
- The UAF corrupts the host-kernel net_device allocated in sl_alloc() via alloc_netdev() and its embedded struct slip (netdev_priv). Impact is standard local kernel privilege escalation, not a VM escape or IOMMU/DMA boundary bypass.
- C:HConfidentiality impact, high
- slip_receive_buf() loads sl from tty->disc_data without an RCU read-side critical section, then reads sl->magic and sl->dev after slip_hangup()→slip_close()→unregister_netdev() has freed that net_device (needs_free_netdev). A use-after-free of this object enables an arbitrary kernel read via heap spray.
- I:HIntegrity impact, high
- Once past those checks, slip_receive_buf() takes spin_lock_bh(&sl->lock) and slip_unesc() writes sl->rbuff[sl->rcount++] and sl->flags on the already-freed struct slip, giving a write primitive against a net_device that also carries netdev_ops function pointers.
- A:HAvailability impact, high
- Use-after-free of the SLIP net_device/struct slip causes a kernel oops or panic even when not fully exploited; the report is a KASAN slab-use-after-free read in slip_receive_buf() racing tty hangup.