FAT-fs (loop2): bogus number of reserved sectors FAT-fs (loop2): Can't find a valid FAT filesystem ===================================== WARNING: bad unlock balance detected! 4.14.111 #1 Not tainted ------------------------------------- syz-executor.4/30280 is trying to release lock ( kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access kobject: 'loop2' (ffff8880a49fa1a0): kobject_uevent_env general protection fault: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 30280 Comm: syz-executor.4 Not tainted 4.14.111 #1 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8882144ea100 task.stack: ffff8882141a0000 RIP: 0010:print_unlock_imbalance_bug kernel/locking/lockdep.c:3540 [inline] RIP: 0010:print_unlock_imbalance_bug.cold+0x89/0x123 kernel/locking/lockdep.c:3525 kobject: 'loop2' (ffff8880a49fa1a0): fill_kobj_path: path = '/devices/virtual/block/loop2' RSP: 0018:ffff8882141a7a88 EFLAGS: 00010086 RAX: dffffc0000000000 RBX: 0000000000000140 RCX: 0000000000000000 RDX: 0000000000000028 RSI: ffffffff814b2a55 RDI: ffffed1042834f47 RBP: ffff8882141a7aa8 R08: 0000000000000030 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: ffff8882144ea100 R13: ffffffff82505aca R14: ffffffff891a4640 R15: ffff8882141a7b28 FS: 00007f1e672d7700(0000) GS:ffff8880aef00000(0000) knlGS:0000000000000000 FAT-fs (loop2): bogus number of reserved sectors CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000c2de28 CR3: 0000000214238000 CR4: 00000000001406e0 Call Trace: __lock_release kernel/locking/lockdep.c:3765 [inline] lock_release+0x619/0x940 kernel/locking/lockdep.c:4013 FAT-fs (loop2): Can't find a valid FAT filesystem up_write+0x1a/0x60 kernel/locking/rwsem.c:115 inode_unlock include/linux/fs.h:720 [inline] debugfs_remove fs/debugfs/inode.c:660 [inline] debugfs_remove+0xba/0x120 fs/debugfs/inode.c:649 blk_remove_buf_file_callback+0x16/0x20 kernel/trace/blktrace.c:434 relay_close_buf+0xea/0x140 kernel/relay.c:496 relay_close kernel/relay.c:847 [inline] relay_close+0x13a/0x410 kernel/relay.c:833 blk_trace_free+0x8c/0x140 kernel/trace/blktrace.c:326 blk_trace_cleanup kernel/trace/blktrace.c:351 [inline] blk_trace_remove+0x59/0x80 kernel/trace/blktrace.c:364 sg_ioctl+0x247/0x27e0 drivers/scsi/sg.c:1136 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x7b9/0x1070 fs/ioctl.c:684 SYSC_ioctl fs/ioctl.c:701 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:692 do_syscall_64+0x1eb/0x630 arch/x86/entry/common.c:289 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x458c29 RSP: 002b:00007f1e672d6c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000458c29 RDX: 0000000000000000 RSI: 0000000000001276 RDI: 0000000000000006 RBP: 000000000073bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f1e672d76d4 R13: 00000000004c012d R14: 00000000004d23e0 R15: 00000000ffffffff Code: 8b 94 24 e0 04 00 00 49 8d b4 24 b0 06 00 00 48 c7 c7 e0 4c 6b 86 e8 23 bc 02 00 48 89 da b8 ff ff 37 00 48 c1 ea 03 48 c1 e0 2a <80> 3c 02 00 74 08 48 89 df e8 52 e0 3d 00 48 8d 7b 18 b8 ff ff RIP: print_unlock_imbalance_bug kernel/locking/lockdep.c:3540 [inline] RSP: ffff8882141a7a88 RIP: print_unlock_imbalance_bug.cold+0x89/0x123 kernel/locking/lockdep.c:3525 RSP: ffff8882141a7a88 ---[ end trace 65b6e27867d3704e ]---