🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #7124

[syzbot] [smc?] possible deadlock in __smc_lgr_terminate

#7124
From: syzbot
Date: Sun, 25 Oct 2026 00:35
105 lines
13551 bytes
Hello,

syzbot found the following issue on:

HEAD commit:    f47d223627f8 Merge tag 'vfs-7.4-rc1.sync_close' of git://g..
git tree:       upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=1413290d580000
kernel config:  https://syzkaller.appspot.com/x/.config?x=b8fd4ba7675545d0
dashboard link: https://syzkaller.appspot.com/bug?extid=7ea1f5efd5de7e24f1de
compiler:       Debian clang version 22.1.8 (1~deb13u4), Debian LLD 22.1.8

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/54bd1c4ffe03/disk-f47d2236.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/7c7d29f96e65/vmlinux-f47d2236.xz
kernel image: https://storage.googleapis.com/syzbot-assets/6342fb551ce8/bzImage-f47d2236.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+7ea1f5efd5de7e24f1de@syzkaller.appspotmail.com

============================================
WARNING: possible recursive locking detected
syzkaller #0 Not tainted
--------------------------------------------
kworker/0:2/7972 is trying to acquire lock:
ffff8880419c3118 (sk_lock-AF_SMC){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1715 [inline]
ffff8880419c3118 (sk_lock-AF_SMC){+.+.}-{0:0}, at: __smc_lgr_terminate+0x19e/0x6a0 net/smc/smc_core.c:1580

but task is already holding lock:
ffff8880326f9298 (sk_lock-AF_SMC){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1715 [inline]
ffff8880326f9298 (sk_lock-AF_SMC){+.+.}-{0:0}, at: smc_listen_work+0x5e/0x1410 net/smc/af_smc.c:2463

other info that might help us debug this:
 Possible unsafe locking scenario:

       CPU0
       ----
  lock(sk_lock-AF_SMC);
  lock(sk_lock-AF_SMC);

 *** DEADLOCK ***

 May be due to missing lock nesting notation

locks held by kworker/0:2/7972: 3, last CPU#0:
 #0: ffff8880344a4938 ((wq_completion)smc_hs_wq){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
 #0: ffff8880344a4938 ((wq_completion)smc_hs_wq){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
 #0: ffff8880344a4938 ((wq_completion)smc_hs_wq){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3361 [inline]
 #0: ffff8880344a4938 ((wq_completion)smc_hs_wq){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3479
 #1: ffffc900045ffc40 ((work_completion)(&new_smc->smc_listen_work)){+.+.}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:309 [inline]
 #1: ffffc900045ffc40 ((work_completion)(&new_smc->smc_listen_work)){+.+.}-{0:0}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
 #1: ffffc900045ffc40 ((work_completion)(&new_smc->smc_listen_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3361 [inline]
 #1: ffffc900045ffc40 ((work_completion)(&new_smc->smc_listen_work)){+.+.}-{0:0}, at: process_scheduled_works+0x97a/0x1630 kernel/workqueue.c:3479
 #2: ffff8880326f9298 (sk_lock-AF_SMC){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1715 [inline]
 #2: ffff8880326f9298 (sk_lock-AF_SMC){+.+.}-{0:0}, at: smc_listen_work+0x5e/0x1410 net/smc/af_smc.c:2463

stack backtrace:
CPU: 0 UID: 0 PID: 7972 Comm: kworker/0:2 Not tainted syzkaller #0 PREEMPT_{RT,(full)} 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
Workqueue: smc_hs_wq smc_listen_work
Call Trace:
 <TASK>
 dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120
 print_deadlock_bug+0x27a/0x290 kernel/locking/lockdep.c:3085
 check_deadlock kernel/locking/lockdep.c:3137 [inline]
 validate_chain kernel/locking/lockdep.c:3939 [inline]
 __lock_acquire+0x25db/0x2de0 kernel/locking/lockdep.c:5288
 lock_acquire+0x115/0x350 kernel/locking/lockdep.c:5942
 lock_sock_nested+0x41/0x130 net/core/sock.c:3865
 lock_sock include/net/sock.h:1715 [inline]
 __smc_lgr_terminate+0x19e/0x6a0 net/smc/smc_core.c:1580
 smc_conn_abort net/smc/af_smc.c:1019 [inline]
 smc_listen_decline net/smc/af_smc.c:1978 [inline]
 smc_listen_work+0x69e/0x1410 net/smc/af_smc.c:2588
 process_one_work kernel/workqueue.c:3396 [inline]
 process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3479
 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3560
 kthread+0x38b/0x470 kernel/kthread.c:436
 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzkaller@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup
Technical Details
Message-ID: <6add4ed9.67317f00.38c4bc.0066.GAE@google.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-351461-linux-kernel-netdev=dewy.ru

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-351461-linux-kernel-netdev=dewy.ru
From: syzbot+7ea1f5efd5de7e24f1de@syzkaller.appspotmail.com (syzbot)
Newsgroups: linux.kernel.netdev
Subject: [syzbot] [smc?] possible deadlock in __smc_lgr_terminate
Date: Sat, 24 Oct 2026 17:35:37 -0700
Organization: Usenet Network
Message-ID: <6add4ed9.67317f00.38c4bc.0066.GAE@google.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Injection-Info: usenet.network;
	logging-data="906824"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:jiaddaM44D3tPtNGdOhK+lul3H4= sha256:aD6W+nRV1Kb1H/cCE3293YfUHIGAc2dgZXAW7PFYUuw=
	sha1:zTK7cJnIQV8ECbFoMD8+2S9/BoU= sha256:Pph6HpfGfc3W9CpHhukjPopgk++GhZp1DuD43HeLQSY=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id C5E70111583; Sun, 25 Oct 2026 03:36:03 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -0.145
X-Spam-Status: No, score=-0.145 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, FROM_LOCAL_HEX=0.331,
	HEADER_FROM_DIFFERENT_DOMAINS=0.25, MAILING_LIST_MULTI=-1,
	RCVD_IN_DNSWL_MED=-2.3, SORTED_RECIPS=2.474, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id dJxGkRLMZ5ZV;
	Sun, 25 Oct 2026 03:35:55 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-351461-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=syzkaller.appspotmail.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id DDB36111678; Sun, 25 Oct 2026 03:35:50 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id E0BF3355FB; Sun, 25 Oct 2026 00:35:39 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1792888539;
	b=iUZ07hni13wexGZ4wW6V7P0vTOt0dukdHrKoULAYshpnyl632hI8SqZ24ksDS/f4xFaJ
	 8pHtOEgOAaqEc5oCXkmUv0az6q/a5ndZ2DtAyRA3ElWFeZS9XYOkT2ZXhvGOKwcNojvsD
	 GxPpzCLTmjWVL9xeuU7kFsdHzDXcGbgp5CJzLXiKicMx8PKOhYY9LAOAVfNF+YVcOykTe
	 JXrmeyS1MEEvgHvA2QNTUO2T7l4hTTkkIx12Hr8fX81PYMj0uTkoZFGXmCSGT5QCJLUvC
	 dugflKRiUODvuuLFF2QkbY4dGBD8/R8DDt57orRhCp3iQuQP34qGeGv6SFw88DbPnmg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792888539;
	h=X-Original-To:Received:DMARC-Filter:Received:X-Google-DKIM-Signature:
	 X-Forwarded-Encrypted:X-Gm-Message-State:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version:X-Received:Date:X-Google-Appengine-App-Id:
	 X-Google-Appengine-App-Id-Alias:Message-ID:Subject:From:To:
	 Content-Type;
	bh=XSpvoJJOnlwRIHqeOURy97S0PX5mhHQN8lVWg3MejC8=;
	b=210lUcDCOX6kk6UD+6I5lJ3JVNMbbxIkzOMKBzzNlvGk/jgiCdwl7uTF4cltKNkJwRXh
	 hPSRhc0mBBS6cGnqTXomQucHrHDbovR5DJp58ufQd+j/+eV6sI2W/ZCNAQdfOHYBuuW0/
	 hq8IiWGaV6EHUaGbgjUglDo1XpSjrRU2P874AtgFCjG8Cg8KdYRY2ZhA2gz015+at1H+S
	 kmTQk5RWcLDPpPnaPdKWvlDUfQulsM9xpI2vDvz1ymb+R99L8NFRY7BeLliWAuW89BSQ+
	 rqqWuHC/l2HohjRvjXbHDNz6G7lMqFdkIt0JgBHzn4JMnNjxRC1m7pvnD1pJdoTi0CQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dmarc=fail header.from=syzkaller.appspotmail.com;
	spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 2936A606A326;
	Sun, 25 Oct 2026 00:35:39 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.167.198
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1792888538;
	b=YbTt6Y6KYXAb+q7dr01zORp2OOXrz9n8IwiBOPiRE1JleS5BxR80ZJLwg/l6w5oc3SHU
	 zdjnchJR93ilzremYzGu6F40dAdn94cOqgzJ/KbhwNaDRDRgSk2oOMyG1ZVddy+7rNPLs
	 zYX9GP6JUAl/rB8NnRPb0h7FtJh3Ukn0Kw1ei4mwMaplJItw/95RD0hiifOXxMmO0xCWd
	 Aj2QC13Bquyal4xADV6UI2J2fAJu2L+pVi28zAQBK39idH/3OLA1phFjAnrW3BL5yo+aw
	 57rSjODYWa4jrH+jIP501EmWUG3Tvm043T+xQK6uyPT3D2NhoJp6ou8wCyNZdh3gnsQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792888538;
	h=DMARC-Filter:Received:X-Google-DKIM-Signature:X-Forwarded-Encrypted:
	 X-Gm-Message-State:MIME-Version:X-Received:Date:
	 X-Google-Appengine-App-Id:X-Google-Appengine-App-Id-Alias:Message-ID:
	 Subject:From:To:Content-Type;
	bh=XSpvoJJOnlwRIHqeOURy97S0PX5mhHQN8lVWg3MejC8=;
	b=c8WTzsY1YLX41Jm3tkN2+IHbiNFbHlamRVOXtkBiFbXMuc7GTEwruNBUvl/Q2VQ0jDXi
	 2Trl4bEH55OK6isqeRFiLQzi8VCk2HQwm7Ku9uTowpOEjMPVu122J2EAHqmZGQhN53ioU
	 53e1TQhe89jAAxKGC7tJFiWbbNfPbrbJ1GjBl3Su6xwvuC57m4KCEhKjEUYFad0vN2sRv
	 r03aIhMQ0YbovIJL4UwqNGC4uSHY7ftc81msO8GGRSbxPQy86md2KlnSf0LdgI3F3xJBC
	 MDguYgLMmWPLXo0v9TZWsiJTbEKzFMCzJ+cGybKgCgzPu2OkPw1qPCRPkpv1P4F+aKA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=fail header.from=syzkaller.appspotmail.com;
	spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com;
	arc=none smtp.remote-ip=209.85.167.198
X-Received: from mail-oi1-f198.google.com (mail-oi1-f198.google.com [209.85.167.198])
	(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2A27F606A31E
	for <netdev@vger.kernel.org>; Sun, 25 Oct 2026 00:35:37 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 2A27F606A31E
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com
X-Received: by mail-oi1-f198.google.com with SMTP id 5614622812f47-5384e381fbbso1921635b6e.2
        for <netdev@vger.kernel.org>; Sat, 24 Oct 2026 17:35:37 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1792888537; x=1793493337;
        h=content-type:to:from:subject:message-id:date:mime-version
         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
         :content-type;
        bh=XSpvoJJOnlwRIHqeOURy97S0PX5mhHQN8lVWg3MejC8=;
        b=eDGCEta6sQfvXba7mHZSaqdbzcyqcJ29vEEKfmF9aP0CUUHdW+zviNYaPlLiwp8YpP
         Yzk9suCowggGJ4KVQcPhjdOylL00YSTDwI7rvAqxBl4b8hffEK2/+7s37AIfAYKlxm8B
         dEOcHUgPt1sovlgmhX2Syqi/khZAaWCAFehiv7OAqw8d7fP3Iqr1nolfqQ6m9+CjByrI
         38I1QHdPuEN+Ah1tBBvsfjlKzUBjgiZFa19TIG9Xtqrlw0umeAFwA7Vw+vbw8hDXfBKY
         le1IB6Bix975xNekmkoSZVPCS1G8Ax7V9R0STXEz/+jMY1fG8515PpGDjwePh53oedtD
         g1Wg==
X-Forwarded-Encrypted: i=1; AKwUvBzKE7VeN1IezG15FUSsYI2I+b76K6ovSWI6/UaAOR73mRn/JGHbm4KVRfCRvlm/vaC9iPmPU00=@vger.kernel.org
X-Gm-Message-State: AFq9FYImhTP7Mg1XPMUpcwWcxcZ8zpv1OcZXyr7bvKIerSIULKrjvt9N
	f8gD9K+REPcaxmsXOGjp4Qltne5TcNetFZnyuOuhwf7P2My0NXCdyh9JeR5zLBDvJrWtGf+SmQs
	w1kmRFrm/FGqvVhYx68W/AIT1hdobN+bLFqkuCAADVCWmvdJ0vO+zo7Zwoqg=
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-Received: by 2002:a05:6808:4f5e:b0:4d6:9232:b3be with SMTP id
 5614622812f47-55c003118a5mr2285739b6e.53.1792888537264; Sat, 24 Oct 2026
 17:35:37 -0700 (PDT)
X-Google-Appengine-App-Id: s~syzkaller
X-Google-Appengine-App-Id-Alias: syzkaller