audit: type=1804 audit(1609537097.214:8): pid=9793 uid=0 auid=0 ses=4 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.4" name="/root/syzkaller-testdir381030051/syzkaller.OKpv9Q/3/file0/file0" dev="loop4" ino=17 res=1 syz-executor.4 (9765) used greatest stack depth: 23336 bytes left INFO: task syz-executor.0:9628 blocked for more than 140 seconds. Not tainted 4.19.164-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D28168 9628 8151 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3619 __mutex_lock_common kernel/locking/mutex.c:1002 [inline] __mutex_lock+0x647/0x1260 kernel/locking/mutex.c:1072 __blkdev_get+0x1d0/0x1480 fs/block_dev.c:1478 blkdev_get+0xb0/0x940 fs/block_dev.c:1627 blkdev_open+0x202/0x290 fs/block_dev.c:1788 do_dentry_open+0x4aa/0x1160 fs/open.c:796 do_last fs/namei.c:3421 [inline] path_openat+0x793/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x417d11 Code: Bad RIP value. RSP: 002b:00007fcbd8959980 EFLAGS: 00000293 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000417d11 RDX: 00007fcbd8959ba0 RSI: 0000000000000002 RDI: 00007fcbd8959ba0 RBP: 0000000000000000 R08: 00007fcbd8959a18 R09: 0000000000000000 R10: 00007fcbd8959a1c R11: 0000000000000293 R12: 0000000000000000 R13: 0000000000000006 R14: 0000000000000006 R15: 0000000000000010 INFO: task syz-executor.0:9695 blocked for more than 140 seconds. Not tainted 4.19.164-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D28168 9695 8151 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3619 __mutex_lock_common kernel/locking/mutex.c:1002 [inline] __mutex_lock+0x647/0x1260 kernel/locking/mutex.c:1072 __blkdev_get+0x1d0/0x1480 fs/block_dev.c:1478 blkdev_get+0x48f/0x940 fs/block_dev.c:1627 blkdev_get_by_path+0x48/0xd0 fs/block_dev.c:1708 mount_bdev+0x5b/0x3b0 fs/super.c:1116 mount_fs+0xa3/0x30c fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961 vfs_kern_mount fs/namespace.c:951 [inline] do_new_mount fs/namespace.c:2469 [inline] do_mount+0x113c/0x2f10 fs/namespace.c:2799 ksys_mount+0xcf/0x130 fs/namespace.c:3015 __do_sys_mount fs/namespace.c:3029 [inline] __se_sys_mount fs/namespace.c:3026 [inline] __x64_sys_mount+0xba/0x150 fs/namespace.c:3026 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45e219 Code: Bad RIP value. RSP: 002b:00007fcbd8938c68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 000000000045e219 RDX: 0000000020000400 RSI: 00000000200001c0 RDI: 0000000020000240 RBP: 000000000119c120 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119c0dc R13: 00007fffebe2d84f R14: 00007fcbd89399c0 R15: 000000000119c0dc INFO: task syz-executor.0:9615 blocked for more than 140 seconds. Not tainted 4.19.164-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor.0 D28408 9615 9611 0x00000004 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:292 [inline] rwsem_down_read_failed+0x20a/0x390 kernel/locking/rwsem-xadd.c:309 call_rwsem_down_read_failed+0x14/0x30 arch/x86/lib/rwsem.S:94 __down_read arch/x86/include/asm/rwsem.h:83 [inline] down_read+0x44/0x80 kernel/locking/rwsem.c:26 __get_super.part.0+0x209/0x2e0 fs/super.c:698 __get_super include/linux/spinlock.h:329 [inline] get_super+0x2b/0x50 fs/super.c:727 fsync_bdev+0x14/0xc0 fs/block_dev.c:483 invalidate_partition+0x74/0xb0 block/genhd.c:1580 drop_partitions.isra.0+0x9c/0x190 block/partition-generic.c:454 rescan_partitions+0xab/0x970 block/partition-generic.c:527 __blkdev_reread_part+0x189/0x220 block/ioctl.c:173 blkdev_reread_part+0x23/0x40 block/ioctl.c:193 loop_reread_partitions drivers/block/loop.c:645 [inline] loop_set_status+0x103e/0x1800 drivers/block/loop.c:1330 loop_set_status64+0xb2/0x110 drivers/block/loop.c:1450 lo_ioctl+0x41f/0x20e0 drivers/block/loop.c:1593 __blkdev_driver_ioctl block/ioctl.c:303 [inline] blkdev_ioctl+0x5cb/0x1a7e block/ioctl.c:601 block_ioctl+0xe9/0x130 fs/block_dev.c:1906 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45e087 Code: Bad RIP value. RSP: 002b:00007fcbd897a9e8 EFLAGS: 00000202 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 000000000045e087 RDX: 00007fcbd897aab0 RSI: 0000000000004c04 RDI: 0000000000000007 RBP: 000000000119bfc0 R08: 00007fcbd897aa18 R09: 0000000000000000 R10: 00007fcbd897aa1c R11: 0000000000000202 R12: 000000000119bf8c R13: 00007fffebe2d84f R14: 00007fcbd897b9c0 R15: 000000000119bf8c INFO: task systemd-udevd:9637 blocked for more than 140 seconds. Not tainted 4.19.164-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. systemd-udevd D28544 9637 4694 0x00000100 Call Trace: context_switch kernel/sched/core.c:2828 [inline] __schedule+0x887/0x2040 kernel/sched/core.c:3517 schedule+0x8d/0x1b0 kernel/sched/core.c:3561 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:3619 __mutex_lock_common kernel/locking/mutex.c:1002 [inline] __mutex_lock+0x647/0x1260 kernel/locking/mutex.c:1072 __blkdev_get+0x1d0/0x1480 fs/block_dev.c:1478 blkdev_get+0xb0/0x940 fs/block_dev.c:1627 blkdev_open+0x202/0x290 fs/block_dev.c:1788 do_dentry_open+0x4aa/0x1160 fs/open.c:796 do_last fs/namei.c:3421 [inline] path_openat+0x793/0x2df0 fs/namei.c:3537 do_filp_open+0x18c/0x3f0 fs/namei.c:3567 do_sys_open+0x3b3/0x520 fs/open.c:1085 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f4f319bc840 Code: Bad RIP value. RSP: 002b:00007ffdb41943d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000055df134d96a0 RCX: 00007f4f319bc840 RDX: 000055df12843fe3 RSI: 00000000000a0800 RDI: 000055df134e2630 RBP: 00007ffdb4194550 R08: 000055df12843670 R09: 0000000000000010 R10: 000055df12843d0c R11: 0000000000000246 R12: 00007ffdb41944a0 R13: 000055df134c6630 R14: 0000000000000003 R15: 000000000000000e Showing all locks held in the system: 1 lock held by khungtaskd/1566: #0: 00000000634a974f (rcu_read_lock){....}, at: debug_show_all_locks+0x53/0x265 kernel/locking/lockdep.c:4440 1 lock held by in:imklog/7816: #0: 00000000f738e3f0 (&f->f_pos_lock){+.+.}, at: __fdget_pos+0x26f/0x310 fs/file.c:767 2 locks held by syz-executor.0/9611: 1 lock held by syz-executor.0/9628: #0: 00000000337d9e0d (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x1d0/0x1480 fs/block_dev.c:1478 1 lock held by syz-executor.0/9695: #0: 00000000337d9e0d (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x1d0/0x1480 fs/block_dev.c:1478 2 locks held by syz-executor.0/9615: #0: 00000000337d9e0d (&bdev->bd_mutex){+.+.}, at: blkdev_reread_part+0x1b/0x40 block/ioctl.c:192 #1: 00000000371d5527 (&type->s_umount_key#49){.+.+}, at: __get_super.part.0+0x209/0x2e0 fs/super.c:698 1 lock held by systemd-udevd/9637: #0: 00000000337d9e0d (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x1d0/0x1480 fs/block_dev.c:1478 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 1566 Comm: khungtaskd Not tainted 4.19.164-syzkaller #0 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+0x1fc/0x2fe lib/dump_stack.c:118 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x1a6/0x1eb lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:203 [inline] watchdog+0x991/0xe60 kernel/hung_task.c:287 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 9611 Comm: syz-executor.0 Not tainted 4.19.164-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__lock_acquire+0x3c/0x3ff0 kernel/locking/lockdep.c:3274 Code: 89 cd 53 89 d3 48 ba 00 00 00 00 00 fc ff df 48 81 ec 98 01 00 00 48 8b 84 24 d0 01 00 00 48 c7 84 24 98 00 00 00 b3 8a b5 41 <48> c7 84 24 a0 00 00 00 28 83 b6 89 48 c7 84 24 a8 00 00 00 70 43 RSP: 0018:ffff88804b507328 EFLAGS: 00000096 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000002 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: ffffffff89f85c60 RBP: 0000000000000002 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff89f85c60 R15: 0000000000000000 FS: 00007fcbd897b700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c01d6ee2f0 CR3: 000000009dfb6000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x170/0x3c0 kernel/locking/lockdep.c:3907 rcu_lock_acquire include/linux/rcupdate.h:242 [inline] rcu_read_lock include/linux/rcupdate.h:627 [inline] find_get_entry+0xa1/0x8a0 mm/filemap.c:1451 pagecache_get_page+0x56/0xd50 mm/filemap.c:1564 find_get_page_flags include/linux/pagemap.h:278 [inline] __find_get_block_slow fs/buffer.c:206 [inline] __find_get_block+0x591/0xde0 fs/buffer.c:1295 __getblk_slow+0x14a/0x9e0 fs/buffer.c:1040 __getblk_gfp fs/buffer.c:1321 [inline] __bread_gfp+0x218/0x300 fs/buffer.c:1366 sb_bread include/linux/buffer_head.h:309 [inline] udf_tread+0xe8/0x130 fs/udf/misc.c:44 udf_read_tagged+0x4e/0x530 fs/udf/misc.c:210 udf_check_anchor_block+0x1b4/0x610 fs/udf/super.c:1820 udf_scan_anchors+0x488/0x5f0 fs/udf/super.c:1899 udf_find_anchor fs/udf/super.c:1917 [inline] udf_load_vrs+0x633/0xbf0 fs/udf/super.c:1982 udf_fill_super+0x7d2/0x181f fs/udf/super.c:2177 mount_bdev+0x2fc/0x3b0 fs/super.c:1158 mount_fs+0xa3/0x30c fs/super.c:1261 vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961 vfs_kern_mount fs/namespace.c:951 [inline] do_new_mount fs/namespace.c:2469 [inline] do_mount+0x113c/0x2f10 fs/namespace.c:2799 ksys_mount+0xcf/0x130 fs/namespace.c:3015 __do_sys_mount fs/namespace.c:3029 [inline] __se_sys_mount fs/namespace.c:3026 [inline] __x64_sys_mount+0xba/0x150 fs/namespace.c:3026 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45e219 Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fcbd897ac68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 000000000045e219 RDX: 0000000020000400 RSI: 00000000200001c0 RDI: 0000000020000240 RBP: 000000000119bfd0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000119bf8c R13: 00007fffebe2d84f R14: 00007fcbd897b9c0 R15: 000000000119bf8c