Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 49DF337205D for ; Sat, 15 Aug 2026 06:23:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774992; cv=none; b=NyG9TVi2FtTG0rKh4O7F98iiPbey9UmpNuxxQjLY8LJjazOOS3kzduYBl12Det3ZkWX6+Kq6P3WT+CdQg5NAb4g6GLOwT8+nzHHr4O9BWMH7DurqOue3pQPSdRd9dK9ywpGzeS0LBhYh7RNBEStUwsBtrUaZOrE8bOTfrxL8mU8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774992; c=relaxed/simple; bh=NyOlmehq+m48MV+Ri8s5rDXIJ/kRhgDKo+V7+u6Gyao=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=PKLLu1f4JDAhVKGaf2epiHAD9GiK8ZQkOPOlxAqGobeFQCOdGIFtIS1hry2QEqyDdSQjGWjLrBxjozYen7rdaCnWjIUU7tAxr0yQKCGntY9jUTqYS/8QwxB16mm7lFsLdFGTO5pEsO1Yk2xfdbuUphPfRRJzvHS1dpVnA2lqQr4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wxJat/+h; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="wxJat/+h" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9CC5A1F00A3A; Sat, 15 Aug 2026 06:23:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774991; bh=RXspW08GO4AWkHsjXbP3R5GHQ5d9num1tNGugT2InXE=; h=From:To:Cc:Subject:Date:Reply-To; b=wxJat/+hpK5fERAsi3X93amDbJzvACFRKlOOuJKHpvQIqUJJyk7SORugSHFc/wrLY DcNlVixBni6Rn0TeyOCO0xzR2xrPTH/plEuukRcQzsy4kC8c2gWAB6lQKuXZDev6go m9P3ND6Api5Y2yQ3oyT0a3JuEvzOb0mUAPl+C2s4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72299: tipc: restrict socket queue dumps in enqueue tracepoints Date: Sat, 15 Aug 2026 15:06:18 +0900 Message-ID: <2026081502-CVE-2026-72299-a8d3@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=5075; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Pcb/ApeESLYO0yRqgs+xEo9mjVi3O6zKfUdVwsFser0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDLf+Nq9V5jjzqGfpNTnPKUZznVJTP8fI9ewqKbgpd apgeuOhjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIqg0MC44a5rrX2Tz5sth4 gVLXveerF/hk3GCYZ/Azql3NbGXzR8PGFrXfD8+mPf0fDwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: tipc: restrict socket queue dumps in enqueue tracepoints tipc_sk_enqueue() runs with sk->sk_lock.slock held while the socket is owned by user context. The spinlock protects the backlog queue in this path, but it does not serialize against the socket owner consuming or purging sk_receive_queue. KASAN reported: CPU: 14 UID: 0 PID: 1050 Comm: tipc3 Not tainted 7.1.0-rc6+ #126 PREEMPT(lazy) Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 04/01/2014 Call Trace: dump_stack_lvl+0x76/0xa0 lib/dump_stack.c:123 print_report+0xce/0x5b0 mm/kasan/report.c:482 kasan_report+0xc6/0x100 mm/kasan/report.c:597 __asan_report_load4_noabort+0x14/0x30 mm/kasan/report_generic.c:380 tipc_skb_dump+0x1327/0x16f0 net/tipc/trace.c:73 tipc_list_dump+0x208/0x2e0 net/tipc/trace.c:187 tipc_sk_dump+0xaf6/0xd60 net/tipc/socket.c:3996 trace_event_raw_event_tipc_sk_class+0x312/0x5a0 net/tipc/trace.h:188 tipc_sk_rcv+0xb1d/0x1d50 net/tipc/socket.c:2497 tipc_node_xmit+0x1c3/0x1440 net/tipc/node.c:1689 __tipc_sendmsg+0x97a/0x1440 net/tipc/socket.c:1512 tipc_sendmsg+0x52/0x80 net/tipc/socket.c:1400 sock_sendmsg+0x2f6/0x3e0 net/socket.c:825 splice_to_socket+0x7f9/0x1010 fs/splice.c:884 do_splice+0xe21/0x2330 fs/splice.c:936 __do_splice+0x153/0x260 fs/splice.c:1431 __x64_sys_splice+0x150/0x230 fs/splice.c:1616 x64_sys_call+0xeb5/0x2790 arch/x86/entry/syscall_64.c:41 do_syscall_64+0xf3/0x620 arch/x86/entry/syscall_64.c:63 entry_SYSCALL_64_after_hwframe+0x76/0x7e arch/x86/entry/entry_64.S:130 RIP: 0033:0x71624e8aafe2 Code: 08 0f 85 71 3a ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 66 2e 0f 1f 84 00 00 00 00 00 66 RSP: 002b:0000716157ffed68 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 0000716157fff6c0 RCX: 000071624e8aafe2 RDX: 000000000000005f RSI: 0000000000000000 RDI: 0000000000000066 RBP: 0000716157ffed90 R08: 0000000000008000 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: ffffffffffffff00 R13: 0000000000000021 R14: 0000000000000000 R15: 00007fff89799c40 The TIPC_DUMP_ALL tracepoints in tipc_sk_enqueue() also dump sk_receive_queue and can therefore dereference skbs that the socket owner has already dequeued or freed. Restrict these dumps to TIPC_DUMP_SK_BKLGQ, which matches the queue protected by the held spinlock. Keep the change limited to the enqueue path, where the unsafe queue dump is reachable while the socket is owned by user context. The Linux kernel CVE team has assigned CVE-2026-72299 to this issue. Affected and fixed versions =========================== Issue introduced in 5.0 with commit 01e661ebfbad40e6280fb8ec25f2861d39ba4387 and fixed in 6.6.148 with commit 12876864f9de5fa6f611a30c6c17e405a773bf0a Issue introduced in 5.0 with commit 01e661ebfbad40e6280fb8ec25f2861d39ba4387 and fixed in 6.12.101 with commit b9e100815f4b55e9ccaf6af9a3aba173eb13d381 Issue introduced in 5.0 with commit 01e661ebfbad40e6280fb8ec25f2861d39ba4387 and fixed in 6.18.40 with commit 61a55fa24a5d737436018764a647fe5b6cb36371 Issue introduced in 5.0 with commit 01e661ebfbad40e6280fb8ec25f2861d39ba4387 and fixed in 7.1.5 with commit 6acbbe54215d5f4251593000cff2bf51d6748713 Issue introduced in 5.0 with commit 01e661ebfbad40e6280fb8ec25f2861d39ba4387 and fixed in 7.2-rc1 with commit acd7df8d955480a6f6e5bb809da67b1500cc3cf4 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-72299 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: net/tipc/socket.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/12876864f9de5fa6f611a30c6c17e405a773bf0a https://git.kernel.org/stable/c/b9e100815f4b55e9ccaf6af9a3aba173eb13d381 https://git.kernel.org/stable/c/61a55fa24a5d737436018764a647fe5b6cb36371 https://git.kernel.org/stable/c/6acbbe54215d5f4251593000cff2bf51d6748713 https://git.kernel.org/stable/c/acd7df8d955480a6f6e5bb809da67b1500cc3cf4