FAT-fs (loop7): bogus number of reserved sectors FAT-fs (loop7): Can't find a valid FAT filesystem FAT-fs (loop7): bogus number of reserved sectors FAT-fs (loop7): Can't find a valid FAT filesystem INFO: task syz-executor2:29039 blocked for more than 120 seconds. Not tainted 4.18.0-rc1+ #112 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor2 D24424 29039 12469 0x00000004 Call Trace: context_switch kernel/sched/core.c:2862 [inline] __schedule+0x87c/0x1ed0 kernel/sched/core.c:3504 schedule+0xfb/0x450 kernel/sched/core.c:3548 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:269 [inline] rwsem_down_read_failed+0x362/0x600 kernel/locking/rwsem-xadd.c:286 call_rwsem_down_read_failed+0x18/0x30 arch/x86/lib/rwsem.S:94 __down_read arch/x86/include/asm/rwsem.h:83 [inline] down_read+0xc3/0x1d0 kernel/locking/rwsem.c:26 __get_super.part.12+0x20f/0x2e0 fs/super.c:695 __get_super include/linux/spinlock.h:310 [inline] get_super+0x2d/0x50 fs/super.c:724 fsync_bdev+0x17/0xc0 fs/block_dev.c:468 invalidate_partition+0x35/0x60 block/genhd.c:1554 drop_partitions.isra.13+0xe8/0x200 block/partition-generic.c:440 rescan_partitions+0x75/0x910 block/partition-generic.c:513 __blkdev_reread_part+0x1ad/0x230 block/ioctl.c:173 blkdev_reread_part+0x26/0x40 block/ioctl.c:193 loop_reread_partitions+0x163/0x190 drivers/block/loop.c:645 loop_set_status+0xb95/0x1010 drivers/block/loop.c:1201 loop_set_status64+0xaa/0x100 drivers/block/loop.c:1319 lo_ioctl+0x8e2/0x1d10 drivers/block/loop.c:1435 __blkdev_driver_ioctl block/ioctl.c:303 [inline] blkdev_ioctl+0x9cd/0x2030 block/ioctl.c:601 block_ioctl+0xee/0x130 fs/block_dev.c:1880 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x1de/0x1720 fs/ioctl.c:684 ksys_ioctl+0xa9/0xd0 fs/ioctl.c:701 __do_sys_ioctl fs/ioctl.c:708 [inline] __se_sys_ioctl fs/ioctl.c:706 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:706 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x455b29 Code: Bad RIP value. RSP: 002b:00007f2c8d7ebc68 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f2c8d7ec6d4 RCX: 0000000000455b29 RDX: 0000000020000480 RSI: 0000000000004c04 RDI: 0000000000000015 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004be140 R14: 00000000004cc568 R15: 0000000000000000 INFO: task blkid:29045 blocked for more than 120 seconds. Not tainted 4.18.0-rc1+ #112 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. blkid D24656 29045 25716 0x00000004 Call Trace: context_switch kernel/sched/core.c:2862 [inline] __schedule+0x87c/0x1ed0 kernel/sched/core.c:3504 schedule+0xfb/0x450 kernel/sched/core.c:3548 schedule_preempt_disabled+0x10/0x20 kernel/sched/core.c:3606 __mutex_lock_common kernel/locking/mutex.c:834 [inline] __mutex_lock+0xede/0x1820 kernel/locking/mutex.c:894 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:909 __blkdev_get+0x19b/0x13c0 fs/block_dev.c:1463 blkdev_get+0xc1/0xb50 fs/block_dev.c:1614 blkdev_open+0x1fb/0x280 fs/block_dev.c:1772 do_dentry_open+0x818/0xe40 fs/open.c:794 vfs_open+0x139/0x230 fs/open.c:908 do_last fs/namei.c:3399 [inline] path_openat+0x174a/0x4e10 fs/namei.c:3540 do_filp_open+0x255/0x380 fs/namei.c:3574 do_sys_open+0x584/0x760 fs/open.c:1101 __do_sys_open fs/open.c:1119 [inline] __se_sys_open fs/open.c:1114 [inline] __x64_sys_open+0x7e/0xc0 fs/open.c:1114 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7efe417b5120 Code: Bad RIP value. RSP: 002b:00007ffdbbb42df8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007efe417b5120 RDX: 00007ffdbbb43f40 RSI: 0000000000000000 RDI: 00007ffdbbb43f40 RBP: 0000000000000000 R08: 0000000000000078 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000001ed2030 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000005 INFO: task syz-executor4:29053 blocked for more than 120 seconds. Not tainted 4.18.0-rc1+ #112 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor4 D24040 29053 13144 0x00000004 Call Trace: context_switch kernel/sched/core.c:2862 [inline] __schedule+0x87c/0x1ed0 kernel/sched/core.c:3504 schedule+0xfb/0x450 kernel/sched/core.c:3548 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:269 [inline] rwsem_down_read_failed+0x362/0x600 kernel/locking/rwsem-xadd.c:286 call_rwsem_down_read_failed+0x18/0x30 arch/x86/lib/rwsem.S:94 __down_read arch/x86/include/asm/rwsem.h:83 [inline] down_read+0xc3/0x1d0 kernel/locking/rwsem.c:26 iterate_supers+0xe2/0x290 fs/super.c:628 ksys_sync+0xec/0x1e0 fs/sync.c:113 __ia32_sys_sync+0xe/0x20 fs/sync.c:124 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x455b29 Code: Bad RIP value. RSP: 002b:00007f8ec2a12c68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007f8ec2a136d4 RCX: 0000000000455b29 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004c05a8 R14: 00000000004d3048 R15: 0000000000000000 INFO: task syz-executor4:29112 blocked for more than 120 seconds. Not tainted 4.18.0-rc1+ #112 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor4 D25464 29112 13144 0x00000004 Call Trace: context_switch kernel/sched/core.c:2862 [inline] __schedule+0x87c/0x1ed0 kernel/sched/core.c:3504 schedule+0xfb/0x450 kernel/sched/core.c:3548 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:269 [inline] rwsem_down_read_failed+0x362/0x600 kernel/locking/rwsem-xadd.c:286 call_rwsem_down_read_failed+0x18/0x30 arch/x86/lib/rwsem.S:94 __down_read arch/x86/include/asm/rwsem.h:83 [inline] down_read+0xc3/0x1d0 kernel/locking/rwsem.c:26 iterate_supers+0xe2/0x290 fs/super.c:628 ksys_sync+0xec/0x1e0 fs/sync.c:113 __ia32_sys_sync+0xe/0x20 fs/sync.c:124 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x455b29 Code: Bad RIP value. RSP: 002b:00007f8ec29afc68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a2 RAX: ffffffffffffffda RBX: 00007f8ec29b06d4 RCX: 0000000000455b29 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 000000000072c0b0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004c05a8 R14: 00000000004d3048 R15: 0000000000000003 Showing all locks held in the system: 1 lock held by khungtaskd/885: #0: 000000003d983b59 (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x428 kernel/locking/lockdep.c:4461 2 locks held by rs:main Q:Reg/4404: #0: 000000009f26af0c (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 #1: 000000004335f0db (sb_writers#6){.+.+}, at: file_start_write include/linux/fs.h:2739 [inline] #1: 000000004335f0db (sb_writers#6){.+.+}, at: vfs_write+0x452/0x560 fs/read_write.c:548 1 lock held by rsyslogd/4406: #0: 000000003c00147a (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 2 locks held by getty/4497: #0: 000000000b405593 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 0000000079eed013 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2131 2 locks held by getty/4498: #0: 000000009e523b90 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 0000000024546050 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2131 2 locks held by getty/4499: #0: 00000000e70345fd (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000008ab7b14b (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2131 2 locks held by getty/4500: #0: 000000006b8f14d7 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000db204a3d (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2131 2 locks held by getty/4501: #0: 00000000eb087355 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 0000000076aa18b1 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2131 2 locks held by getty/4502: #0: 000000000fd1b7c2 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000d717d88f (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2131 2 locks held by getty/4503: #0: 00000000d5a89e65 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 0000000093415252 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1ce0 drivers/tty/n_tty.c:2131 1 lock held by syz-executor0/29034: 3 locks held by syz-executor2/29039: #0: 0000000063c69e7d (&lo->lo_ctl_mutex/1){+.+.}, at: lo_ioctl+0x91/0x1d10 drivers/block/loop.c:1405 #1: 0000000047562d94 (&bdev->bd_mutex){+.+.}, at: blkdev_reread_part+0x1e/0x40 block/ioctl.c:192 #2: 000000009a4229c2 (&type->s_umount_key#64){++++}, at: __get_super.part.12+0x20f/0x2e0 fs/super.c:695 1 lock held by blkid/29045: #0: 0000000047562d94 (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x19b/0x13c0 fs/block_dev.c:1463 1 lock held by syz-executor4/29053: #0: 000000009a4229c2 (&type->s_umount_key#64){++++}, at: iterate_supers+0xe2/0x290 fs/super.c:628 1 lock held by syz-executor4/29112: #0: 000000009a4229c2 (&type->s_umount_key#64){++++}, at: iterate_supers+0xe2/0x290 fs/super.c:628 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 885 Comm: khungtaskd Not tainted 4.18.0-rc1+ #112 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1c9/0x2b4 lib/dump_stack.c:113 nmi_cpu_backtrace.cold.4+0x19/0xce lib/nmi_backtrace.c:103 nmi_trigger_cpumask_backtrace+0x151/0x192 lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_all_cpu_backtrace include/linux/nmi.h:138 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:196 [inline] watchdog+0x9c4/0xf80 kernel/hung_task.c:252 kthread+0x345/0x410 kernel/kthread.c:240 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:412 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 29034 Comm: syz-executor0 Not tainted 4.18.0-rc1+ #112 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:write_comp_data+0x14/0x70 kernel/kcov.c:116 Code: 4c 89 ef e8 de d2 3d 00 e9 76 fc ff ff e8 94 24 cb ff 90 90 90 90 55 65 4c 8b 04 25 40 ee 01 00 65 8b 05 ef de 85 7e 48 89 e5 00 01 1f 00 75 51 41 8b 80 90 12 00 00 83 f8 03 75 45 49 8b 80 RSP: 0018:ffff88017b48f1a8 EFLAGS: 00000246 RAX: 0000000080000000 RBX: ffffea0006dc98c0 RCX: ffffffff81d44251 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000007 RBP: ffff88017b48f1a8 R08: ffff8801787e03c0 R09: ffffed003b5c46d6 R10: 0000000000000003 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 1ffff1002f691e42 R15: ffffea0007269508 FS: 00007f0ba2581700(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 00000001761da000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __sanitizer_cov_trace_const_cmp8+0x18/0x20 kernel/kcov.c:195 compound_head include/linux/page-flags.h:144 [inline] PageUptodate include/linux/page-flags.h:445 [inline] init_page_buffers+0x151/0x530 fs/buffer.c:890 grow_dev_page fs/buffer.c:947 [inline] grow_buffers fs/buffer.c:1009 [inline] __getblk_slow fs/buffer.c:1036 [inline] __getblk_gfp+0x906/0xb10 fs/buffer.c:1313 __bread_gfp+0x2d/0x310 fs/buffer.c:1347 sb_bread include/linux/buffer_head.h:307 [inline] fat__get_entry+0x59c/0xa30 fs/fat/dir.c:101 fat_get_entry fs/fat/dir.c:129 [inline] fat_get_short_entry+0x13c/0x2c0 fs/fat/dir.c:876 fat_subdirs+0x13c/0x290 fs/fat/dir.c:942 fat_read_root fs/fat/inode.c:1417 [inline] fat_fill_super+0x29d0/0x4400 fs/fat/inode.c:1847 vfat_fill_super+0x31/0x40 fs/fat/namei_vfat.c:1054 mount_bdev+0x30c/0x3e0 fs/super.c:1174 vfat_mount+0x34/0x40 fs/fat/namei_vfat.c:1061 mount_fs+0xae/0x328 fs/super.c:1277 vfs_kern_mount.part.34+0xdc/0x4e0 fs/namespace.c:1037 vfs_kern_mount fs/namespace.c:1027 [inline] do_new_mount fs/namespace.c:2518 [inline] do_mount+0x581/0x30e0 fs/namespace.c:2848 ksys_mount+0x12d/0x140 fs/namespace.c:3064 __do_sys_mount fs/namespace.c:3078 [inline] __se_sys_mount fs/namespace.c:3075 [inline] __x64_sys_mount+0xbe/0x150 fs/namespace.c:3075 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45855a Code: b8 a6 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 dd 8f fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 ba 8f fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00007f0ba2580a88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000068 RCX: 000000000045855a RDX: 00007f0ba2580ad0 RSI: 00000000200004c0 RDI: 00007f0ba2580af0 RBP: 0000000000000001 R08: 00007f0ba2580b30 R09: 00007f0ba2580ad0 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000013 R13: 0000000000000001 R14: 00000000004d3438 R15: 0000000000000000