R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 R13: 00007ffe34686fa0 R14: 0000000000000000 R15: 0000000000000000 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: 7425 Comm: syz-executor159 Not tainted 4.14.139 #35 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88809bd783c0 task.stack: ffff8880a8958000 RIP: 0010:sysfs_do_create_link_sd.isra.0+0x57/0x120 fs/sysfs/symlink.c:35 RSP: 0018:ffff8880a895fb30 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000040 RCX: 000000005cb43632 RDX: 0000000000000008 RSI: ffff88809bd78c68 RDI: ffffffff87861364 RBP: ffff8880a895fb58 R08: 0000000000005f42 R09: ffffffff88caee50 R10: ffff88809bd78c68 R11: ffff88809bd783c0 R12: ffffffff869bf720 R13: ffff8880a00aa620 R14: ffff888087801460 R15: 0000000000000001 FS: 0000000002589880(0000) GS:ffff8880aee00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe34686f5c CR3: 000000008c056000 CR4: 00000000001406f0 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:0x443e09 RSP: 002b:00007ffe34686f48 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000443e09 RDX: 0000000000000000 RSI: 0000000000004c80 RDI: 0000000000000003 RBP: ffffffffffffffff R08: 0000000000000002 R09: 00000000004ab482 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004 R13: 00007ffe34686fa0 R14: 0000000000000000 R15: 0000000000000000 Code: 4d 85 ed 0f 84 9e 00 00 00 e8 d6 43 b2 ff 48 c7 c7 60 13 86 87 e8 0a 66 71 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 a2 43 RIP: sysfs_do_create_link_sd.isra.0+0x57/0x120 fs/sysfs/symlink.c:35 RSP: ffff8880a895fb30 ---[ end trace 6290c60c3147e6ab ]---