R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007fff58d1fecf R14: 00007feac8888300 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: 29178 Comm: syz-executor.0 Not tainted 4.14.228-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8880977c2340 task.stack: ffff88805c650000
RIP: 0010:sysfs_do_create_link_sd+0x56/0x120 fs/sysfs/symlink.c:35
RSP: 0000:ffff88805c657b48 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000010 RCX: 0000000000006829
RDX: 0000000000000008 RSI: 0000000000000001 RDI: 0000000000000040
RBP: ffffffff87cbae60 R08: ffffffff8b9c1c08 R09: 00000000000400c6
R10: ffff8880977c2bf0 R11: ffff8880977c2340 R12: ffff88807279d540
R13: ffffffff87cbae60 R14: 0000000000000001 R15: ffff8880b56e0ddc
FS:  00007feac8888700(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc595566010 CR3: 00000000a0c7d000 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+0x5f/0xc0 fs/sysfs/symlink.c:92
 device_add_disk+0x9f8/0xdc0 block/genhd.c:691
 add_disk include/linux/genhd.h:396 [inline]
 loop_add+0x615/0x830 drivers/block/loop.c:1904
 loop_control_ioctl+0x11a/0x3f0 drivers/block/loop.c:2001
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
 vfs_ioctl fs/ioctl.c:46 [inline]
 file_ioctl fs/ioctl.c:500 [inline]
 do_vfs_ioctl+0x75a/0xff0 fs/ioctl.c:684
CPU: 0 PID: 29213 Comm: syz-executor.1 Not tainted 4.14.228-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 SYSC_ioctl fs/ioctl.c:701 [inline]
 SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692
 fail_dump lib/fault-inject.c:51 [inline]
 should_fail.cold+0x10a/0x149 lib/fault-inject.c:149
 should_failslab+0xd6/0x130 mm/failslab.c:32
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 slab_pre_alloc_hook mm/slab.h:421 [inline]
 slab_alloc mm/slab.c:3376 [inline]
 kmem_cache_alloc+0x40/0x3c0 mm/slab.c:3550
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
 skb_clone+0x126/0x9a0 net/core/skbuff.c:1291
RIP: 0033:0x466459
 __netlink_deliver_tap_skb net/netlink/af_netlink.c:266 [inline]
 __netlink_deliver_tap net/netlink/af_netlink.c:291 [inline]
 netlink_deliver_tap+0x655/0x7d0 net/netlink/af_netlink.c:302
RSP: 002b:00007feac8888188 EFLAGS: 00000246
 __netlink_sendskb net/netlink/af_netlink.c:1231 [inline]
 netlink_sendskb+0x45/0xd0 net/netlink/af_netlink.c:1240
 ORIG_RAX: 0000000000000010
 netlink_unicast+0x50a/0x610 net/netlink/af_netlink.c:1328
RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000466459
RDX: 0000000000000000 RSI: 0000000000004c80 RDI: 0000000000000003
RBP: 00007feac88881d0 R08: 0000000000000000 R09: 0000000000000000
 netlink_ack+0x514/0x9a0 net/netlink/af_netlink.c:2403
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007fff58d1fecf R14: 00007feac8888300 R15: 0000000000022000
 netlink_rcv_skb+0x2c5/0x390 net/netlink/af_netlink.c:2439
Code: 
84 
a1 
00 
00 
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:636
00 
 netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline]
 netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1313
e8 
4b 
a6 
 netlink_sendmsg+0x62e/0xb80 net/netlink/af_netlink.c:1878
b1 
ff 
48 
c7 
c7 
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg+0xb5/0x100 net/socket.c:656
80 
 ___sys_sendmsg+0x6c8/0x800 net/socket.c:2062
c3 
04 
89 
e8 
df 
c7 
7e 
05 
 __sys_sendmsg+0xa3/0x120 net/socket.c:2096
48 
8d 
7b 
30 
 SYSC_sendmsg net/socket.c:2107 [inline]
 SyS_sendmsg+0x27/0x40 net/socket.c:2103
48 
b8 
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
00 
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
00 
RIP: 0033:0x466459
00 
RSP: 002b:00007facd1aa0188 EFLAGS: 00000246
00 
 ORIG_RAX: 000000000000002e
00 
RAX: ffffffffffffffda RBX: 000000000056bf60 RCX: 0000000000466459
fc 
RDX: 0000000000000000 RSI: 0000000020000340 RDI: 0000000000000003
ff 
RBP: 00007facd1aa01d0 R08: 0000000000000000 R09: 0000000000000000
df 
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
48 
R13: 00007ffd5a36d17f R14: 00007facd1aa0300 R15: 0000000000022000
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 12 
RIP: sysfs_do_create_link_sd+0x56/0x120 fs/sysfs/symlink.c:35 RSP: ffff88805c657b48
---[ end trace 0e836d0963d1f7af ]---