Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp1227800rdb; Fri, 2 Feb 2024 20:00:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IF0GSYU7aKinYeUGnQY+DE6qy33oaBcyCPToNWxFWRctNAY/jewgBPDfSKC6sznq3BkEFJM X-Received: by 2002:a05:6870:a686:b0:214:df30:3b77 with SMTP id i6-20020a056870a68600b00214df303b77mr1835871oam.1.1706932850968; Fri, 02 Feb 2024 20:00:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706932850; cv=pass; d=google.com; s=arc-20160816; b=TTXJkCgc0PJ1faaSAnZ0NTKRDeqxEorK3afhzW/GppMfRD0zspeuW33FqgRFtn3ygY TW4bLb3iw9ON5B7FfUWiV/R1XpfioSgn6L5H+CbUqcGWPqR9R/WnqLPf8IEEjwQIstqq Z6bnoqWMtJQJhwbuiSYzUvjOpyjVeHOc/lq+x01nF8/MRW8Edxm4VYtEzSTfzLDevSe9 w4nQnEJheMLWHMll9/wzBTue6+9jCKVcAxF4PKRypAAc3sDBqWCVOmQ9Je+dU4FHgkVZ ltv8/Ldthfwqbn7AIj2DPij+wcT+JT1xHMD/WqVBD8BxXX6TwJXL+/svv9X1XN0M48XC A98Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=k41X4sc9DdtTYFgJF4SnAf1wbpUf7pf1w3fjGixgous=; fh=S5KaAC5kZ7RftjocPsj3RwNDy+8ub43PP0PH360w93A=; b=FXlIu3+1cS3o6nDeZV7boDQo9LLARxOl3rB1e9ZmB9mUGv9zhy5pM1qUCV1sHdFJju 4xdgDVwRcPB5LKAHDeAHlai4kHIcQtyKbJgHh1hZqYKwz7+w/wB9GpBwcauO9SZmx2m2 IVH3oQHuT5nwNKP/kEC1cN41ZgWNj30GvFUb0naUJl5NNK6kI6xgcIjw/gK5gnem/m3N +aB9VcEG4iTEVeNRyfxUXhxMY+4yroYlq8vZajDE3AaxFCDs83P5V8FkSEiwe2vbfge/ TPy9HpPxxN4g7V26Bzvj23uBHdev7z8E5L60GbwJ3WmMpyzkrBZnMv8sM2ZgCLMTdxbM 6ymw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=k2HRrMgL; arc=pass (i=1 spf=pass spfdomain=amazon.co.jp dkim=pass dkdomain=amazon.com dmarc=pass fromdomain=amazon.com); spf=pass (google.com: domain of linux-kernel+bounces-50897-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-50897-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com X-Forwarded-Encrypted: i=1; AJvYcCWes63lryjylXwz8m5GyWzAyc2rheQgA8jqyBWvPhKn/7e9Wr7nD+CqExMyK4S3x3P5I4hj3VNM0coPFkRBoa6SE3GBDuaqasPDr/MrnA== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id g1-20020a632001000000b005cec8ea155bsi2635826pgg.842.2024.02.02.20.00.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 20:00:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-50897-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=k2HRrMgL; arc=pass (i=1 spf=pass spfdomain=amazon.co.jp dkim=pass dkdomain=amazon.com dmarc=pass fromdomain=amazon.com); spf=pass (google.com: domain of linux-kernel+bounces-50897-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-50897-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 97A0228240B for ; Sat, 3 Feb 2024 04:00:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 36E7FFC09; Sat, 3 Feb 2024 04:00:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amazon.com header.i=@amazon.com header.b="k2HRrMgL" Received: from smtp-fw-52004.amazon.com (smtp-fw-52004.amazon.com [52.119.213.154]) (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 7B659F9E4; Sat, 3 Feb 2024 04:00:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=52.119.213.154 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706932839; cv=none; b=k2Lv0rbv50mTSaDc/udh1LPzygIYEYjdKzZsQ774nHtTaC1YJT1ONb2qAipiKC9RWoqKpT35kWuOw4rN57LFrunk3XNXS1BeFwUg6SfxbodQIIIlF/UzUKs/36xw0UoNlC3/mlljjhie9Nc1diG5C5RCEO/RPUxR/zXqc/42M8k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706932839; c=relaxed/simple; bh=nPNcVMyJMqOzODkfQyo8r4ZLd/p2EiOmJqZC2GbOwHU=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=KKJOi3w2TsyqeXvsD6pObyDYTu0GulM57/OZne42WSnWnJaW8hUGKIrLwMTSCu62aTphousoEJ8LlueNIm9UZ3+lZRAeY757JGpIwBfYuVpD5ojX8pBNbdSOlNgo77TyuVCByy8sP/eHGu7W5TQlnQowVSE2zFUvoL4URBLR6w0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amazon.com; spf=pass smtp.mailfrom=amazon.co.jp; dkim=pass (1024-bit key) header.d=amazon.com header.i=@amazon.com header.b=k2HRrMgL; arc=none smtp.client-ip=52.119.213.154 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amazon.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amazon.co.jp DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1706932838; x=1738468838; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=k41X4sc9DdtTYFgJF4SnAf1wbpUf7pf1w3fjGixgous=; b=k2HRrMgLM30o5V9m/vT1Cd8hOBNNdiLIcXO86sRQLBygApFJCsepYH3L YY8pKOzq6zmnfk/zCQz5eFxKDugm4PSciZKFeNCy0xcK+eqNW4t/6nkmN C0N+brAs3gdObpDf6pTwQoxBxc0polZdVjrRNsRFhAcpK+jjMykqQ5TuY E=; X-IronPort-AV: E=Sophos;i="6.05,238,1701129600"; d="scan'208";a="182307099" Received: from iad12-co-svc-p1-lb1-vlan2.amazon.com (HELO smtpout.prod.us-west-2.prod.farcaster.email.amazon.dev) ([10.43.8.2]) by smtp-border-fw-52004.iad7.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Feb 2024 04:00:36 +0000 Received: from EX19MTAUWC002.ant.amazon.com [10.0.21.151:15805] by smtpin.naws.us-west-2.prod.farcaster.email.amazon.dev [10.0.44.97:2525] with esmtp (Farcaster) id 8e386eaa-6d50-4d8a-8bab-47c198efb151; Sat, 3 Feb 2024 04:00:35 +0000 (UTC) X-Farcaster-Flow-ID: 8e386eaa-6d50-4d8a-8bab-47c198efb151 Received: from EX19D004ANA001.ant.amazon.com (10.37.240.138) by EX19MTAUWC002.ant.amazon.com (10.250.64.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Sat, 3 Feb 2024 04:00:33 +0000 Received: from 88665a182662.ant.amazon.com.com (10.106.101.14) by EX19D004ANA001.ant.amazon.com (10.37.240.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Sat, 3 Feb 2024 04:00:30 +0000 From: Kuniyuki Iwashima To: CC: , , , , , , Subject: Re: [syzbot] [net?] WARNING in __unix_gc Date: Fri, 2 Feb 2024 20:00:21 -0800 Message-ID: <20240203040021.65783-1-kuniyu@amazon.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <0000000000003555920610660fbc@google.com> References: <0000000000003555920610660fbc@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: EX19D042UWB004.ant.amazon.com (10.13.139.150) To EX19D004ANA001.ant.amazon.com (10.37.240.138) From: syzbot Date: Fri, 02 Feb 2024 05:26:28 -0800 > Hello, > > syzbot found the following issue on: > > HEAD commit: 1701940b1a02 Merge branch 'tools-net-ynl-add-features-for-.. > git tree: net-next > console+strace: https://syzkaller.appspot.com/x/log.txt?x=15cbca88180000 > kernel config: https://syzkaller.appspot.com/x/.config?x=43ed254f922f56d0 > dashboard link: https://syzkaller.appspot.com/bug?extid=fa3ef895554bdbfd1183 > compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=11b512ffe80000 > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=12d6927be80000 > > Downloadable assets: > disk image: https://storage.googleapis.com/syzbot-assets/00090c03ed53/disk-1701940b.raw.xz > vmlinux: https://storage.googleapis.com/syzbot-assets/fc03bbe45eb3/vmlinux-1701940b.xz > kernel image: https://storage.googleapis.com/syzbot-assets/8a5b859954ca/bzImage-1701940b.xz > > IMPORTANT: if you fix the issue, please add the following tag to the commit: > Reported-by: syzbot+fa3ef895554bdbfd1183@syzkaller.appspotmail.com > > ------------[ cut here ]------------ > WARNING: CPU: 0 PID: 2863 at net/unix/garbage.c:345 __unix_gc+0xc74/0xe80 net/unix/garbage.c:345 > Modules linked in: > CPU: 0 PID: 2863 Comm: kworker/u4:11 Not tainted 6.8.0-rc1-syzkaller-00583-g1701940b1a02 #0 > Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 > Workqueue: events_unbound __unix_gc > RIP: 0010:__unix_gc+0xc74/0xe80 net/unix/garbage.c:345 > Code: 8b 5c 24 50 e9 86 f8 ff ff e8 f8 e4 22 f8 31 d2 48 c7 c6 30 6a 69 89 4c 89 ef e8 97 ef ff ff e9 80 f9 ff ff e8 dd e4 22 f8 90 <0f> 0b 90 e9 7b fd ff ff 48 89 df e8 5c e7 7c f8 e9 d3 f8 ff ff e8 > RSP: 0018:ffffc9000b03fba0 EFLAGS: 00010293 > RAX: 0000000000000000 RBX: ffffc9000b03fc10 RCX: ffffffff816c493e > RDX: ffff88802c02d940 RSI: ffffffff896982f3 RDI: ffffc9000b03fb30 > RBP: ffffc9000b03fce0 R08: 0000000000000001 R09: fffff52001607f66 > R10: 0000000000000003 R11: 0000000000000002 R12: dffffc0000000000 > R13: ffffc9000b03fc10 R14: ffffc9000b03fc10 R15: 0000000000000001 > FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 > CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > CR2: 00005559c8677a60 CR3: 000000000d57a000 CR4: 00000000003506f0 > DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 > DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 > Call Trace: > > process_one_work+0x889/0x15e0 kernel/workqueue.c:2633 > process_scheduled_works kernel/workqueue.c:2706 [inline] > worker_thread+0x8b9/0x12a0 kernel/workqueue.c:2787 > kthread+0x2c6/0x3b0 kernel/kthread.c:388 > ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 > ret_from_fork_asm+0x1b/0x30 arch/x86/entry/entry_64.S:242 > Ugh, I should've noticed this before sending another series. It seems syzbot creates a self-ref cycle. I'll look into it. Thanks.