{"api_version":"1","generated_at":"2026-09-21T16:16:15+00:00","cve":"CVE-2026-90057","urls":{"html":"https://cve.report/CVE-2026-90057","api":"https://cve.report/api/cve/CVE-2026-90057.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-90057","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-90057"},"summary":{"title":"slip: remove slip_hangup() to fix use-after-free in slip_receive_buf()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nslip: remove slip_hangup() to fix use-after-free in slip_receive_buf()\n\nJaeyoung Chung and Eulgyu Kim reported a slab-use-after-free read\nin slip_receive_buf() when racing against tty hangup.\n\ntty_ldisc_hangup() calls ld->ops->hangup() while holding only\na read lock on tty->ldisc_sem (via tty_ldisc_ref()).\nBecause slip_hangup() simply called slip_close(), it ran concurrently\nwith reader functions such as slip_receive_buf().\n\nslip_close() unregisters and frees the net device and its private\nstruct slip, causing concurrent reader threads in slip_receive_buf()\nto dereference freed memory.\n\nLine discipline close() is already guaranteed to be called under\nthe write lock of tty->ldisc_sem during hangup processing\n(in tty_ldisc_reinit() or tty_ldisc_kill()).\n\nRemove slip_hangup() so teardown is serialized cleanly by slip_close().","state":"PUBLISHED","assigner":"Linux","published_at":"2026-09-17 17:16:54","updated_at":"2026-09-18 18:17:40"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/23c53269f2baaedf2d92784290cb9ef6db2a3bce","name":"https://git.kernel.org/stable/c/23c53269f2baaedf2d92784290cb9ef6db2a3bce","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a2dbac3fb03b4427ccf057debc83fc61ee102529","name":"https://git.kernel.org/stable/c/a2dbac3fb03b4427ccf057debc83fc61ee102529","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a540a49fcca59d1c92c3a6462e67ca21676a88df","name":"https://git.kernel.org/stable/c/a540a49fcca59d1c92c3a6462e67ca21676a88df","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/de1f978c0f6ab42b28192d74dc59af52fdc76135","name":"https://git.kernel.org/stable/c/de1f978c0f6ab42b28192d74dc59af52fdc76135","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ddbc5dc5a2e29b3934da09c1ba3c930fd8a40fd6","name":"https://git.kernel.org/stable/c/ddbc5dc5a2e29b3934da09c1ba3c930fd8a40fd6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9a3b1edff1ecb47d323f2506b3ffc22178acd1c6","name":"https://git.kernel.org/stable/c/9a3b1edff1ecb47d323f2506b3ffc22178acd1c6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-90057","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90057","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5342b77c4123ba39f911d92a813295fb3bb21f69 9a3b1edff1ecb47d323f2506b3ffc22178acd1c6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5342b77c4123ba39f911d92a813295fb3bb21f69 a2dbac3fb03b4427ccf057debc83fc61ee102529 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5342b77c4123ba39f911d92a813295fb3bb21f69 de1f978c0f6ab42b28192d74dc59af52fdc76135 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5342b77c4123ba39f911d92a813295fb3bb21f69 ddbc5dc5a2e29b3934da09c1ba3c930fd8a40fd6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5342b77c4123ba39f911d92a813295fb3bb21f69 a540a49fcca59d1c92c3a6462e67ca21676a88df git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5342b77c4123ba39f911d92a813295fb3bb21f69 23c53269f2baaedf2d92784290cb9ef6db2a3bce git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.32","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.32 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.188 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.157 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.110 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.52 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.6 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"90057","cve":"CVE-2026-90057","epss":"0.001600000","percentile":"0.055590000","score_date":"2026-09-20","updated_at":"2026-09-21 00:10:09"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/net/slip/slip.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"9a3b1edff1ecb47d323f2506b3ffc22178acd1c6","status":"affected","version":"5342b77c4123ba39f911d92a813295fb3bb21f69","versionType":"git"},{"lessThan":"a2dbac3fb03b4427ccf057debc83fc61ee102529","status":"affected","version":"5342b77c4123ba39f911d92a813295fb3bb21f69","versionType":"git"},{"lessThan":"de1f978c0f6ab42b28192d74dc59af52fdc76135","status":"affected","version":"5342b77c4123ba39f911d92a813295fb3bb21f69","versionType":"git"},{"lessThan":"ddbc5dc5a2e29b3934da09c1ba3c930fd8a40fd6","status":"affected","version":"5342b77c4123ba39f911d92a813295fb3bb21f69","versionType":"git"},{"lessThan":"a540a49fcca59d1c92c3a6462e67ca21676a88df","status":"affected","version":"5342b77c4123ba39f911d92a813295fb3bb21f69","versionType":"git"},{"lessThan":"23c53269f2baaedf2d92784290cb9ef6db2a3bce","status":"affected","version":"5342b77c4123ba39f911d92a813295fb3bb21f69","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/net/slip/slip.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.32"},{"lessThan":"2.6.32","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.188","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.157","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.110","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.52","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.188","versionStartIncluding":"2.6.32","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.157","versionStartIncluding":"2.6.32","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.110","versionStartIncluding":"2.6.32","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.52","versionStartIncluding":"2.6.32","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.6","versionStartIncluding":"2.6.32","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3-rc1","versionStartIncluding":"2.6.32","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nslip: remove slip_hangup() to fix use-after-free in slip_receive_buf()\n\nJaeyoung Chung and Eulgyu Kim reported a slab-use-after-free read\nin slip_receive_buf() when racing against tty hangup.\n\ntty_ldisc_hangup() calls ld->ops->hangup() while holding only\na read lock on tty->ldisc_sem (via tty_ldisc_ref()).\nBecause slip_hangup() simply called slip_close(), it ran concurrently\nwith reader functions such as slip_receive_buf().\n\nslip_close() unregisters and frees the net device and its private\nstruct slip, causing concurrent reader threads in slip_receive_buf()\nto dereference freed memory.\n\nLine discipline close() is already guaranteed to be called under\nthe write lock of tty->ldisc_sem during hangup processing\n(in tty_ldisc_reinit() or tty_ldisc_kill()).\n\nRemove slip_hangup() so teardown is serialized cleanly by slip_close()."}],"metrics":[{"cvssV3_1":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"scenarios":[{"lang":"en","value":"AV:L - 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.\nAC:L - 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.\nPR:L - 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.\nUI:N - 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.\nS:U - 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.\nC:H - 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.\nI:H - 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.\nA:H - 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."}]}],"providerMetadata":{"dateUpdated":"2026-09-18T17:52:47.908Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/9a3b1edff1ecb47d323f2506b3ffc22178acd1c6"},{"url":"https://git.kernel.org/stable/c/a2dbac3fb03b4427ccf057debc83fc61ee102529"},{"url":"https://git.kernel.org/stable/c/de1f978c0f6ab42b28192d74dc59af52fdc76135"},{"url":"https://git.kernel.org/stable/c/ddbc5dc5a2e29b3934da09c1ba3c930fd8a40fd6"},{"url":"https://git.kernel.org/stable/c/a540a49fcca59d1c92c3a6462e67ca21676a88df"},{"url":"https://git.kernel.org/stable/c/23c53269f2baaedf2d92784290cb9ef6db2a3bce"}],"title":"slip: remove slip_hangup() to fix use-after-free in slip_receive_buf()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-90057","datePublished":"2026-09-17T16:05:41.670Z","dateReserved":"2026-09-11T19:38:34.784Z","dateUpdated":"2026-09-18T17:52:47.908Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-17 17:16:54","lastModifiedDate":"2026-09-18 18:17:40","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"90057","Ordinal":"1","Title":"slip: remove slip_hangup() to fix use-after-free in slip_receive","CVE":"CVE-2026-90057","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"90057","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nslip: remove slip_hangup() to fix use-after-free in slip_receive_buf()\n\nJaeyoung Chung and Eulgyu Kim reported a slab-use-after-free read\nin slip_receive_buf() when racing against tty hangup.\n\ntty_ldisc_hangup() calls ld->ops->hangup() while holding only\na read lock on tty->ldisc_sem (via tty_ldisc_ref()).\nBecause slip_hangup() simply called slip_close(), it ran concurrently\nwith reader functions such as slip_receive_buf().\n\nslip_close() unregisters and frees the net device and its private\nstruct slip, causing concurrent reader threads in slip_receive_buf()\nto dereference freed memory.\n\nLine discipline close() is already guaranteed to be called under\nthe write lock of tty->ldisc_sem during hangup processing\n(in tty_ldisc_reinit() or tty_ldisc_kill()).\n\nRemove slip_hangup() so teardown is serialized cleanly by slip_close().","Type":"Description","Title":"slip: remove slip_hangup() to fix use-after-free in slip_receive"}]}}}