Warning: Permanently added '10.128.0.86' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 37.427784] sysfs: cannot create duplicate filename '/devices/virtual/bdi/43:0' [ 37.435464] CPU: 1 PID: 8081 Comm: syz-executor641 Not tainted 4.19.179-syzkaller #0 [ 37.443374] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 37.452717] Call Trace: [ 37.455323] dump_stack+0x1fc/0x2ef [ 37.458955] sysfs_warn_dup.cold+0x1c/0x29 [ 37.463184] sysfs_create_dir_ns+0x228/0x280 [ 37.467598] ? sysfs_create_mount_point+0xb0/0xb0 [ 37.472433] ? lock_acquire+0x170/0x3c0 [ 37.476411] ? kobject_add_internal+0x134/0x9c0 [ 37.481072] ? bdi_register_va.part.0+0x35/0x730 [ 37.485838] ? class_dir_child_ns_type+0x9/0x60 [ 37.490499] kobject_add_internal+0x2a5/0x9c0 [ 37.495003] kobject_add+0x150/0x1c0 [ 37.498729] ? kset_create_and_add+0x1a0/0x1a0 [ 37.503304] ? device_add+0x2c7/0x16d0 [ 37.507264] device_add+0x37b/0x16d0 [ 37.510979] ? device_check_offline+0x280/0x280 [ 37.515655] ? kfree_const+0x51/0x60 [ 37.519355] ? rcu_read_lock_sched_held+0x16c/0x1d0 [ 37.524364] ? kfree+0x1e2/0x210 [ 37.527717] device_create_groups_vargs+0x1f4/0x270 [ 37.532735] device_create_vargs+0x3a/0x50 [ 37.536960] bdi_register_va.part.0+0x35/0x730 [ 37.541529] bdi_register+0x12a/0x140 [ 37.545315] ? bdi_register_va+0x80/0x80 [ 37.549363] ? vsnprintf+0x2cc/0x14f0 [ 37.553152] bdi_register_owner+0x59/0x100 [ 37.562254] __device_add_disk+0xce5/0x1080 [ 37.566579] ? sprintf+0xc0/0x100 [ 37.570016] ? blk_alloc_devt+0x2d0/0x2d0 [ 37.574166] ? __lockdep_init_map+0x100/0x5a0 [ 37.578654] ? __lockdep_init_map+0x100/0x5a0 [ 37.583156] nbd_dev_add+0x6a7/0x890 [ 37.586857] nbd_genl_connect+0x488/0x1630 [ 37.591093] ? nbd_xmit_timeout+0x730/0x730 [ 37.595401] ? __sanitizer_cov_trace_switch+0x4b/0x80 [ 37.600596] ? validate_nla+0x270/0x820 [ 37.604568] ? nla_parse+0x1b2/0x290 [ 37.608291] genl_family_rcv_msg+0x642/0xc40 [ 37.612699] ? genl_rcv+0x40/0x40 [ 37.616136] ? genl_rcv_msg+0x12f/0x160 [ 37.620112] ? __mutex_add_waiter+0x160/0x160 [ 37.624604] ? __radix_tree_lookup+0x216/0x370 [ 37.629178] genl_rcv_msg+0xbf/0x160 [ 37.632902] netlink_rcv_skb+0x160/0x440 [ 37.636974] ? genl_family_rcv_msg+0xc40/0xc40 [ 37.641658] ? netlink_ack+0xae0/0xae0 [ 37.645557] ? genl_rcv+0x15/0x40 [ 37.649010] genl_rcv+0x24/0x40 [ 37.652299] netlink_unicast+0x4d5/0x690 [ 37.656361] ? netlink_sendskb+0x110/0x110 [ 37.660621] ? _copy_from_iter_full+0x229/0x7c0 [ 37.665288] ? __phys_addr_symbol+0x2c/0x70 [ 37.669602] ? __check_object_size+0x17b/0x3e0 [ 37.674185] netlink_sendmsg+0x6bb/0xc40 [ 37.678245] ? aa_af_perm+0x230/0x230 [ 37.682039] ? nlmsg_notify+0x1a0/0x1a0 [ 37.686018] ? kernel_recvmsg+0x220/0x220 [ 37.690162] ? nlmsg_notify+0x1a0/0x1a0 [ 37.694209] sock_sendmsg+0xc3/0x120 [ 37.697915] ___sys_sendmsg+0x7bb/0x8e0 [ 37.701886] ? copy_msghdr_from_user+0x440/0x440 [ 37.706645] ? apparmor_file_receive+0x160/0x160 [ 37.711395] ? __lockdep_init_map+0x100/0x5a0 [ 37.715893] ? check_preemption_disabled+0x41/0x280 [ 37.720896] ? mark_held_locks+0xf0/0xf0 [ 37.724945] ? percpu_counter_add_batch+0x126/0x180 [ 37.729949] ? alloc_empty_file+0xd7/0x170 [ 37.734171] ? errseq_sample+0x56/0x70 [ 37.738305] ? alloc_file+0x326/0x4d0 [ 37.742112] ? __fd_install+0x1b4/0x610 [ 37.746090] ? __fdget+0x1a0/0x230 [ 37.749623] __x64_sys_sendmsg+0x132/0x220 [ 37.753868] ? __sys_sendmsg+0x1b0/0x1b0 [ 37.757919] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 37.763324] ? trace_hardirqs_off_caller+0x6e/0x210 [ 37.768329] ? do_syscall_64+0x21/0x620 [ 37.772291] do_syscall_64+0xf9/0x620 [ 37.776097] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 37.781279] RIP: 0033:0x43f9c9 [ 37.784460] Code: 28 c3 e8 5a 14 00 00 66 2e 0f 1f 84 00 00 00 00 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 c0 ff ff ff f7 d8 64 89 01 48 [ 37.803380] RSP: 002b:00007ffd7bb77be8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 37.811086] RAX: ffffffffffffffda RBX: 00000000004004a0 RCX: 000000000043f9c9 [ 37.818647] RDX: 0000000000000000 RSI: 0000000020000240 RDI: 0000000000000004 [ 37.825943] RBP: 0000000000403430 R08: 00000000004004a0 R09: 00000000004004a0 [ 37.833221] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004034c0 [ 37.840479] R13: 0000000000000000 R14: 00000000004ad018 R15: 00000000004004a0 [ 37.852181] kobject_add_internal failed for 43:0 with -EEXIST, don't try to register things with the same name in the same directory. [ 37.864562] ------------[ cut here ]------------ [ 37.869673] WARNING: CPU: 0 PID: 8081 at block/genhd.c:714 __device_add_disk.cold+0x105/0x170 [ 37.878353] Kernel panic - not syncing: panic_on_warn set ... [ 37.878353] [ 37.885845] CPU: 0 PID: 8081 Comm: syz-executor641 Not tainted 4.19.179-syzkaller #0 [ 37.893731] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 37.903076] Call Trace: [ 37.905662] dump_stack+0x1fc/0x2ef [ 37.909284] panic+0x26a/0x50e [ 37.912470] ? __warn_printk+0xf3/0xf3 [ 37.916366] ? __device_add_disk.cold+0x105/0x170 [ 37.921202] ? __probe_kernel_read+0x130/0x1b0 [ 37.925800] ? __warn.cold+0x5/0x5a [ 37.929416] ? __warn+0xe4/0x200 [ 37.932798] ? __device_add_disk.cold+0x105/0x170 [ 37.937630] __warn.cold+0x20/0x5a [ 37.941162] ? __device_add_disk.cold+0x105/0x170 [ 37.945994] report_bug+0x262/0x2b0 [ 37.949666] do_error_trap+0x1d7/0x310 [ 37.953562] ? math_error+0x310/0x310 [ 37.957365] ? irq_work_claim+0xa6/0xc0 [ 37.961331] ? irq_work_queue+0x29/0x80 [ 37.965299] ? error_entry+0x72/0xd0 [ 37.969018] ? trace_hardirqs_off_caller+0x6e/0x210 [ 37.974024] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 37.978864] invalid_op+0x14/0x20 [ 37.982325] RIP: 0010:__device_add_disk.cold+0x105/0x170 [ 37.987764] Code: 03 0f b6 04 02 84 c0 74 04 3c 03 7e 24 44 8b a5 b8 05 00 00 e9 aa 05 6c fb e8 7d d3 68 f9 48 c7 c7 60 55 b2 88 e8 2b 79 f7 ff <0f> 0b e9 64 11 6c fb 48 8b 3c 24 e8 31 93 9e f9 eb d1 e8 5a d3 68 [ 38.006670] RSP: 0018:ffff888095017490 EFLAGS: 00010282 [ 38.012037] RAX: 0000000000000024 RBX: 0000000000000001 RCX: 0000000000000000 [ 38.019299] RDX: 0000000000000000 RSI: ffffffff814de3d1 RDI: ffffed1012a02e84 [ 38.026578] RBP: ffff8880956dc180 R08: 0000000000000024 R09: 0000000000000000 [ 38.033856] R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880956dc210 [ 38.041330] R13: ffff8880956dc7d8 R14: 00000000ffffffef R15: ffff8880956dc184 [ 38.048621] ? vprintk_func+0x81/0x180 [ 38.052526] ? sprintf+0xc0/0x100 [ 38.055972] ? blk_alloc_devt+0x2d0/0x2d0 [ 38.060113] ? __lockdep_init_map+0x100/0x5a0 [ 38.064600] ? __lockdep_init_map+0x100/0x5a0 [ 38.069103] nbd_dev_add+0x6a7/0x890 [ 38.072813] nbd_genl_connect+0x488/0x1630 [ 38.077056] ? nbd_xmit_timeout+0x730/0x730 [ 38.081403] ? __sanitizer_cov_trace_switch+0x4b/0x80 [ 38.086598] ? validate_nla+0x270/0x820 [ 38.090684] ? nla_parse+0x1b2/0x290 [ 38.094398] genl_family_rcv_msg+0x642/0xc40 [ 38.098819] ? genl_rcv+0x40/0x40 [ 38.102450] ? genl_rcv_msg+0x12f/0x160 [ 38.106420] ? __mutex_add_waiter+0x160/0x160 [ 38.110946] ? __radix_tree_lookup+0x216/0x370 [ 38.115541] genl_rcv_msg+0xbf/0x160 [ 38.119265] netlink_rcv_skb+0x160/0x440 [ 38.123327] ? genl_family_rcv_msg+0xc40/0xc40 [ 38.127926] ? netlink_ack+0xae0/0xae0 [ 38.131813] ? genl_rcv+0x15/0x40 [ 38.135328] genl_rcv+0x24/0x40 [ 38.138602] netlink_unicast+0x4d5/0x690 [ 38.142658] ? netlink_sendskb+0x110/0x110 [ 38.146887] ? _copy_from_iter_full+0x229/0x7c0 [ 38.151549] ? __phys_addr_symbol+0x2c/0x70 [ 38.155868] ? __check_object_size+0x17b/0x3e0 [ 38.160455] netlink_sendmsg+0x6bb/0xc40 [ 38.164607] ? aa_af_perm+0x230/0x230 [ 38.168403] ? nlmsg_notify+0x1a0/0x1a0 [ 38.172368] ? kernel_recvmsg+0x220/0x220 [ 38.176576] ? nlmsg_notify+0x1a0/0x1a0 [ 38.180559] sock_sendmsg+0xc3/0x120 [ 38.184273] ___sys_sendmsg+0x7bb/0x8e0 [ 38.188242] ? copy_msghdr_from_user+0x440/0x440 [ 38.192994] ? apparmor_file_receive+0x160/0x160 [ 38.197742] ? __lockdep_init_map+0x100/0x5a0 [ 38.202233] ? check_preemption_disabled+0x41/0x280 [ 38.207244] ? mark_held_locks+0xf0/0xf0 [ 38.211299] ? percpu_counter_add_batch+0x126/0x180 [ 38.216326] ? alloc_empty_file+0xd7/0x170 [ 38.220557] ? errseq_sample+0x56/0x70 [ 38.224441] ? alloc_file+0x326/0x4d0 [ 38.228249] ? __fd_install+0x1b4/0x610 [ 38.232216] ? __fdget+0x1a0/0x230 [ 38.235763] __x64_sys_sendmsg+0x132/0x220 [ 38.239990] ? __sys_sendmsg+0x1b0/0x1b0 [ 38.244047] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 38.249445] ? trace_hardirqs_off_caller+0x6e/0x210 [ 38.254459] ? do_syscall_64+0x21/0x620 [ 38.258446] do_syscall_64+0xf9/0x620 [ 38.262247] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 38.267436] RIP: 0033:0x43f9c9 [ 38.270636] Code: 28 c3 e8 5a 14 00 00 66 2e 0f 1f 84 00 00 00 00 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 c0 ff ff ff f7 d8 64 89 01 48 [ 38.289730] RSP: 002b:00007ffd7bb77be8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 38.297458] RAX: ffffffffffffffda RBX: 00000000004004a0 RCX: 000000000043f9c9 [ 38.304749] RDX: 0000000000000000 RSI: 0000000020000240 RDI: 0000000000000004 [ 38.312010] RBP: 0000000000403430 R08: 00000000004004a0 R09: 00000000004004a0 [ 38.319287] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004034c0 [ 38.326568] R13: 0000000000000000 R14: 00000000004ad018 R15: 00000000004004a0 [ 38.334470] Kernel Offset: disabled [ 38.338158] Rebooting in 86400 seconds..