R10: 0000000000000000 R11: 0000000000000246 R12: 0000000002328914 R13: 00000000004c2f47 R14: 00000000004d6648 R15: 0000000000000004 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: 1 PID: 7240 Comm: syz-executor.0 Not tainted 4.14.139 #35 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8880817624c0 task.stack: ffff88808b660000 RIP: 0010:sysfs_do_create_link_sd.isra.0+0x57/0x120 fs/sysfs/symlink.c:35 RSP: 0018:ffff88808b667b30 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000040 RCX: 0000000040baca70 RDX: 0000000000000008 RSI: ffff888081762d68 RDI: ffffffff87861364 RBP: ffff88808b667b58 R08: 000000000000499e R09: ffffffff88ca4130 R10: ffff888081762d68 R11: ffff8880817624c0 R12: ffffffff869bf720 R13: ffff8880a909cc40 R14: ffff8880a81ad5a0 R15: 0000000000000001 FS: 0000000002328940(0000) GS:ffff8880aef00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6b2770a1b0 CR3: 000000009af31000 CR4: 00000000001406e0 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:0x459829 RSP: 002b:00007ffd39299ba8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007ffd39299bc0 RCX: 0000000000459829 RDX: 0000000000000000 RSI: 0000000000004c80 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000002328914 R13: 00000000004c2f47 R14: 00000000004d6648 R15: 0000000000000004 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: ffff88808b667b30 ---[ end trace 03643cdcfb50e2a8 ]---