Warning: Permanently added '10.128.0.226' (ECDSA) to the list of known hosts. executing program [ 33.744518] sysfs: cannot create duplicate filename '/devices/virtual/bdi/7:0' [ 33.752016] CPU: 1 PID: 8091 Comm: syz-executor334 Not tainted 4.19.211-syzkaller #0 [ 33.759883] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 33.769214] Call Trace: [ 33.771785] dump_stack+0x1fc/0x2ef [ 33.775396] sysfs_warn_dup.cold+0x1c/0x29 [ 33.779612] sysfs_create_dir_ns+0x228/0x280 [ 33.784002] ? sysfs_create_mount_point+0xb0/0xb0 [ 33.788847] ? lock_acquire+0x170/0x3c0 [ 33.792813] ? kobject_add_internal+0x134/0x9c0 [ 33.797550] ? bdi_register_va.part.0+0x4c/0x750 [ 33.802284] ? class_dir_child_ns_type+0x9/0x60 [ 33.806934] kobject_add_internal+0x2a5/0x9c0 [ 33.811499] kobject_add+0x150/0x1c0 [ 33.815196] ? kset_create_and_add+0x1a0/0x1a0 [ 33.819760] ? device_add+0x2c7/0x16d0 [ 33.823633] device_add+0x37b/0x16d0 [ 33.827329] ? device_check_offline+0x280/0x280 [ 33.831978] ? kfree_const+0x51/0x60 [ 33.835672] ? rcu_read_lock_sched_held+0x16c/0x1d0 [ 33.840669] ? kfree+0x1e2/0x210 [ 33.844023] device_create_groups_vargs+0x1f4/0x270 [ 33.849107] device_create+0xdf/0x120 [ 33.852963] ? device_create_vargs+0x50/0x50 [ 33.857384] ? pointer+0x850/0x850 [ 33.860910] bdi_register_va.part.0+0x4c/0x750 [ 33.865482] bdi_register+0x12a/0x140 [ 33.869323] ? bdi_register_va+0x80/0x80 [ 33.873391] ? vsnprintf+0x2cc/0x14f0 [ 33.877184] bdi_register_owner+0x59/0x100 [ 33.881418] __device_add_disk+0xd58/0x10c0 [ 33.885743] ? sprintf+0xc0/0x100 [ 33.889185] ? blk_alloc_devt+0x2d0/0x2d0 [ 33.893319] ? __raw_spin_lock_init+0x28/0x100 [ 33.897884] ? __lockdep_init_map+0x100/0x5a0 [ 33.902360] loop_add+0x628/0x8a0 [ 33.905796] loop_control_ioctl+0x16c/0x480 [ 33.910098] ? loop_lookup+0x1d0/0x1d0 [ 33.913968] ? lock_downgrade+0x720/0x720 [ 33.918095] ? lock_acquire+0x170/0x3c0 [ 33.922052] ? debug_check_no_obj_freed+0xb5/0x490 [ 33.926959] ? loop_lookup+0x1d0/0x1d0 [ 33.930826] do_vfs_ioctl+0xcdb/0x12e0 [ 33.934780] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 33.939859] ? debug_check_no_obj_freed+0x201/0x490 [ 33.944871] ? ioctl_preallocate+0x200/0x200 [ 33.949267] ? putname+0xe1/0x120 [ 33.952702] ? putname+0xe1/0x120 [ 33.956137] ? rcu_read_lock_sched_held+0x16c/0x1d0 [ 33.961220] ? kmem_cache_free+0x226/0x260 [ 33.965522] ? putname+0xe1/0x120 [ 33.968956] ? do_sys_open+0x2bf/0x520 [ 33.972848] ? filp_open+0x70/0x70 [ 33.976410] ksys_ioctl+0x9b/0xc0 [ 33.979844] __x64_sys_ioctl+0x6f/0xb0 [ 33.983730] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 33.988306] do_syscall_64+0xf9/0x620 [ 33.992097] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 33.997283] RIP: 0033:0x7f3bc94c0fd9 [ 34.000981] Code: 28 c3 e8 2a 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.020124] RSP: 002b:00007ffe5b7ff8e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 34.027825] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3bc94c0fd9 [ 34.035429] RDX: 8000002000400000 RSI: 0000000000004c80 RDI: 0000000000000003 [ 34.042766] RBP: 00007f3bc9484fc0 R08: 0000000000000000 R09: 0000000000000000 [ 34.050016] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3bc9485050 [ 34.057267] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 34.065153] kobject_add_internal failed for 7:0 with -EEXIST, don't try to register things with the same name in the same directory. [ 34.077612] ------------[ cut here ]------------ [ 34.082993] WARNING: CPU: 1 PID: 8091 at block/genhd.c:719 __device_add_disk.cold+0x69/0x188 [ 34.091575] Kernel panic - not syncing: panic_on_warn set ... [ 34.091575] [ 34.098951] CPU: 1 PID: 8091 Comm: syz-executor334 Not tainted 4.19.211-syzkaller #0 [ 34.106819] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 34.116327] Call Trace: [ 34.118908] dump_stack+0x1fc/0x2ef [ 34.122637] panic+0x26a/0x50e [ 34.125808] ? __warn_printk+0xf3/0xf3 [ 34.129679] ? __device_add_disk.cold+0x69/0x188 [ 34.134415] ? __probe_kernel_read+0x130/0x1b0 [ 34.138972] ? __warn.cold+0x5/0x5a [ 34.142668] ? __warn+0xe4/0x200 [ 34.146019] ? __device_add_disk.cold+0x69/0x188 [ 34.150843] __warn.cold+0x20/0x5a [ 34.154366] ? __device_add_disk.cold+0x69/0x188 [ 34.159194] report_bug+0x262/0x2b0 [ 34.162807] do_error_trap+0x1d7/0x310 [ 34.166675] ? math_error+0x310/0x310 [ 34.170458] ? __irq_work_queue_local+0x101/0x160 [ 34.175282] ? irq_work_queue+0x29/0x80 [ 34.179237] ? error_entry+0x72/0xd0 [ 34.182954] ? trace_hardirqs_off_caller+0x6e/0x210 [ 34.187953] ? trace_hardirqs_off_thunk+0x1a/0x1c [ 34.192782] invalid_op+0x14/0x20 [ 34.196216] RIP: 0010:__device_add_disk.cold+0x69/0x188 [ 34.201559] 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.220443] RSP: 0018:ffff8880956a7b38 EFLAGS: 00010286 [ 34.225789] RAX: 0000000000000024 RBX: 0000000000000001 RCX: 0000000000000000 [ 34.233038] RDX: 0000000000000000 RSI: ffffffff814dff01 RDI: ffffed1012ad4f59 [ 34.240288] RBP: ffff8880b27f0580 R08: 0000000000000024 R09: 0000000000000000 [ 34.247541] R10: 0000000000000005 R11: 0000000000000000 R12: ffff8880b27f0610 [ 34.255137] R13: ffff8880b27f0c10 R14: 00000000ffffffef R15: ffff8880b27f0584 [ 34.262398] ? vprintk_func+0x81/0x180 [ 34.266272] ? __device_add_disk.cold+0x69/0x188 [ 34.271012] ? sprintf+0xc0/0x100 [ 34.274446] ? blk_alloc_devt+0x2d0/0x2d0 [ 34.278576] ? __raw_spin_lock_init+0x28/0x100 [ 34.283141] ? __lockdep_init_map+0x100/0x5a0 [ 34.287619] loop_add+0x628/0x8a0 [ 34.291058] loop_control_ioctl+0x16c/0x480 [ 34.295366] ? loop_lookup+0x1d0/0x1d0 [ 34.299236] ? lock_downgrade+0x720/0x720 [ 34.303365] ? lock_acquire+0x170/0x3c0 [ 34.307321] ? debug_check_no_obj_freed+0xb5/0x490 [ 34.312236] ? loop_lookup+0x1d0/0x1d0 [ 34.316104] do_vfs_ioctl+0xcdb/0x12e0 [ 34.319982] ? _raw_spin_unlock_irqrestore+0x66/0xe0 [ 34.325065] ? debug_check_no_obj_freed+0x201/0x490 [ 34.330067] ? ioctl_preallocate+0x200/0x200 [ 34.334458] ? putname+0xe1/0x120 [ 34.337899] ? putname+0xe1/0x120 [ 34.341340] ? rcu_read_lock_sched_held+0x16c/0x1d0 [ 34.346345] ? kmem_cache_free+0x226/0x260 [ 34.350562] ? putname+0xe1/0x120 [ 34.353996] ? do_sys_open+0x2bf/0x520 [ 34.357865] ? filp_open+0x70/0x70 [ 34.361390] ksys_ioctl+0x9b/0xc0 [ 34.364826] __x64_sys_ioctl+0x6f/0xb0 [ 34.368697] ? lockdep_hardirqs_on+0x3a8/0x5c0 [ 34.373258] do_syscall_64+0xf9/0x620 [ 34.377046] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 34.382234] RIP: 0033:0x7f3bc94c0fd9 [ 34.385927] Code: 28 c3 e8 2a 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.404807] RSP: 002b:00007ffe5b7ff8e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 34.412585] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3bc94c0fd9 [ 34.419837] RDX: 8000002000400000 RSI: 0000000000004c80 RDI: 0000000000000003 [ 34.427703] RBP: 00007f3bc9484fc0 R08: 0000000000000000 R09: 0000000000000000 [ 34.434955] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3bc9485050 [ 34.442232] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 34.449879] Kernel Offset: disabled [ 34.453544] Rebooting in 86400 seconds..