RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6924fb36d4 R13: 00000000004c2bc6 R14: 00000000004d5f30 R15: 0000000000000005 kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 10161 Comm: syz-executor.0 Not tainted 4.14.131 #25 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff888097464480 task.stack: ffff88804d450000 RIP: 0010:sysfs_do_create_link_sd.isra.0+0x57/0x120 fs/sysfs/symlink.c:35 RSP: 0018:ffff88804d457b30 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000040 RCX: 00000000b505c7d3 RDX: 0000000000000008 RSI: ffff888097464d28 RDI: ffffffff87860ee4 RBP: ffff88804d457b58 R08: 000000000000296c R09: ffffffff88c8cfa0 R10: ffff888097464d28 R11: ffff888097464480 R12: ffffffff869bf5e0 R13: ffff888093c8c380 R14: ffff88809418c9a0 R15: 0000000000000001 FS: 00007f6924fb3700(0000) GS:ffff8880aee00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000289e978 CR3: 00000000a00bf000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: sysfs_do_create_link fs/sysfs/symlink.c:80 [inline] sysfs_create_link+0x65/0xc0 fs/sysfs/symlink.c:92 device_add_disk+0xa3b/0xe30 block/genhd.c:688 add_disk include/linux/genhd.h:396 [inline] loop_add+0x638/0x850 drivers/block/loop.c:1893 loop_control_ioctl+0x10c/0x2f0 drivers/block/loop.c:1990 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x7ae/0x1060 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:692 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x459519 RSP: 002b:00007f6924fb2c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f6924fb2c90 RCX: 0000000000459519 RDX: 0000000000000000 RSI: 0000000000004c80 RDI: 0000000000000004 RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6924fb36d4 R13: 00000000004c2bc6 R14: 00000000004d5f30 R15: 0000000000000005 Code: 4d 85 ed 0f 84 9e 00 00 00 e8 16 51 b2 ff 48 c7 c7 e0 0e 86 87 e8 ca 1b 70 04 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 a8 00 00 00 4c 8b 33 4d 85 f6 74 51 e8 e2 50 RIP: sysfs_do_create_link_sd.isra.0+0x57/0x120 fs/sysfs/symlink.c:35 RSP: ffff88804d457b30 ---[ end trace 7e4f7c8455a1af66 ]---