BFS-fs: bfs_fill_super(): Superblock is corrupted BFS-fs: bfs_fill_super(): Superblock is corrupted INFO: task syz-executor2:3114 blocked for more than 140 seconds. Not tainted 4.20.0 #165 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor2 D24152 3114 6148 0x00000004 Call Trace: context_switch kernel/sched/core.c:2831 [inline] __schedule+0x86c/0x1ed0 kernel/sched/core.c:3472 schedule+0xfe/0x460 kernel/sched/core.c:3516 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:280 [inline] rwsem_down_read_failed+0x371/0x710 kernel/locking/rwsem-xadd.c:297 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+0x9b/0x120 kernel/locking/rwsem.c:26 __get_super.part.11+0x207/0x2e0 fs/super.c:698 __get_super include/linux/spinlock.h:329 [inline] get_super+0x2d/0x50 fs/super.c:727 fsync_bdev+0x17/0xc0 fs/block_dev.c:469 invalidate_partition+0x35/0x60 block/genhd.c:1570 drop_partitions.isra.14+0xe1/0x200 block/partition-generic.c:445 rescan_partitions+0x72/0x8e0 block/partition-generic.c:518 __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:644 loop_set_status+0xb95/0x1010 drivers/block/loop.c:1198 loop_set_status64+0xaa/0x100 drivers/block/loop.c:1316 lo_ioctl+0x90e/0x1d60 drivers/block/loop.c:1432 __blkdev_driver_ioctl block/ioctl.c:303 [inline] blkdev_ioctl+0xd8a/0x21b0 block/ioctl.c:605 block_ioctl+0xee/0x130 fs/block_dev.c:1883 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:509 [inline] do_vfs_ioctl+0x1de/0x1790 fs/ioctl.c:696 ksys_ioctl+0xa9/0xd0 fs/ioctl.c:713 __do_sys_ioctl fs/ioctl.c:720 [inline] __se_sys_ioctl fs/ioctl.c:718 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:718 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457669 Code: Bad RIP value. RSP: 002b:00007f3aad043c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457669 RDX: 0000000020000100 RSI: 0000000000004c04 RDI: 0000000000000004 RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f3aad0446d4 R13: 00000000004c0996 R14: 00000000004d1b18 R15: 00000000ffffffff INFO: task syz-executor1:3110 blocked for more than 140 seconds. Not tainted 4.20.0 #165 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor1 D22864 3110 6121 0x00000004 Call Trace: context_switch kernel/sched/core.c:2831 [inline] __schedule+0x86c/0x1ed0 kernel/sched/core.c:3472 schedule+0xfe/0x460 kernel/sched/core.c:3516 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3574 __mutex_lock_common kernel/locking/mutex.c:1002 [inline] __mutex_lock+0xbe7/0x1700 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 blkdev_put+0x34/0x540 fs/block_dev.c:1816 blkdev_close+0x8b/0xb0 fs/block_dev.c:1865 __fput+0x385/0xa30 fs/file_table.c:278 ____fput+0x15/0x20 fs/file_table.c:309 task_work_run+0x1e8/0x2a0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x318/0x380 arch/x86/entry/common.c:166 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline] syscall_return_slowpath arch/x86/entry/common.c:268 [inline] do_syscall_64+0x6be/0x820 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x411121 Code: 83 24 00 4c 8b 7c 24 28 4c 8b 54 24 08 45 0f b6 37 e9 fa fb ff ff 48 89 ca eb 8e 4c 89 d7 e8 06 a2 ff ff 48 85 c0 49 89 44 24 <30> 0f 85 84 fc ff ff 41 be fa ff ff ff e9 f9 fc ff ff 0f b6 ca be RSP: 002b:00007ffc464c11c0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000006 RCX: 0000000000411121 RDX: 0000000000000000 RSI: 0000000000730230 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000730228 R09: 0000000000000000 R10: 00007ffc464c10e0 R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000303 R15: 0000000000000001 INFO: task syz-executor1:3195 blocked for more than 140 seconds. Not tainted 4.20.0 #165 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor1 D23528 3195 6121 0x00000004 Call Trace: context_switch kernel/sched/core.c:2831 [inline] __schedule+0x86c/0x1ed0 kernel/sched/core.c:3472 schedule+0xfe/0x460 kernel/sched/core.c:3516 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3574 __mutex_lock_common kernel/locking/mutex.c:1002 [inline] __mutex_lock+0xbe7/0x1700 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 __blkdev_get+0x19b/0x13c0 fs/block_dev.c:1466 blkdev_get+0xc1/0xb50 fs/block_dev.c:1617 blkdev_open+0x1fb/0x280 fs/block_dev.c:1775 do_dentry_open+0x499/0x1250 fs/open.c:771 vfs_open+0xa0/0xd0 fs/open.c:880 do_last fs/namei.c:3418 [inline] path_openat+0x12bc/0x5160 fs/namei.c:3534 do_filp_open+0x255/0x380 fs/namei.c:3564 do_sys_open+0x568/0x700 fs/open.c:1063 __do_sys_open fs/open.c:1081 [inline] __se_sys_open fs/open.c:1076 [inline] __x64_sys_open+0x7e/0xc0 fs/open.c:1076 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4112a1 Code: 70 44 89 ee ff 15 af 83 24 00 85 c0 0f 85 55 fe ff ff 41 8b 74 24 68 49 8b 7c 24 70 ff 15 9f 83 24 00 85 c0 0f 85 3d fe ff ff <48> 8b 3d a0 c3 24 00 8b 05 a2 c3 24 00 48 85 ff 41 89 44 24 28 74 RSP: 002b:00007f3f234cfa80 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 00000000200000a8 RCX: 00000000004112a1 RDX: 00007f3f234cfafa RSI: 0000000000000002 RDI: 00007f3f234cfaf0 RBP: 0000000000000001 R08: 0000000000000000 R09: 000000000000000a R10: 0000000000000075 R11: 0000000000000293 R12: 0000000000000003 R13: 0000000000000001 R14: 00000000004d9ab0 R15: 00000000ffffffff INFO: task blkid:3123 blocked for more than 140 seconds. Not tainted 4.20.0 #165 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. blkid D22008 3123 17487 0x00000004 Call Trace: context_switch kernel/sched/core.c:2831 [inline] __schedule+0x86c/0x1ed0 kernel/sched/core.c:3472 schedule+0xfe/0x460 kernel/sched/core.c:3516 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3574 __mutex_lock_common kernel/locking/mutex.c:1002 [inline] __mutex_lock+0xbe7/0x1700 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 __blkdev_get+0x19b/0x13c0 fs/block_dev.c:1466 blkdev_get+0xc1/0xb50 fs/block_dev.c:1617 blkdev_open+0x1fb/0x280 fs/block_dev.c:1775 do_dentry_open+0x499/0x1250 fs/open.c:771 vfs_open+0xa0/0xd0 fs/open.c:880 do_last fs/namei.c:3418 [inline] path_openat+0x12bc/0x5160 fs/namei.c:3534 do_filp_open+0x255/0x380 fs/namei.c:3564 do_sys_open+0x568/0x700 fs/open.c:1063 __do_sys_open fs/open.c:1081 [inline] __se_sys_open fs/open.c:1076 [inline] __x64_sys_open+0x7e/0xc0 fs/open.c:1076 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f44fa223120 Code: Bad RIP value. RSP: 002b:00007ffe303ffec8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f44fa223120 RDX: 00007ffe30401f40 RSI: 0000000000000000 RDI: 00007ffe30401f40 RBP: 0000000000000000 R08: 0000000000000078 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000724030 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000005 Showing all locks held in the system: 1 lock held by khungtaskd/1021: #0: 00000000d47cedcf (rcu_read_lock){....}, at: debug_show_all_locks+0xd0/0x424 kernel/locking/lockdep.c:4379 3 locks held by rs:main Q:Reg/5982: 1 lock held by rsyslogd/5985: #0: 000000006eb210e9 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x1bb/0x200 fs/file.c:766 2 locks held by getty/6074: #0: 000000007198e2d0 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000030ce8a9d (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/6075: #0: 00000000706c462f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000009cf08d7e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/6076: #0: 00000000c9c22cd0 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000939d679e (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/6077: #0: 0000000078b53b49 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 0000000028193447 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/6078: #0: 00000000972798ad (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000431be117 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/6079: #0: 0000000035fb40ba (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 000000004741c312 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 2 locks held by getty/6080: #0: 000000003dc0c6e0 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x32/0x40 drivers/tty/tty_ldsem.c:353 #1: 00000000113ceae6 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x335/0x1e80 drivers/tty/n_tty.c:2154 1 lock held by syz-executor4/11412: #0: 0000000024a3696a (&sig->cred_guard_mutex){+.+.}, at: prepare_bprm_creds+0x53/0x120 fs/exec.c:1404 3 locks held by syz-executor2/3114: #0: 00000000a160405a (&lo->lo_ctl_mutex/1){+.+.}, at: lo_ioctl+0x8e/0x1d60 drivers/block/loop.c:1402 #1: 0000000006d99600 (&bdev->bd_mutex){+.+.}, at: blkdev_reread_part+0x1e/0x40 block/ioctl.c:192 #2: 000000005b524748 (&type->s_umount_key#61){++++}, at: __get_super.part.11+0x207/0x2e0 fs/super.c:698 1 lock held by syz-executor1/3110: #0: 0000000006d99600 (&bdev->bd_mutex){+.+.}, at: blkdev_put+0x34/0x540 fs/block_dev.c:1816 2 locks held by syz-executor1/3118: 1 lock held by syz-executor1/3195: #0: 0000000006d99600 (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x19b/0x13c0 fs/block_dev.c:1466 1 lock held by blkid/3123: #0: 0000000006d99600 (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x19b/0x13c0 fs/block_dev.c:1466 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 1021 Comm: khungtaskd Not tainted 4.20.0 #165 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+0x1d3/0x2c6 lib/dump_stack.c:113 nmi_cpu_backtrace.cold.4+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1c2/0x22c 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:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:205 [inline] watchdog+0xb51/0x1060 kernel/hung_task.c:289 kthread+0x35a/0x440 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 Sending NMI from CPU 0 to CPUs 1: INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.419 msecs NMI backtrace for cpu 1 CPU: 1 PID: 3118 Comm: syz-executor1 Not tainted 4.20.0 #165 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline] RIP: 0010:lock_release+0x49d/0xa00 kernel/locking/lockdep.c:3865 Code: ff ff e8 56 98 60 00 45 3b ae 78 08 00 00 0f 85 da 02 00 00 48 b8 00 00 00 00 00 fc ff df 4d 89 f8 49 c1 e8 03 41 c6 04 00 f8 <65> 4c 8b 24 25 40 ee 01 00 49 8d bc 24 7c 08 00 00 48 b8 00 00 00 RSP: 0018:ffff888180dbee98 EFLAGS: 00000802 RAX: dffffc0000000000 RBX: 1ffff110301b7dd8 RCX: 1ffff1103700b13e RDX: 0000000000000001 RSI: 1ffff1103700b145 RDI: ffff8881b80589f0 RBP: ffff888180dbefc8 R08: 1ffff110301b7ddc R09: ffffed103b5e5b5f R10: 0000000000000002 R11: ffff8881daf2dafb R12: ffffffff8b0f17e0 R13: 0000000000000001 R14: ffff8881b8058180 R15: ffff888180dbeee0 FS: 00007f3f234f1700(0000) GS:ffff8881daf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 00000001cbffe000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_lock_release include/linux/rcupdate.h:228 [inline] rcu_read_unlock include/linux/rcupdate.h:661 [inline] find_get_entry+0xaae/0x1120 mm/filemap.c:1445 pagecache_get_page+0x12f/0xf00 mm/filemap.c:1518 find_or_create_page include/linux/pagemap.h:322 [inline] grow_dev_page fs/buffer.c:947 [inline] grow_buffers fs/buffer.c:1016 [inline] __getblk_slow fs/buffer.c:1043 [inline] __getblk_gfp+0x3aa/0xd50 fs/buffer.c:1320 __bread_gfp+0x2d/0x300 fs/buffer.c:1354 sb_bread include/linux/buffer_head.h:307 [inline] bfs_fill_super+0x77d/0xef0 fs/bfs/inode.c:390 mount_bdev+0x30c/0x3e0 fs/super.c:1158 bfs_mount+0x34/0x40 fs/bfs/inode.c:468 mount_fs+0xae/0x31d fs/super.c:1261 vfs_kern_mount.part.35+0xdc/0x4f0 fs/namespace.c:961 vfs_kern_mount fs/namespace.c:951 [inline] do_new_mount fs/namespace.c:2469 [inline] do_mount+0x581/0x31f0 fs/namespace.c:2801 ksys_mount+0x12d/0x140 fs/namespace.c:3017 __do_sys_mount fs/namespace.c:3031 [inline] __se_sys_mount fs/namespace.c:3028 [inline] __x64_sys_mount+0xbe/0x150 fs/namespace.c:3028 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45a0da Code: b8 a6 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 7d 89 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 5a 89 fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00007f3f234f0a88 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f3f234f0b30 RCX: 000000000045a0da RDX: 00007f3f234f0ad0 RSI: 0000000020000040 RDI: 00007f3f234f0af0 RBP: 0000000020000040 R08: 00007f3f234f0b30 R09: 00007f3f234f0ad0 R10: 0000000000000001 R11: 0000000000000206 R12: 0000000000000004 R13: 0000000000000001 R14: 00000000004d9ab0 R15: 00000000ffffffff