From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f201.google.com (mail-pl1-f201.google.com [209.85.214.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E826B2066DE for ; Sun, 15 Feb 2026 20:16:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771186617; cv=none; b=SFc8KCsXSnGghUx2hvrx37r62+BRX+7sO676wUYxh8QNuR+y61icsvWyP1zP3vGk4Z2uUYt2fKOYehS5xPn/d6wgphfC+fFbMZ1mMe6lQzzNjosH7NvRoz90BpWLLB7G1Z40Oyq+fYlerv/i2hqoSPph6CZh8w0FNXnpdrbksyI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771186617; c=relaxed/simple; bh=8vOpxQYcDwjoib7XolTxj1TkqhQYGCQEnw0A1F1yoOs=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=gs8PipEBy31xedZUWAGUALmZqRJZGo7ygpusmLZzKytzY2g5ex3fRcSSBpQ5+rB3nm2PBuxUSIRbArnF/QuY0HxI/32gS7PhI1JBIS9E8MqnCHKqiA+rXTn5WEc7vy4z1GS+NTeQQx0JsJH9sxGq/Awk8ulo0q2GxVdto2E+IqU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--kuniyu.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=KTvnypwF; arc=none smtp.client-ip=209.85.214.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--kuniyu.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="KTvnypwF" Received: by mail-pl1-f201.google.com with SMTP id d9443c01a7336-2a7701b6353so32678655ad.3 for ; Sun, 15 Feb 2026 12:16:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1771186615; x=1771791415; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=4u+Ax07Z5ARPxF3ldiDaVCcwM0hpHGJwhoYmX2p8sD4=; b=KTvnypwFtPohxoFLB3cgJYv90AtPRA3vR489+qzi0QbvB5i7NAAJzRtlacw1hFm2WV ISMm6lxmf9yPq1729tSgu5F4rMAQZ2ZFGHM0aWCM8YzHVCcC36f18ZD9ONDglVPDEaJb RmwO0TvqeFBjodkZh+x+8K+i3OfIDic8iSG2kRFC4OBREVJe1quhI3CLdYApfKiJuRax 5YLTGV7f/toumBzUpRPo18Qt0CEl2mBXzfuVU3+QlqoQ7u1djpxYDyV28BDP/kDspfEc RhXK8RN/3fYbQ4jzitKWhCs2m60uVPGWPllll9zOxDJQCtsI40x5qTCpf92ZudFZR7Yp MfhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771186615; x=1771791415; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=4u+Ax07Z5ARPxF3ldiDaVCcwM0hpHGJwhoYmX2p8sD4=; b=Gd80iezF9k+vi6UC4A7WSMfBtApYugDjDIQp+kK6YkmsEs10WJCz5h2MiLfqLPvKbh cvAs+IGvNwadVcxVryWDLiJQRLSqcc4M+aGT8v2lMK0WoWVSLCXL87orkNh83UvJDPVD LnsyaU8Ehku8d2omR1sVbUMSkLK93XRTRMBiVihoC0lNxp3vCrXzk9E2pNyfyIa19gOm vNjkebvpx5Z3F2cGC08kVwWtKO3VXI41Ao+l2dl46tvs6tHrIvEmCv0spbxdJHmZdDs0 esmqzjA/xMPS0XGD/wc4k6LRO327hcSJOauaZngJ6uctK+rZqDyxyQbbj7k4wb/3YkRq aMMA== X-Forwarded-Encrypted: i=1; AJvYcCXvoPKGtk/ryW0ZE89O++RtAnT597z/vcSiJWcpL/k0H/nMi2kLm2d1ToKNNcnaOgcnl1MCavqz03scMa4=@vger.kernel.org X-Gm-Message-State: AOJu0YzPL8vgBNGPdGShzZXTD2f3DUJafVPuwXxDOqDI8CwsqKsJcedg mWmDw7akXKeT1fa3TKa1jazdDOVMMt4rZ7qdBOh5OSTn8xMDnfmQNdjckmyNwWCb8ckjdlzri4O BhN0BXg== X-Received: from pjvf6.prod.google.com ([2002:a17:90a:da86:b0:340:ad90:c946]) (user=kuniyu job=prod-delivery.src-stubby-dispatcher) by 2002:a17:903:46c5:b0:2aa:e570:6e6d with SMTP id d9443c01a7336-2ad175347c5mr70209085ad.40.1771186615156; Sun, 15 Feb 2026 12:16:55 -0800 (PST) Date: Sun, 15 Feb 2026 20:16:28 +0000 In-Reply-To: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: X-Mailer: git-send-email 2.53.0.310.g728cabbaf7-goog Message-ID: <20260215201653.3545146-1-kuniyu@google.com> Subject: Re: [syzbot] [net?] WARNING in inet_sock_destruct (6) From: Kuniyuki Iwashima To: jiayuan.chen@linux.dev Cc: davem@davemloft.net, dsahern@kernel.org, edumazet@google.com, horms@kernel.org, jakub@cloudflare.com, john.fastabend@gmail.com, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, pabeni@redhat.com, syzbot+5b3b7e51dda1be027b7a@syzkaller.appspotmail.com, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" From: Jiayuan Chen Date: Sat, 14 Feb 2026 13:46:38 +0800 > On Fri, Feb 13, 2026 at 12:08:38PM +0800, syzbot wrote: > > I identified this issue and submitted a fix before this syzbot report: > https://lore.kernel.org/bpf/20250508062423.51978-1-jiayuan.chen@linux.dev/ > Unfortunately the patch was not accepted at the time. The fix is not sufficient since sk->sk_forward_alloc is still modified locklessly. I'm releasing other related reports and going to send fix shortly. > > > Hello, > > > > syzbot found the following issue on: > > > > HEAD commit: 192c0159402e Merge tag 'powerpc-7.0-1' of git://git.kernel.. > > git tree: upstream > > console output: https://syzkaller.appspot.com/x/log.txt?x=17b8cc02580000 > > kernel config: https://syzkaller.appspot.com/x/.config?x=22c34f040954bbd1 > > dashboard link: https://syzkaller.appspot.com/bug?extid=5b3b7e51dda1be027b7a > > compiler: gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44 > > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1316a15a580000 > > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=14140ffa580000 > > > > Downloadable assets: > > disk image (non-bootable): https://storage.googleapis.com/syzbot-assets/d900f083ada3/non_bootable_disk-192c0159.raw.xz > > vmlinux: https://storage.googleapis.com/syzbot-assets/d1c911c7a5b8/vmlinux-192c0159.xz > > kernel image: https://storage.googleapis.com/syzbot-assets/f9d4cfbb614a/bzImage-192c0159.xz > > > > IMPORTANT: if you fix the issue, please add the following tag to the commit: > > Reported-by: syzbot+5b3b7e51dda1be027b7a@syzkaller.appspotmail.com > > > > ------------[ cut here ]------------ > > sk->sk_forward_alloc > > WARNING: net/ipv4/af_inet.c:157 at inet_sock_destruct+0x653/0x800 net/ipv4/af_inet.c:157, CPU#0: ksoftirqd/0/15 > > Modules linked in: > > CPU: 0 UID: 0 PID: 15 Comm: ksoftirqd/0 Not tainted syzkaller #0 PREEMPT(full) > > Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 > > RIP: 0010:inet_sock_destruct+0x653/0x800 net/ipv4/af_inet.c:157 > > Code: b4 4f ff e9 06 fd ff ff e8 aa 25 10 f8 90 0f 0b 90 e9 35 fe ff ff e8 9c 25 10 f8 90 0f 0b 90 e9 c5 fe ff ff e8 8e 25 10 f8 90 <0f> 0b 90 e9 04 ff ff ff e8 80 25 10 f8 90 0f 0b 90 e9 65 fe ff ff > > RSP: 0018:ffffc90000127bb0 EFLAGS: 00010246 > > RAX: 0000000000000000 RBX: ffff888100796300 RCX: ffffffff89f71e97 > > RDX: ffff88801dec4900 RSI: ffffffff89f71f92 RDI: ffff88801dec4900 > > RBP: 0000000000000090 R08: 0000000000000005 R09: 0000000000000000 > > R10: 0000000000000090 R11: 00000000000075f9 R12: ffff888100796300 > > R13: ffff888100796390 R14: ffffffff81ed1d7d R15: 0000000000000004 > > FS: 0000000000000000(0000) GS:ffff8880d65b3000(0000) knlGS:0000000000000000 > > CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > > CR2: 00007ffe39b75ff4 CR3: 000000000e396000 CR4: 0000000000352ef0 > > Call Trace: > > > > __sk_destruct+0x85/0xbb0 net/core/sock.c:2350 > > rcu_do_batch kernel/rcu/tree.c:2617 [inline] > > rcu_core+0x5a2/0x10d0 kernel/rcu/tree.c:2869 > > handle_softirqs+0x1ea/0x910 kernel/softirq.c:622 > > run_ksoftirqd kernel/softirq.c:1063 [inline] > > run_ksoftirqd+0x38/0x60 kernel/softirq.c:1055 > > smpboot_thread_fn+0x3d3/0xaa0 kernel/smpboot.c:160 > > kthread+0x370/0x450 kernel/kthread.c:467 > > ret_from_fork+0x754/0xd80 arch/x86/kernel/process.c:158 > > ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 > > > >