Warning: Permanently added '10.128.1.0' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 57.115317][ T8470] netlink: 4 bytes leftover after parsing attributes in process `syz-executor090'. [ 57.125079][ T8470] netlink: 4 bytes leftover after parsing attributes in process `syz-executor090'. [ 57.166199][ T8493] [ 57.168557][ T8493] ============================================ [ 57.174879][ T8493] WARNING: possible recursive locking detected [ 57.181037][ T8493] 5.14.0-rc7-syzkaller #0 Not tainted [ 57.186492][ T8493] -------------------------------------------- [ 57.192611][ T8493] systemd-udevd/8493 is trying to acquire lock: [ 57.199022][ T8493] ffff88801e2b8d18 (&disk->open_mutex){+.+.}-{3:3}, at: del_gendisk+0x8b/0x770 [ 57.208060][ T8493] [ 57.208060][ T8493] but task is already holding lock: [ 57.215394][ T8493] ffff88801e2b8d18 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xa0/0xae0 [ 57.224344][ T8493] [ 57.224344][ T8493] other info that might help us debug this: [ 57.232373][ T8493] Possible unsafe locking scenario: [ 57.232373][ T8493] [ 57.239794][ T8493] CPU0 [ 57.243046][ T8493] ---- [ 57.246301][ T8493] lock(&disk->open_mutex); [ 57.250932][ T8493] lock(&disk->open_mutex); [ 57.255495][ T8493] [ 57.255495][ T8493] *** DEADLOCK *** [ 57.255495][ T8493] [ 57.263629][ T8493] May be due to missing lock nesting notation [ 57.263629][ T8493] [ 57.272031][ T8493] 2 locks held by systemd-udevd/8493: [ 57.277372][ T8493] #0: ffff88801e2b8d18 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xa0/0xae0 [ 57.286646][ T8493] #1: ffffffff8c489aa8 (nbd_index_mutex){+.+.}-{3:3}, at: refcount_dec_and_mutex_lock+0x50/0x140 [ 57.297229][ T8493] [ 57.297229][ T8493] stack backtrace: [ 57.303090][ T8493] CPU: 0 PID: 8493 Comm: systemd-udevd Not tainted 5.14.0-rc7-syzkaller #0 [ 57.311650][ T8493] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 57.321679][ T8493] Call Trace: [ 57.324935][ T8493] dump_stack_lvl+0xcd/0x134 [ 57.329513][ T8493] __lock_acquire.cold+0x149/0x3ab [ 57.334626][ T8493] ? lockdep_hardirqs_on_prepare+0x400/0x400 [ 57.340581][ T8493] ? mark_held_locks+0x9f/0xe0 [ 57.345319][ T8493] lock_acquire+0x1ab/0x510 [ 57.349796][ T8493] ? del_gendisk+0x8b/0x770 [ 57.354294][ T8493] ? lock_release+0x720/0x720 [ 57.358943][ T8493] ? lockdep_hardirqs_on+0x79/0x100 [ 57.364121][ T8493] __mutex_lock+0x12a/0x10a0 [ 57.368690][ T8493] ? del_gendisk+0x8b/0x770 [ 57.373171][ T8493] ? lock_downgrade+0x6e0/0x6e0 [ 57.377996][ T8493] ? del_gendisk+0x8b/0x770 [ 57.382480][ T8493] ? __sanitizer_cov_trace_const_cmp1+0x22/0x80 [ 57.388699][ T8493] ? mutex_lock_io_nested+0xf00/0xf00 [ 57.394047][ T8493] ? kobj_kset_leave+0x12/0x200 [ 57.398874][ T8493] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 57.405092][ T8493] ? kobject_put+0xb9/0x540 [ 57.409569][ T8493] ? __sanitizer_cov_trace_cmp8+0x1d/0x70 [ 57.415263][ T8493] ? kfree_const+0x35/0x60 [ 57.419654][ T8493] del_gendisk+0x8b/0x770 [ 57.423963][ T8493] ? nbd_config_put+0x61b/0xa00 [ 57.428791][ T8493] ? __sanitizer_cov_trace_const_cmp4+0x1c/0x70 [ 57.435010][ T8493] ? nbd_genl_disconnect+0x510/0x510 [ 57.440278][ T8493] nbd_put.part.0+0x82/0x160 [ 57.444845][ T8493] nbd_release+0x14d/0x1a0 [ 57.449237][ T8493] blkdev_put+0x34f/0xae0 [ 57.453541][ T8493] ? __sanitizer_cov_trace_const_cmp2+0x22/0x80 [ 57.459756][ T8493] blkdev_close+0x8c/0xb0 [ 57.464060][ T8493] __fput+0x288/0x920 [ 57.468017][ T8493] ? blkdev_put+0xae0/0xae0 [ 57.472516][ T8493] task_work_run+0xdd/0x1a0 [ 57.477101][ T8493] exit_to_user_mode_prepare+0x27e/0x290 [ 57.482709][ T8493] syscall_exit_to_user_mode+0x19/0x60 [ 57.488148][ T8493] do_syscall_64+0x42/0xb0 [ 57.492544][ T8493] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 57.498413][ T8493] RIP: 0033:0x7ff55a15e270 [ 57.502823][ T8493] Code: 73 01 c3 48 8b 0d 38 7d 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 59 c1 20 00 00 75 10 b8 03 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 ee fb ff ff 48 89 04 24 [ 57.522906][ T8493] RSP: 002b:00007ffc7e31b668 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 [ 57.531612][ T8493] RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007ff55a15e270 [ 57.539568][ T8493] RDX: 000000000aba9500 RSI: 0000000000000000 RDI: 0000000000000007 [ 57.547520][ T8493] RBP: 00007ff55b018710 R08: 000000000000004a R09: 0000000000000008 [ 57.555560][ T8493] R10: 0000557c23e83888 R11: 0000000000000246 R12: 0000000000000000 [ 57.563520][ T8493] R13: 0000557c23e89680 R14: 0000000000000003 R15: 000000000000000e