[ OK ] Started System Logging Service. [ OK ] Started Getty on tty6. [ OK ] Started Getty on tty5. [ OK ] Started Getty on tty4. [ OK ] Started Getty on tty3. [ OK ] Started Getty on tty2. [ OK ] Started Getty on tty1. [ OK ] Started Serial Getty on ttyS0. [ OK ] Started OpenBSD Secure Shell server. [ OK ] Started getty on tty2-tty6 if dbus and logind are not available. Debian GNU/Linux 9 syzkaller ttyS0 Warning: Permanently added '10.128.1.0' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 33.958002] sysfs: cannot create duplicate filename '/devices/virtual/bdi/43:0' [ 33.965569] CPU: 0 PID: 8088 Comm: syz-executor479 Not tainted 4.19.177-syzkaller #0 [ 33.973492] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 33.982854] Call Trace: [ 33.985447] dump_stack+0x1fc/0x2ef [ 33.989072] sysfs_warn_dup.cold+0x1c/0x29 [ 33.993303] sysfs_create_dir_ns+0x228/0x280 [ 33.997697] ? sysfs_create_mount_point+0xb0/0xb0 [ 34.002521] ? lock_acquire+0x170/0x3c0 [ 34.006493] ? kobject_add_internal+0x134/0x9c0 [ 34.011157] ? bdi_register_va.part.0+0x35/0x730 [ 34.015916] ? class_dir_child_ns_type+0x9/0x60 [ 34.020575] kobject_add_internal+0x2a5/0x9c0 [ 34.025076] kobject_add+0x150/0x1c0 [ 34.028774] ? kset_create_and_add+0x1a0/0x1a0 [ 34.033341] ? device_add+0x2c7/0x16d0 [ 34.037212] device_add+0x37b/0x16d0 [ 34.040911] ? device_check_offline+0x280/0x280 [ 34.045571] ? kfree_const+0x51/0x60 [ 34.049466] ? rcu_read_lock_sched_held+0x16c/0x1d0 [ 34.054480] ? kfree+0x1e2/0x210 [ 34.057832] device_create_groups_vargs+0x1f4/0x270 [ 34.062831] device_create_vargs+0x3a/0x50 [ 34.067054] bdi_register_va.part.0+0x35/0x730 [ 34.071991] bdi_register+0x12a/0x140 [ 34.075774] ? bdi_register_va+0x80/0x80 [ 34.079834] ? vsnprintf+0x2cc/0x14f0 [ 34.083651] bdi_register_owner+0x59/0x100 [ 34.087914] __device_add_disk+0xce5/0x1080 [ 34.092247] ? sprintf+0xc0/0x100 [ 34.095708] ? blk_alloc_devt+0x2d0/0x2d0 [ 34.099868] ? __lockdep_init_map+0x100/0x5a0 [ 34.104381] ? __lockdep_init_map+0x100/0x5a0 [ 34.111752] nbd_dev_add+0x6a7/0x890 [ 34.116076] nbd_genl_connect+0x488/0x1630 [ 34.120298] ? nbd_xmit_timeout+0x730/0x730 [ 34.124635] ? __sanitizer_cov_trace_switch+0x4b/0x80 [ 34.129825] ? validate_nla+0x270/0x820 [ 34.133806] ? nla_parse+0x1b2/0x290 [ 34.137509] genl_family_rcv_msg+0x642/0xc40 [ 34.141908] ? genl_rcv+0x40/0x40 [ 34.145345] ? genl_rcv_msg+0x12f/0x160 [ 34.149314] ? __mutex_add_waiter+0x160/0x160 [ 34.153817] ? __radix_tree_lookup+0x216/0x370 [ 34.158399] genl_rcv_msg+0xbf/0x160 [ 34.162186] netlink_rcv_skb+0x160/0x440 [ 34.166262] ? genl_family_rcv_msg+0xc40/0xc40 [ 34.170848] ? netlink_ack+0xae0/0xae0 [ 34.174722] ? genl_rcv+0x15/0x40 [ 34.178174] genl_rcv+0x24/0x40 [ 34.181440] netlink_unicast+0x4d5/0x690 [ 34.185488] ? netlink_sendskb+0x110/0x110 [ 34.189741] ? _copy_from_iter_full+0x229/0x7c0 [ 34.194395] ? __phys_addr_symbol+0x2c/0x70 [ 34.198725] ? __check_object_size+0x17b/0x3e0 [ 34.203309] netlink_sendmsg+0x6bb/0xc40 [ 34.207397] ? aa_af_perm+0x230/0x230 [ 34.211186] ? nlmsg_notify+0x1a0/0x1a0 [ 34.215146] ? kernel_recvmsg+0x220/0x220 [ 34.219302] ? nlmsg_notify+0x1a0/0x1a0 [ 34.223268] sock_sendmsg+0xc3/0x120 [ 34.226976] ___sys_sendmsg+0x7bb/0x8e0 [ 34.230949] ? copy_msghdr_from_user+0x440/0x440 [ 34.235697] ? netlink_dump+0xc10/0xc10 [ 34.239659] ? nlmsg_notify+0x1a0/0x1a0 [ 34.243620] ? security_socket_recvmsg+0x8f/0xc0 [ 34.248370] ? __sys_recvfrom+0x2cd/0x3a0 [ 34.252509] ? __ia32_sys_send+0x100/0x100 [ 34.256732] ? __fdget+0x1a0/0x230 [ 34.260257] __x64_sys_sendmsg+0x132/0x220 [ 34.264475] ? __sys_sendmsg+0x1b0/0x1b0 [ 34.268528] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 34.273940] ? trace_hardirqs_off_caller+0x6e/0x210 [ 34.278965] ? do_syscall_64+0x21/0x620 [ 34.283134] do_syscall_64+0xf9/0x620 [ 34.286946] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 34.292134] RIP: 0033:0x43f9a9 [ 34.295311] 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.314206] RSP: 002b:00007ffee1caea18 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 34.321918] RAX: ffffffffffffffda RBX: 00000000004004a0 RCX: 000000000043f9a9 [ 34.329168] RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000003 [ 34.336506] RBP: 0000000000403410 R08: 0000000000000000 R09: 00000000004004a0 [ 34.343759] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004034a0 [ 34.351022] R13: 0000000000000000 R14: 00000000004ad018 R15: 00000000004004a0 [ 34.364955] kobject_add_internal failed for 43:0 with -EEXIST, don't try to register things with the same name in the same directory. [ 34.385822] ------------[ cut here ]------------ [ 34.390965] WARNING: CPU: 0 PID: 8088 at block/genhd.c:714 __device_add_disk.cold+0x105/0x170 [ 34.399623] Kernel panic - not syncing: panic_on_warn set ... [ 34.399623] [ 34.406970] CPU: 0 PID: 8088 Comm: syz-executor479 Not tainted 4.19.177-syzkaller #0 [ 34.414832] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 [ 34.424163] Call Trace: [ 34.426740] dump_stack+0x1fc/0x2ef [ 34.430352] panic+0x26a/0x50e [ 34.433543] ? __warn_printk+0xf3/0xf3 [ 34.437416] ? __device_add_disk.cold+0x105/0x170 [ 34.442253] ? __probe_kernel_read+0x130/0x1b0 [ 34.446816] ? __warn.cold+0x5/0x5a [ 34.450422] ? __warn+0xe4/0x200 [ 34.453788] ? __device_add_disk.cold+0x105/0x170 [ 34.458610] __warn.cold+0x20/0x5a [ 34.462133] ? __device_add_disk.cold+0x105/0x170 [ 34.466971] report_bug+0x262/0x2b0 [ 34.470582] do_error_trap+0x1d7/0x310 [ 34.474450] ? math_error+0x310/0x310 [ 34.478232] ? irq_work_claim+0xa6/0xc0 [ 34.482205] ? irq_work_queue+0x29/0x80 [ 34.486160] ? error_entry+0x72/0xd0 [ 34.489854] ? trace_hardirqs_off_caller+0x6e/0x210 [ 34.494854] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 34.499679] invalid_op+0x14/0x20 [ 34.503639] RIP: 0010:__device_add_disk.cold+0x105/0x170 [ 34.509070] Code: 03 0f b6 04 02 84 c0 74 04 3c 03 7e 24 44 8b a5 b8 05 00 00 e9 56 28 6c fb e8 19 17 69 f9 48 c7 c7 60 51 b2 88 e8 d7 79 f7 ff <0f> 0b e9 10 34 6c fb 48 8b 3c 24 e8 cd ca 9e f9 eb d1 e8 f6 16 69 [ 34.528045] RSP: 0018:ffff88809eccf490 EFLAGS: 00010282 [ 34.533391] RAX: 0000000000000024 RBX: 0000000000000001 RCX: 0000000000000000 [ 34.540640] RDX: 0000000000000000 RSI: ffffffff814de301 RDI: ffffed1013d99e84 [ 34.547916] RBP: ffff8880b257d1c0 R08: 0000000000000024 R09: 0000000000000000 [ 34.555167] R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880b257d250 [ 34.562420] R13: ffff8880b257d818 R14: 00000000ffffffef R15: ffff8880b257d1c4 [ 34.569777] ? vprintk_func+0x81/0x180 [ 34.573678] ? sprintf+0xc0/0x100 [ 34.577113] ? blk_alloc_devt+0x2d0/0x2d0 [ 34.581408] ? __lockdep_init_map+0x100/0x5a0 [ 34.585907] ? __lockdep_init_map+0x100/0x5a0 [ 34.590824] nbd_dev_add+0x6a7/0x890 [ 34.594534] nbd_genl_connect+0x488/0x1630 [ 34.598752] ? nbd_xmit_timeout+0x730/0x730 [ 34.603145] ? __sanitizer_cov_trace_switch+0x4b/0x80 [ 34.608336] ? validate_nla+0x270/0x820 [ 34.612305] ? nla_parse+0x1b2/0x290 [ 34.616005] genl_family_rcv_msg+0x642/0xc40 [ 34.620407] ? genl_rcv+0x40/0x40 [ 34.623847] ? genl_rcv_msg+0x12f/0x160 [ 34.627808] ? __mutex_add_waiter+0x160/0x160 [ 34.632292] ? __radix_tree_lookup+0x216/0x370 [ 34.636873] genl_rcv_msg+0xbf/0x160 [ 34.640620] netlink_rcv_skb+0x160/0x440 [ 34.644675] ? genl_family_rcv_msg+0xc40/0xc40 [ 34.649245] ? netlink_ack+0xae0/0xae0 [ 34.653129] ? genl_rcv+0x15/0x40 [ 34.656567] genl_rcv+0x24/0x40 [ 34.659840] netlink_unicast+0x4d5/0x690 [ 34.663890] ? netlink_sendskb+0x110/0x110 [ 34.668120] ? _copy_from_iter_full+0x229/0x7c0 [ 34.672782] ? __phys_addr_symbol+0x2c/0x70 [ 34.677086] ? __check_object_size+0x17b/0x3e0 [ 34.681652] netlink_sendmsg+0x6bb/0xc40 [ 34.685710] ? aa_af_perm+0x230/0x230 [ 34.689512] ? nlmsg_notify+0x1a0/0x1a0 [ 34.693467] ? kernel_recvmsg+0x220/0x220 [ 34.697604] ? nlmsg_notify+0x1a0/0x1a0 [ 34.701570] sock_sendmsg+0xc3/0x120 [ 34.705335] ___sys_sendmsg+0x7bb/0x8e0 [ 34.709315] ? copy_msghdr_from_user+0x440/0x440 [ 34.714058] ? netlink_dump+0xc10/0xc10 [ 34.718033] ? nlmsg_notify+0x1a0/0x1a0 [ 34.721996] ? security_socket_recvmsg+0x8f/0xc0 [ 34.726744] ? __sys_recvfrom+0x2cd/0x3a0 [ 34.730876] ? __ia32_sys_send+0x100/0x100 [ 34.735111] ? __fdget+0x1a0/0x230 [ 34.738636] __x64_sys_sendmsg+0x132/0x220 [ 34.742854] ? __sys_sendmsg+0x1b0/0x1b0 [ 34.746904] ? entry_SYSCALL_64_after_hwframe+0x3e/0xbe [ 34.752249] ? trace_hardirqs_off_caller+0x6e/0x210 [ 34.757261] ? do_syscall_64+0x21/0x620 [ 34.761229] do_syscall_64+0xf9/0x620 [ 34.765048] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 34.770235] RIP: 0033:0x43f9a9 [ 34.773411] 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.792296] RSP: 002b:00007ffee1caea18 EFLAGS: 00000246 ORIG_RAX: 000000000000002e [ 34.799986] RAX: ffffffffffffffda RBX: 00000000004004a0 RCX: 000000000043f9a9 [ 34.807273] RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000003 [ 34.814523] RBP: 0000000000403410 R08: 0000000000000000 R09: 00000000004004a0 [ 34.821789] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004034a0 [ 34.829051] R13: 0000000000000000 R14: 00000000004ad018 R15: 00000000004004a0 [ 34.836996] Kernel Offset: disabled [ 34.840676] Rebooting in 86400 seconds..