Warning: Permanently added '10.128.1.86' (ECDSA) to the list of known hosts. executing program [ 33.840361] netlink: 'syz-executor285': attribute type 1 has an invalid length. [ 33.849321] sysfs: cannot create duplicate filename '/devices/virtual/bdi/43:0' [ 33.857071] CPU: 0 PID: 8091 Comm: syz-executor285 Not tainted 4.19.211-syzkaller #0 [ 33.864946] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 [ 33.874277] Call Trace: [ 33.876850] dump_stack+0x1fc/0x2ef [ 33.880467] sysfs_warn_dup.cold+0x1c/0x29 [ 33.884687] sysfs_create_dir_ns+0x228/0x280 [ 33.889088] ? sysfs_create_mount_point+0xb0/0xb0 [ 33.894088] ? lock_acquire+0x170/0x3c0 [ 33.898044] ? kobject_add_internal+0x134/0x9c0 [ 33.902692] ? ___sys_sendmsg+0x7bb/0x8e0 [ 33.906820] ? class_dir_child_ns_type+0x9/0x60 [ 33.911470] kobject_add_internal+0x2a5/0x9c0 [ 33.915947] kobject_add+0x150/0x1c0 [ 33.919640] ? kset_create_and_add+0x1a0/0x1a0 [ 33.924203] ? device_add+0x2c7/0x16d0 [ 33.928069] device_add+0x37b/0x16d0 [ 33.931761] ? device_check_offline+0x280/0x280 [ 33.936405] ? kfree_const+0x51/0x60 [ 33.940096] ? rcu_read_lock_sched_held+0x16c/0x1d0 [ 33.945109] ? kfree+0x1e2/0x210 [ 33.948485] device_create_groups_vargs+0x1f4/0x270 [ 33.953487] device_create+0xdf/0x120 [ 33.957274] ? device_create_vargs+0x50/0x50 [ 33.961669] ? pointer+0x850/0x850 [ 33.965212] bdi_register_va.part.0+0x4c/0x750 [ 33.969785] bdi_register+0x12a/0x140 [ 33.973568] ? bdi_register_va+0x80/0x80 [ 33.977612] ? vsnprintf+0x2cc/0x14f0 [ 33.981396] bdi_register_owner+0x59/0x100 [ 33.985612] __device_add_disk+0xd58/0x10c0 [ 33.989918] ? sprintf+0xc0/0x100 [ 33.993355] ? blk_alloc_devt+0x2d0/0x2d0 [ 33.997485] ? __lockdep_init_map+0x100/0x5a0 [ 34.001959] ? __lockdep_init_map+0x100/0x5a0 [ 34.006435] nbd_dev_add+0x6a9/0x890 [ 34.010132] nbd_genl_connect+0x488/0x1630 [ 34.014373] ? nbd_xmit_timeout+0x730/0x730 [ 34.018677] ? validate_nla+0x1a1/0x820 [ 34.022631] ? __sanitizer_cov_trace_switch+0x4b/0x80 [ 34.027804] ? validate_nla+0x270/0x820 [ 34.031761] ? nla_parse+0x1b2/0x290 [ 34.035566] genl_family_rcv_msg+0x642/0xc40 [ 34.039958] ? genl_rcv+0x40/0x40 [ 34.043391] ? genl_rcv_msg+0x12f/0x160 [ 34.047345] ? mutex_trylock+0x1a0/0x1a0 [ 34.051394] ? __radix_tree_lookup+0x216/0x370 [ 34.055958] genl_rcv_msg+0xbf/0x160 [ 34.059676] netlink_rcv_skb+0x160/0x440 [ 34.063719] ? genl_family_rcv_msg+0xc40/0xc40 [ 34.068282] ? netlink_ack+0xae0/0xae0 [ 34.072151] ? genl_rcv+0x15/0x40 [ 34.075585] genl_rcv+0x24/0x40 [ 34.078840] netlink_unicast+0x4d5/0x690 [ 34.082882] ? netlink_sendskb+0x110/0x110 [ 34.087095] ? _copy_from_iter_full+0x229/0x7c0 [ 34.091752] ? __phys_addr_symbol+0x2c/0x70 [ 34.096063] ? __check_object_size+0x17b/0x3e0 [ 34.100634] netlink_sendmsg+0x6c3/0xc50 [ 34.104692] ? aa_af_perm+0x230/0x230 [ 34.108480] ? nlmsg_notify+0x1f0/0x1f0 [ 34.112434] ? kernel_recvmsg+0x220/0x220 [ 34.116566] ? nlmsg_notify+0x1f0/0x1f0 [ 34.120525] sock_sendmsg+0xc3/0x120 [ 34.124218] ___sys_sendmsg+0x7bb/0x8e0 [ 34.128178] ? copy_msghdr_from_user+0x440/0x440 [ 34.132912] ? apparmor_file_receive+0x160/0x160 [ 34.137651] ? __lockdep_init_map+0x100/0x5a0 [ 34.142129] ? check_preemption_disabled+0x41/0x280 [ 34.147126] ? mark_held_locks+0xf0/0xf0 [ 34.151177] ? percpu_counter_add_batch+0x126/0x180 [ 34.156173] ? alloc_empty_file+0xd7/0x170 [ 34.160387] ? errseq_sample+0x56/0x70 [ 34.164252] ? alloc_file+0x326/0x4d0 [ 34.168034] ? __fd_install+0x1b4/0x610 [ 34.171986] ? __fdget+0x1a0/0x230 [ 34.175506] __x64_sys_sendmsg+0x132/0x220 [ 34.179718] ? __sys_sendmsg+0x1b0/0x1b0 [ 34.183777] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 34.189121] ? trace_hardirqs_off_caller+0x6e/0x210 [ 34.194117] ? do_syscall_64+0x21/0x620 [ 34.198069] do_syscall_64+0xf9/0x620 [ 34.201852] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 34.207019] RIP: 0033:0x7f4e4f643b49 [ 34.210711] 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 [ 34.229588] RSP: 002b:00007ffe005938a8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 34.237274] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f4e4f643b49 [ 34.244522] RDX: 0000000000000000 RSI: 00000000200002c0 RDI: 0000000000000004 [ 34.251769] RBP: 00007f4e4f6075b0 R08: 0000000000000000 R09: 0000000000000000 [ 34.259015] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4e4f607640 [ 34.266262] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 34.274731] kobject_add_internal failed for 43:0 with -EEXIST, don't try to register things with the same name in the same directory. [ 34.287155] ------------[ cut here ]------------ [ 34.292308] WARNING: CPU: 0 PID: 8091 at block/genhd.c:719 __device_add_disk.cold+0x69/0x188 [ 34.300913] Kernel panic - not syncing: panic_on_warn set ... [ 34.300913] [ 34.308269] CPU: 0 PID: 8091 Comm: syz-executor285 Not tainted 4.19.211-syzkaller #0 [ 34.316124] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 [ 34.325454] Call Trace: [ 34.328023] dump_stack+0x1fc/0x2ef [ 34.331631] panic+0x26a/0x50e [ 34.334802] ? __warn_printk+0xf3/0xf3 [ 34.338675] ? __device_add_disk.cold+0x69/0x188 [ 34.343410] ? __probe_kernel_read+0x130/0x1b0 [ 34.347978] ? __warn.cold+0x5/0x5a [ 34.351581] ? __warn+0xe4/0x200 [ 34.354928] ? __device_add_disk.cold+0x69/0x188 [ 34.359677] __warn.cold+0x20/0x5a [ 34.363210] ? __device_add_disk.cold+0x69/0x188 [ 34.367957] report_bug+0x262/0x2b0 [ 34.371568] do_error_trap+0x1d7/0x310 [ 34.375440] ? math_error+0x310/0x310 [ 34.379223] ? __irq_work_queue_local+0x101/0x160 [ 34.384056] ? irq_work_queue+0x29/0x80 [ 34.388014] ? error_entry+0x72/0xd0 [ 34.391710] ? trace_hardirqs_off_caller+0x6e/0x210 [ 34.396708] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 34.401535] invalid_op+0x14/0x20 [ 34.404971] RIP: 0010:__device_add_disk.cold+0x69/0x188 [ 34.410314] Code: 02 84 c0 74 08 3c 03 0f 8e a8 00 00 00 44 8b a5 f0 05 00 00 e9 67 ad 6a fb e8 05 45 66 f9 48 c7 c7 60 75 b2 88 e8 64 76 f7 ff <0f> 0b e9 8f b9 6a fb e8 ed 44 66 f9 48 c7 c7 60 75 b2 88 e8 4c 76 [ 34.429204] RSP: 0018:ffff8880b3e77488 EFLAGS: 00010282 [ 34.434548] RAX: 0000000000000024 RBX: 0000000000000001 RCX: 0000000000000000 [ 34.441799] RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed10167cee83 [ 34.449053] RBP: ffff888095130d00 R08: 0000000000000024 R09: 0000000000000000 [ 34.456300] R10: 0000000000000005 R11: 0000000000000000 R12: ffff888095130d90 [ 34.463634] R13: ffff888095131390 R14: 00000000ffffffef R15: ffff888095130d04 [ 34.470895] ? vprintk_func+0x81/0x180 [ 34.474764] ? __device_add_disk.cold+0x69/0x188 [ 34.479505] ? sprintf+0xc0/0x100 [ 34.482936] ? blk_alloc_devt+0x2d0/0x2d0 [ 34.487066] ? __lockdep_init_map+0x100/0x5a0 [ 34.491541] ? __lockdep_init_map+0x100/0x5a0 [ 34.496016] nbd_dev_add+0x6a9/0x890 [ 34.499709] nbd_genl_connect+0x488/0x1630 [ 34.503927] ? nbd_xmit_timeout+0x730/0x730 [ 34.508226] ? validate_nla+0x1a1/0x820 [ 34.512180] ? __sanitizer_cov_trace_switch+0x4b/0x80 [ 34.517348] ? validate_nla+0x270/0x820 [ 34.521303] ? nla_parse+0x1b2/0x290 [ 34.525003] genl_family_rcv_msg+0x642/0xc40 [ 34.529395] ? genl_rcv+0x40/0x40 [ 34.532828] ? genl_rcv_msg+0x12f/0x160 [ 34.536782] ? mutex_trylock+0x1a0/0x1a0 [ 34.540828] ? __radix_tree_lookup+0x216/0x370 [ 34.545390] genl_rcv_msg+0xbf/0x160 [ 34.549095] netlink_rcv_skb+0x160/0x440 [ 34.553137] ? genl_family_rcv_msg+0xc40/0xc40 [ 34.557697] ? netlink_ack+0xae0/0xae0 [ 34.561563] ? genl_rcv+0x15/0x40 [ 34.565015] genl_rcv+0x24/0x40 [ 34.568271] netlink_unicast+0x4d5/0x690 [ 34.572311] ? netlink_sendskb+0x110/0x110 [ 34.576524] ? _copy_from_iter_full+0x229/0x7c0 [ 34.581170] ? __phys_addr_symbol+0x2c/0x70 [ 34.585472] ? __check_object_size+0x17b/0x3e0 [ 34.590034] netlink_sendmsg+0x6c3/0xc50 [ 34.594074] ? aa_af_perm+0x230/0x230 [ 34.597860] ? nlmsg_notify+0x1f0/0x1f0 [ 34.601819] ? kernel_recvmsg+0x220/0x220 [ 34.605947] ? nlmsg_notify+0x1f0/0x1f0 [ 34.609897] sock_sendmsg+0xc3/0x120 [ 34.613588] ___sys_sendmsg+0x7bb/0x8e0 [ 34.617539] ? copy_msghdr_from_user+0x440/0x440 [ 34.622275] ? apparmor_file_receive+0x160/0x160 [ 34.627008] ? __lockdep_init_map+0x100/0x5a0 [ 34.631486] ? check_preemption_disabled+0x41/0x280 [ 34.636479] ? mark_held_locks+0xf0/0xf0 [ 34.640520] ? percpu_counter_add_batch+0x126/0x180 [ 34.645515] ? alloc_empty_file+0xd7/0x170 [ 34.649724] ? errseq_sample+0x56/0x70 [ 34.653587] ? alloc_file+0x326/0x4d0 [ 34.657366] ? __fd_install+0x1b4/0x610 [ 34.661333] ? __fdget+0x1a0/0x230 [ 34.664866] __x64_sys_sendmsg+0x132/0x220 [ 34.669078] ? __sys_sendmsg+0x1b0/0x1b0 [ 34.673126] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 34.678469] ? trace_hardirqs_off_caller+0x6e/0x210 [ 34.683464] ? do_syscall_64+0x21/0x620 [ 34.687418] do_syscall_64+0xf9/0x620 [ 34.691200] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 34.696366] RIP: 0033:0x7f4e4f643b49 [ 34.700059] 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 [ 34.719056] RSP: 002b:00007ffe005938a8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 34.726750] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f4e4f643b49 [ 34.733999] RDX: 0000000000000000 RSI: 00000000200002c0 RDI: 0000000000000004 [ 34.741246] RBP: 00007f4e4f6075b0 R08: 0000000000000000 R09: 0000000000000000 [ 34.748492] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4e4f607640 [ 34.755742] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 34.763336] Kernel Offset: disabled [ 34.767003] Rebooting in 86400 seconds..