kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access hid-generic 0005:0007:0001.0002: unknown main item tag 0x0 hid-generic 0005:0007:0001.0002: unknown main item tag 0x0 general protection fault: 0000 [#1] PREEMPT SMP KASAN NOPTI Modules linked in: CPU: 1 PID: 10502 Comm: syz-executor.2 Not tainted 4.14.136+ #27 task: 000000005aabc591 task.stack: 000000004202f8ed RIP: 0010:is_loop_device drivers/block/loop.c:622 [inline] RIP: 0010:loop_validate_file+0x1ef/0x2c0 drivers/block/loop.c:633 RSP: 0018:ffff88819fa7fb60 EFLAGS: 00010202 RAX: 0000000000000037 RBX: ffff8881d9eba418 RCX: 00000000000000a2 RDX: ffffffff81e27281 RSI: ffffc90004492000 RDI: 00000000000001b8 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: fffffbfff3805961 R11: ffffffff9c02cb0b R12: ffff8881d57e2280 R13: dffffc0000000000 R14: 00000000fffffff0 R15: ffff8881d57e2360 FS: 00007f11bccc7700(0000) GS:ffff8881dbb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000625208 CR3: 00000001a000e004 CR4: 00000000001606a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: loop_set_fd drivers/block/loop.c:897 [inline] lo_ioctl+0xa47/0x1a30 drivers/block/loop.c:1407 Code: f0 00 00 00 48 89 f8 48 c1 e8 03 42 80 3c 28 00 0f 85 d1 00 00 00 48 8b ad f0 00 00 00 48 8d bd b8 01 00 00 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 0f 85 a7 00 00 00 48 8b ad b8 01 00 00 48 89 e8 RIP: is_loop_device drivers/block/loop.c:622 [inline] RSP: ffff88819fa7fb60 RIP: loop_validate_file+0x1ef/0x2c0 drivers/block/loop.c:633 RSP: ffff88819fa7fb60 hid-generic 0005:0007:0001.0002: unknown main item tag 0x0 hid-generic 0005:0007:0001.0002: unknown main item tag 0x0 hid-generic 0005:0007:0001.0002: unknown main item tag 0x0 hid-generic 0005:0007:0001.0002: unknown main item tag 0x0 hid-generic 0005:0007:0001.0002: unknown main item tag 0x0 ---[ end trace 5cbe118be0ff3b77 ]--- hid-generic 0005:0007:0001.0002: unknown main item tag 0x0 hid-generic 0005:0007:0001.0002: unknown main item tag 0x0