slip: remove slip_hangup() to fix use-after-free in slip_receive_buf() (Linux Linux)

CVE-2026-90057
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.16 % · centile 6 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Produits affectés
Linux · Linux
Statut NVD
Received

Description

In the Linux kernel, the following vulnerability has been resolved: slip: remove slip_hangup() to fix use-after-free in slip_receive_buf() 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().

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions affectées
Linux · Linux
affectée : ≥ 5342b77c4123ba39f911d92a813295fb3bb21f69 < 9a3b1edff1ecb47d323f2506b3ffc22178acd1c6
affectée : ≥ 5342b77c4123ba39f911d92a813295fb3bb21f69 < a2dbac3fb03b4427ccf057debc83fc61ee102529
affectée : ≥ 5342b77c4123ba39f911d92a813295fb3bb21f69 < de1f978c0f6ab42b28192d74dc59af52fdc76135
affectée : ≥ 5342b77c4123ba39f911d92a813295fb3bb21f69 < ddbc5dc5a2e29b3934da09c1ba3c930fd8a40fd6
affectée : ≥ 5342b77c4123ba39f911d92a813295fb3bb21f69 < a540a49fcca59d1c92c3a6462e67ca21676a88df
affectée : ≥ 5342b77c4123ba39f911d92a813295fb3bb21f69 < 23c53269f2baaedf2d92784290cb9ef6db2a3bce
Autres versions : non affectée
Linux · Linux
affectée : 2.6.32
non affectée : ≥ 0 < 2.6.32
non affectée : ≥ 6.1.188 ≤ 6.1.*
non affectée : ≥ 6.6.157 ≤ 6.6.*
non affectée : ≥ 6.12.110 ≤ 6.12.*
non affectée : ≥ 6.18.52 ≤ 6.18.*
non affectée : ≥ 7.2.6 ≤ 7.2.*
non affectée : ≥ 7.3 ≤ *
Autres versions : affectée

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD