Kernel | Title | Rank 🛈 | Repro | Cause bisect | Fix bisect | Count | Last | Reported | Patched | Status |
---|---|---|---|---|---|---|---|---|---|---|
upstream | possible deadlock in ax25_setsockopt hams | 4 | 2 | 192d | 200d | 28/29 | fixed on 2025/05/09 08:02 |
syzbot |
sign-in | mailing list | source | docs |
Kernel | Title | Rank 🛈 | Repro | Cause bisect | Fix bisect | Count | Last | Reported | Patched | Status |
---|---|---|---|---|---|---|---|---|---|---|
upstream | possible deadlock in ax25_setsockopt hams | 4 | 2 | 192d | 200d | 28/29 | fixed on 2025/05/09 08:02 |
====================================================== WARNING: possible circular locking dependency detected 5.15.188-syzkaller #0 Not tainted ------------------------------------------------------ syz.7.1542/12296 is trying to acquire lock: ffffffff8d235e88 (rtnl_mutex){+.+.}-{3:3}, at: ax25_setsockopt+0x830/0xa40 net/ax25/af_ax25.c:676 but task is already holding lock: ffff888054b31120 (sk_lock-AF_AX25){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1694 [inline] ffff888054b31120 (sk_lock-AF_AX25){+.+.}-{0:0}, at: ax25_setsockopt+0x1d2/0xa40 net/ax25/af_ax25.c:570 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #1 (sk_lock-AF_AX25){+.+.}-{0:0}: lock_sock_nested+0x44/0x100 net/core/sock.c:3251 lock_sock include/net/sock.h:1694 [inline] ax25_kill_by_device net/ax25/af_ax25.c:99 [inline] ax25_device_event+0x217/0x4f0 net/ax25/af_ax25.c:142 notifier_call_chain kernel/notifier.c:83 [inline] raw_notifier_call_chain+0xcb/0x160 kernel/notifier.c:391 call_netdevice_notifiers_extack net/core/dev.c:2061 [inline] call_netdevice_notifiers net/core/dev.c:2075 [inline] dev_close_many+0x28d/0x400 net/core/dev.c:1650 dev_close+0x14c/0x200 net/core/dev.c:1672 bpq_device_event+0x2f4/0x9c0 drivers/net/hamradio/bpqether.c:548 notifier_call_chain kernel/notifier.c:83 [inline] raw_notifier_call_chain+0xcb/0x160 kernel/notifier.c:391 call_netdevice_notifiers_extack net/core/dev.c:2061 [inline] call_netdevice_notifiers net/core/dev.c:2075 [inline] dev_close_many+0x28d/0x400 net/core/dev.c:1650 dev_close+0x14c/0x200 net/core/dev.c:1672 bond_setup_by_slave+0x61/0x3a0 drivers/net/bonding/bond_main.c:1471 bond_enslave+0x77c/0x3a40 drivers/net/bonding/bond_main.c:1855 bond_do_ioctl+0x2a2/0x8c0 drivers/net/bonding/bond_main.c:4238 dev_ifsioc+0xc01/0xe70 net/core/dev_ioctl.c:417 dev_ioctl+0x55f/0xe50 net/core/dev_ioctl.c:587 sock_do_ioctl+0x222/0x2f0 net/socket.c:1154 sock_ioctl+0x4ed/0x6e0 net/socket.c:1257 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:874 [inline] __se_sys_ioctl+0xfa/0x170 fs/ioctl.c:860 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 -> #0 (rtnl_mutex){+.+.}-{3:3}: check_prev_add kernel/locking/lockdep.c:3053 [inline] check_prevs_add kernel/locking/lockdep.c:3172 [inline] validate_chain kernel/locking/lockdep.c:3788 [inline] __lock_acquire+0x2c33/0x7c60 kernel/locking/lockdep.c:5012 lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623 __mutex_lock_common+0x1eb/0x2390 kernel/locking/mutex.c:596 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743 ax25_setsockopt+0x830/0xa40 net/ax25/af_ax25.c:676 __sys_setsockopt+0x2bf/0x3d0 net/socket.c:2203 __do_sys_setsockopt net/socket.c:2214 [inline] __se_sys_setsockopt net/socket.c:2211 [inline] __x64_sys_setsockopt+0xb1/0xc0 net/socket.c:2211 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 other info that might help us debug this: Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(sk_lock-AF_AX25); lock(rtnl_mutex); lock(sk_lock-AF_AX25); lock(rtnl_mutex); *** DEADLOCK *** 1 lock held by syz.7.1542/12296: #0: ffff888054b31120 (sk_lock-AF_AX25){+.+.}-{0:0}, at: lock_sock include/net/sock.h:1694 [inline] #0: ffff888054b31120 (sk_lock-AF_AX25){+.+.}-{0:0}, at: ax25_setsockopt+0x1d2/0xa40 net/ax25/af_ax25.c:570 stack backtrace: CPU: 0 PID: 12296 Comm: syz.7.1542 Not tainted 5.15.188-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Call Trace: <TASK> dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106 check_noncircular+0x274/0x310 kernel/locking/lockdep.c:2133 check_prev_add kernel/locking/lockdep.c:3053 [inline] check_prevs_add kernel/locking/lockdep.c:3172 [inline] validate_chain kernel/locking/lockdep.c:3788 [inline] __lock_acquire+0x2c33/0x7c60 kernel/locking/lockdep.c:5012 lock_acquire+0x197/0x3f0 kernel/locking/lockdep.c:5623 __mutex_lock_common+0x1eb/0x2390 kernel/locking/mutex.c:596 __mutex_lock kernel/locking/mutex.c:729 [inline] mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:743 ax25_setsockopt+0x830/0xa40 net/ax25/af_ax25.c:676 __sys_setsockopt+0x2bf/0x3d0 net/socket.c:2203 __do_sys_setsockopt net/socket.c:2214 [inline] __se_sys_setsockopt net/socket.c:2211 [inline] __x64_sys_setsockopt+0xb1/0xc0 net/socket.c:2211 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f8b58fc3929 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f8b56de9038 EFLAGS: 00000246 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 00007f8b591eb160 RCX: 00007f8b58fc3929 RDX: 0000000000000019 RSI: 0000000000000101 RDI: 000000000000000b RBP: 00007f8b59045ca1 R08: 0000000000000010 R09: 0000000000000000 R10: 0000200000000040 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f8b591eb160 R15: 00007ffcdc87e718 </TASK>
Time | Kernel | Commit | Syzkaller | Config | Log | Report | Syz repro | C repro | VM info | Assets (help?) | Manager | Title |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2025/07/17 20:45 | linux-5.15.y | 89950c454265 | 0d1223f1 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | possible deadlock in ax25_setsockopt | ||
2025/07/17 20:45 | linux-5.15.y | 89950c454265 | 0d1223f1 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | possible deadlock in ax25_setsockopt | ||
2025/06/29 00:46 | linux-5.15.y | 3dea0e7f549e | fc9d8ee5 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | possible deadlock in ax25_setsockopt | ||
2025/06/02 19:45 | linux-5.15.y | 98f47d0e9b8c | b396b4bf | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | possible deadlock in ax25_setsockopt | ||
2025/05/30 14:49 | linux-5.15.y | 98f47d0e9b8c | 3d2f584d | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | possible deadlock in ax25_setsockopt | ||
2025/05/29 12:19 | linux-5.15.y | 98f47d0e9b8c | 3d2f584d | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | possible deadlock in ax25_setsockopt | ||
2025/05/21 19:56 | linux-5.15.y | a68c15152131 | dc5d3808 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | possible deadlock in ax25_setsockopt | ||
2025/05/19 16:35 | linux-5.15.y | a68c15152131 | b84f0537 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | possible deadlock in ax25_setsockopt | ||
2025/05/16 06:26 | linux-5.15.y | 3b8db0e4f263 | cfde8269 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | possible deadlock in ax25_setsockopt | ||
2025/04/18 19:46 | linux-5.15.y | f7347f400572 | 2a20f901 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | possible deadlock in ax25_setsockopt | ||
2025/04/18 19:45 | linux-5.15.y | f7347f400572 | 2a20f901 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | possible deadlock in ax25_setsockopt | ||
2025/04/14 22:16 | linux-5.15.y | f7347f400572 | 0bd6db41 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | possible deadlock in ax25_setsockopt | ||
2025/04/13 15:55 | linux-5.15.y | f7347f400572 | 0bd6db41 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | possible deadlock in ax25_setsockopt | ||
2025/04/13 12:43 | linux-5.15.y | f7347f400572 | 0bd6db41 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | possible deadlock in ax25_setsockopt | ||
2025/04/13 12:43 | linux-5.15.y | f7347f400572 | 0bd6db41 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | possible deadlock in ax25_setsockopt | ||
2025/04/13 01:49 | linux-5.15.y | f7347f400572 | 0bd6db41 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | possible deadlock in ax25_setsockopt | ||
2025/04/09 14:34 | linux-5.15.y | 0c935c049b5c | 47d015b1 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | possible deadlock in ax25_setsockopt | ||
2025/04/04 03:07 | linux-5.15.y | 0c935c049b5c | d7ae3a11 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | possible deadlock in ax25_setsockopt | ||
2025/03/23 19:09 | linux-5.15.y | 0c935c049b5c | 4e8d3850 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | possible deadlock in ax25_setsockopt | ||
2025/03/23 19:09 | linux-5.15.y | 0c935c049b5c | 4e8d3850 | .config | console log | report | info | [disk image] [vmlinux] [kernel image] | ci2-linux-5-15-kasan | possible deadlock in ax25_setsockopt |