CVE-2023-53781
published high CVSS 3.1 · 7.8smc: Fix use-after-free in tcp_write_timer_handler().
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxac7138746e14137a451f8539614cdd349153e0c0 to < 08f057bd1e559cdb388c77b18de3eea3d3d8cb24 · ac7138746e14137a451f8539614cdd349153e0c0 to < 1cc41c8acfc1ee30b4868559058db97fa44b0137 · ac7138746e14137a451f8539614cdd349153e0c0 to < 9744d2bf19762703704ecba885b7ac282c02eacf · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.11 (affected) · 0 to < 4.11 (unaffected · semver) · 6.1.191 through 6.1.* (unaffected · semver) · 6.2.12 through 6.2.* (unaffected · semver) · 6.3 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 8 | bpftool | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| Debian | bookworm | linux | Advisory build | 6.1.192-1 | DLA-4906-1 |
| Oracle Linux | 8 | bpftoolaarch64 | Advisory build | 0:4.18.0-553.132.1.el8_10 | ELSA-2026-25121 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolaarch64 | Advisory build | 4.18.0-305.208.1.el8_4 | RHSA-2026:69874 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | kernel | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-abi-stablelists | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-core | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-cross-headers | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-debug | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-debug-core | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-debug-devel | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-debug-modules | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-debug-modules-extra | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-devel | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-doc | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-headers | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-modules | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-modules-extra | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-rt | Advisory build | 4.18.0-553.132.1.rt7.473.el8_10 | ALSA-2026:25120 |
| AlmaLinux | 8 | kernel-rt-core | Advisory build | 4.18.0-553.132.1.rt7.473.el8_10 | ALSA-2026:25120 |
| AlmaLinux | 8 | kernel-rt-debug | Advisory build | 4.18.0-553.132.1.rt7.473.el8_10 | ALSA-2026:25120 |
| AlmaLinux | 8 | kernel-rt-debug-core | Advisory build | 4.18.0-553.132.1.rt7.473.el8_10 | ALSA-2026:25120 |
| AlmaLinux | 8 | kernel-rt-debug-devel | Advisory build | 4.18.0-553.132.1.rt7.473.el8_10 | ALSA-2026:25120 |
| AlmaLinux | 8 | kernel-rt-debug-modules | Advisory build | 4.18.0-553.132.1.rt7.473.el8_10 | ALSA-2026:25120 |
| AlmaLinux | 8 | kernel-rt-debug-modules-extra | Advisory build | 4.18.0-553.132.1.rt7.473.el8_10 | ALSA-2026:25120 |
| AlmaLinux | 8 | kernel-rt-devel | Advisory build | 4.18.0-553.132.1.rt7.473.el8_10 | ALSA-2026:25120 |
| AlmaLinux | 8 | kernel-rt-modules | Advisory build | 4.18.0-553.132.1.rt7.473.el8_10 | ALSA-2026:25120 |
| AlmaLinux | 8 | kernel-rt-modules-extra | Advisory build | 4.18.0-553.132.1.rt7.473.el8_10 | ALSA-2026:25120 |
| AlmaLinux | 8 | kernel-tools | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-tools-libs | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-tools-libs-devel | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-zfcpdump | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-zfcpdump-core | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-zfcpdump-devel | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-zfcpdump-modules | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | kernel-zfcpdump-modules-extra | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | perf | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| AlmaLinux | 8 | python3-perf | Advisory build | 4.18.0-553.132.1.el8_10 | ALSA-2026:25121 |
| Oracle Linux | 8 | bpftoolx86_64 | Advisory build | 0:4.18.0-553.132.1.el8_10 | ELSA-2026-25121 |
| Oracle Linux | 8 | kernelx86_64 | Advisory build | 0:4.18.0-553.132.1.el8_10 | ELSA-2026-25121 |
| Oracle Linux | 8 | kernel-abi-stablelistsx86_64 | Advisory build | 0:4.18.0-553.132.1.el8_10 | ELSA-2026-25121 |
| Oracle Linux | 8 | kernel-corex86_64 | Advisory build | 0:4.18.0-553.132.1.el8_10 | ELSA-2026-25121 |
| Oracle Linux | 8 | kernel-cross-headersaarch64 | Advisory build | 0:4.18.0-553.132.1.el8_10 | ELSA-2026-25121 |
| Oracle Linux | 8 | kernel-cross-headersx86_64 | Advisory build | 0:4.18.0-553.132.1.el8_10 | ELSA-2026-25121 |
| Oracle Linux | 8 | kernel-debugx86_64 | Advisory build | 0:4.18.0-553.132.1.el8_10 | ELSA-2026-25121 |
| Oracle Linux | 8 | kernel-debug-corex86_64 | Advisory build | 0:4.18.0-553.132.1.el8_10 | ELSA-2026-25121 |
| Oracle Linux | 8 | kernel-debug-develx86_64 | Advisory build | 0:4.18.0-553.132.1.el8_10 | ELSA-2026-25121 |
| Oracle Linux | 8 | kernel-debug-modulesx86_64 | Advisory build | 0:4.18.0-553.132.1.el8_10 | ELSA-2026-25121 |
| Oracle Linux | 8 | kernel-debug-modules-extrax86_64 | Advisory build | 0:4.18.0-553.132.1.el8_10 | ELSA-2026-25121 |
| Oracle Linux | 8 | kernel-develx86_64 | Advisory build | 0:4.18.0-553.132.1.el8_10 | ELSA-2026-25121 |
| Oracle Linux | 8 | kernel-docx86_64 | Advisory build | 0:4.18.0-553.132.1.el8_10 | ELSA-2026-25121 |
| Oracle Linux | 8 | kernel-headersaarch64 | Advisory build | 0:4.18.0-553.132.1.el8_10 | ELSA-2026-25121 |
| Oracle Linux | 8 | kernel-headersx86_64 | Advisory build | 0:4.18.0-553.132.1.el8_10 | ELSA-2026-25121 |
| Oracle Linux | 8 | kernel-modulesx86_64 | Advisory build | 0:4.18.0-553.132.1.el8_10 | ELSA-2026-25121 |
| Oracle Linux | 8 | kernel-modules-extrax86_64 | Advisory build | 0:4.18.0-553.132.1.el8_10 | ELSA-2026-25121 |
| Oracle Linux | 8 | kernel-toolsaarch64 | Advisory build | 0:4.18.0-553.132.1.el8_10 | ELSA-2026-25121 |
| Oracle Linux | 8 | kernel-toolsx86_64 | Advisory build | 0:4.18.0-553.132.1.el8_10 | ELSA-2026-25121 |
| Oracle Linux | 8 | kernel-tools-libsaarch64 | Advisory build | 0:4.18.0-553.132.1.el8_10 | ELSA-2026-25121 |
| Oracle Linux | 8 | kernel-tools-libsx86_64 | Advisory build | 0:4.18.0-553.132.1.el8_10 | ELSA-2026-25121 |
| Oracle Linux | 8 | kernel-tools-libs-develaarch64 | Advisory build | 0:4.18.0-553.132.1.el8_10 | ELSA-2026-25121 |
| Oracle Linux | 8 | kernel-tools-libs-develx86_64 | Advisory build | 0:4.18.0-553.132.1.el8_10 | ELSA-2026-25121 |
| Oracle Linux | 8 | perfaarch64 | Advisory build | 0:4.18.0-553.132.1.el8_10 | ELSA-2026-25121 |
| Oracle Linux | 8 | perfx86_64 | Advisory build | 0:4.18.0-553.132.1.el8_10 | ELSA-2026-25121 |
| Oracle Linux | 8 | python3-perfaarch64 | Advisory build | 0:4.18.0-553.132.1.el8_10 | ELSA-2026-25121 |
| Oracle Linux | 8 | python3-perfx86_64 | Advisory build | 0:4.18.0-553.132.1.el8_10 | ELSA-2026-25121 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolaarch64 | Advisory build | 4.18.0-372.216.1.el8_6 | RHSA-2026:69906 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolaarch64 | Advisory build | 4.18.0-553.132.1.el8_10 | RHSA-2026:25121 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-305.208.1.el8_4 | RHSA-2026:69874 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-372.216.1.el8_6 | RHSA-2026:69906 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-477.172.1.el8_8 | RHSA-2026:77301 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolppc64le | Advisory build | 4.18.0-553.132.1.el8_10 | RHSA-2026:25121 |
| Red Hat Enterprise Linux | RHEL-8 | bpftools390x | Advisory build | 4.18.0-305.208.1.el8_4 | RHSA-2026:69874 |
| Red Hat Enterprise Linux | RHEL-8 | bpftools390x | Advisory build | 4.18.0-372.216.1.el8_6 | RHSA-2026:69906 |
| Red Hat Enterprise Linux | RHEL-8 | bpftools390x | Advisory build | 4.18.0-553.132.1.el8_10 | RHSA-2026:25121 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-305.208.1.el8_4 | RHSA-2026:69874 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-372.216.1.el8_6 | RHSA-2026:69906 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-477.172.1.el8_8 | RHSA-2026:77301 |
| Red Hat Enterprise Linux | RHEL-8 | bpftoolx86_64 | Advisory build | 4.18.0-553.132.1.el8_10 | RHSA-2026:25121 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoaarch64 | Advisory build | 4.18.0-305.208.1.el8_4 | RHSA-2026:69874 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoaarch64 | Advisory build | 4.18.0-372.216.1.el8_6 | RHSA-2026:69906 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoaarch64 | Advisory build | 4.18.0-553.132.1.el8_10 | RHSA-2026:25121 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-305.208.1.el8_4 | RHSA-2026:69874 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-372.216.1.el8_6 | RHSA-2026:69906 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-477.172.1.el8_8 | RHSA-2026:77301 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfoppc64le | Advisory build | 4.18.0-553.132.1.el8_10 | RHSA-2026:25121 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfos390x | Advisory build | 4.18.0-305.208.1.el8_4 | RHSA-2026:69874 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfos390x | Advisory build | 4.18.0-372.216.1.el8_6 | RHSA-2026:69906 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfos390x | Advisory build | 4.18.0-553.132.1.el8_10 | RHSA-2026:25121 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-305.208.1.el8_4 | RHSA-2026:69874 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-372.216.1.el8_6 | RHSA-2026:69906 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-477.172.1.el8_8 | RHSA-2026:77301 |
| Red Hat Enterprise Linux | RHEL-8 | bpftool-debuginfox86_64 | Advisory build | 4.18.0-553.132.1.el8_10 | RHSA-2026:25121 |
| Red Hat Enterprise Linux | RHEL-8 | kernelaarch64 | Advisory build | 4.18.0-305.208.1.el8_4 | RHSA-2026:69874 |
| Red Hat Enterprise Linux | RHEL-8 | kernelaarch64 | Advisory build | 4.18.0-372.216.1.el8_6 | RHSA-2026:69906 |
| Red Hat Enterprise Linux | RHEL-8 | kernelaarch64 | Advisory build | 4.18.0-553.132.1.el8_10 | RHSA-2026:25121 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-305.208.1.el8_4 | RHSA-2026:69874 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-372.216.1.el8_6 | RHSA-2026:69906 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-477.172.1.el8_8 | RHSA-2026:77301 |
| Red Hat Enterprise Linux | RHEL-8 | kernelppc64le | Advisory build | 4.18.0-553.132.1.el8_10 | RHSA-2026:25121 |
| Red Hat Enterprise Linux | RHEL-8 | kernels390x | Advisory build | 4.18.0-305.208.1.el8_4 | RHSA-2026:69874 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: smc: Fix use-after-free in tcp_write_timer_handler(). With Eric's ref tracker, syzbot finally found a repro for use-after-free in tcp_write_timer_handler() by kernel TCP sockets. [0] If SMC creates a kernel socket in __smc_create(), the kernel socket is supposed to be freed in smc_clcsock_release() by calling sock_release() when we close() the parent SMC socket. However, at the end of smc_clcsock_release(), the kernel socket's sk_state might not be TCP_CLOSE. This means that we have not called inet_csk_destroy_sock() in __tcp_close() and have not stopped the TCP timers. The kernel socket's TCP timers can be fired later, so we need to hold a refcnt for net as we do for MPTCP subflows in mptcp_subflow_create_socket(). [0]: leaked reference. sk_alloc (./include/net/net_namespace.h:335 net/core/sock.c:2108) inet_create (net/ipv4/af_inet.c:319 net/ipv4/af_inet.c:244) __sock_create (net/socket.c:1546) smc_create (net/smc/af_smc.c:3269 net/smc/af_smc.c:3284) __sock_create (net/socket.c:1546) __sys_socket (net/socket.c:1634 net/socket.c:1618 net/socket.c:1661) __x64_sys_socket (net/socket.c:1672) do_syscall_64 (arch/x86/entry/common.c:50 arch/x86/entry/common.c:80) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:120) ================================================================== BUG: KASAN: slab-use-after-free in tcp_write_timer_handler (net/ipv4/tcp_timer.c:378 net/ipv4/tcp_timer.c:624 net/ipv4/tcp_timer.c:594) Read of size 1 at addr ffff888052b65e0d by task syzrepro/18091 CPU: 0 PID: 18091 Comm: syzrepro Tainted: G W 6.3.0-rc4-01174-gb5d54eb5899a #7 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.0-1.amzn2022.0.1 04/01/2014 Call Trace: <IRQ> dump_stack_lvl (lib/dump_stack.c:107) print_report (mm/kasan/report.c:320 mm/kasan/report.c:430) kasan_report (mm/kasan/report.c:538) tcp_write_timer_handler (net/ipv4/tcp_timer.c:378 net/ipv4/tcp_timer.c:624 net/ipv4/tcp_timer.c:594) tcp_write_timer (./include/linux/spinlock.h:390 net/ipv4/tcp_timer.c:643) call_timer_fn (./arch/x86/include/asm/jump_label.h:27 ./include/linux/jump_label.h:207 ./include/trace/events/timer.h:127 kernel/time/timer.c:1701) __run_timers.part.0 (kernel/time/timer.c:1752 kernel/time/timer.c:2022) run_timer_softirq (kernel/time/timer.c:2037) __do_softirq (./arch/x86/include/asm/jump_label.h:27 ./include/linux/jump_label.h:207 ./include/trace/events/irq.h:142 kernel/softirq.c:572) __irq_exit_rcu (kernel/softirq.c:445 kernel/softirq.c:650) irq_exit_rcu (kernel/softirq.c:664) sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1107 (discriminator 14)) </IRQ>
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The UAF is triggered by a locally-armed TCP timer; the attacker reaches it entirely through local syscalls (creating an AF_SMC socket, connecting it, closing it) plus network-namespace teardown. No received network packet triggers the vulnerable code path, so this is a local attack surface. AC:L - The attacker controls both sides: they arm the clcsock's TCP timers (e.g. connecting to an unresponsive peer so it stays non-TCP_CLOSE) and control when the net namespace is destroyed, and can spray many socket/namespace pairs to reliably land the timer firing on freed memory. PR:L - Triggering requires a destroyable network namespace (the init netns is never freed), which an unprivileged local user obtains via user namespaces (unshare -Urn); AF_SMC socket creation itself is not capability-gated. UI:N - The attacker performs all setup (socket creation, connect, close, namespace teardown) themselves; no victim action is required. S:U - The use-after-free corrupts a freed struct net within the kernel's own security authority; it does not cross a VM, IOMMU, or sandbox boundary. C:H - This is a slab use-after-free of struct net whose freed memory can be reclaimed with attacker-influenced data before the timer reads sysctl fields from it, enabling information disclosure per UAF guidance. I:H - The timer handlers write into the freed net object (MIB counter increments via __NET_INC_STATS), and reclaiming the freed slab enables heap-spray/write primitives, so integrity impact is High per UAF guidance. A:H - A use-after-free of the network namespace reliably causes kernel oops/panic (as reported by KASAN/syzbot), giving High availability impact.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | ac7138746e14137a451f8539614cdd349153e0c0 to < 08f057bd1e559cdb388c77b18de3eea3d3d8cb24 (affected · git)ac7138746e14137a451f8539614cdd349153e0c0 to < 1cc41c8acfc1ee30b4868559058db97fa44b0137 (affected · git)ac7138746e14137a451f8539614cdd349153e0c0 to < 9744d2bf19762703704ecba885b7ac282c02eacf (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.11 (affected)0 to < 4.11 (unaffected · semver)6.1.191 through 6.1.* (unaffected · semver)6.2.12 through 6.2.* (unaffected · semver)6.3 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
2Linux · cna
smc: Fix use-after-free in tcp_write_timer_handler().
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a2f3540959f9a3ab8de0c068a13f6007240151ff4f6c6f81609f9efe626584ae
- Ingested
- 30 Oct 2026, 12:31:36 UTC
- Source record
- Official CVE record