RBP: 00007ffa0a71e1d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007ffe4a30229f R14: 00007ffa0a71e300 R15: 0000000000022000 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: 6568 Comm: syz-executor.4 Not tainted 4.14.288-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022 task: ffff888092754380 task.stack: ffff888092810000 RIP: 0010:sysfs_do_create_link_sd+0x56/0x120 fs/sysfs/symlink.c:35 base_sock_release(ffff88807f957940) sk=ffff88807f7d3480 RSP: 0018:ffff888092817b48 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000010 RCX: 0000000000004ec3 RDX: 0000000000000008 RSI: 0000000000000001 RDI: 0000000000000040 RBP: ffffffff87cbc860 R08: ffffffff8b9c8118 R09: 00000000000400cc R10: ffff888092754c30 R11: ffff888092754380 R12: ffff8880aec95d20 base_sock_release(ffff888088eb3900) sk=ffff8880988fce80 R13: ffffffff87cbc860 R14: 0000000000000001 R15: ffff8880971a659c FS: 00007ffa0a71e700(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffa0a6fd718 CR3: 000000009c1fb000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 nft_compat: unsupported protocol 5 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: sysfs_do_create_link fs/sysfs/symlink.c:80 [inline] sysfs_create_link+0x5f/0xc0 fs/sysfs/symlink.c:92 device_add_disk+0x9f8/0xdc0 block/genhd.c:691 base_sock_release(ffff888086e5a600) sk=ffff8880b4d02440 add_disk include/linux/genhd.h:396 [inline] loop_add+0x615/0x830 drivers/block/loop.c:1904 loop_control_ioctl+0x161/0x3f0 drivers/block/loop.c:2027 nft_compat: unsupported protocol 5 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x75a/0xff0 fs/ioctl.c:684 base_sock_release(ffff888087eaa9c0) sk=ffff88809e4ae880 base_sock_release(ffff888088fd1a00) sk=ffff8880a9752300 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x7ffa0bda9109 RSP: 002b:00007ffa0a71e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007ffa0bebbf60 RCX: 00007ffa0bda9109 RDX: 0000000000000000 RSI: 0000000000004c82 RDI: 0000000000000003 RBP: 00007ffa0a71e1d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007ffe4a30229f R14: 00007ffa0a71e300 R15: 0000000000022000 Code: 84 a1 00 00 00 e8 base_sock_release(ffff88807dd19a80) sk=ffff888087910480 9b 5b b1 ff 48 c7 c7 e0 d1 04 89 e8 df 01 base_sock_release(ffff8880901f2a40) sk=ffff8880929a6e80 80 05 48 8d 7b 30 48 b8 00 base_sock_release(ffff8880901f25c0) sk=ffff88808fe85340 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 a7 00 00 00 4c 8b 6b 30 4d 85 ed 74 4f e8 62 RIP: sysfs_do_create_link_sd+0x56/0x120 fs/sysfs/symlink.c:35 RSP: ffff888092817b48 ---[ end trace bebac402aee37bc3 ]---