Unknown ioctl 1084773153 Unknown ioctl 1084773153 INFO: task syz-executor3:8688 blocked for more than 120 seconds. Not tainted 4.17.0-rc4+ #40 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. syz-executor3 D24136 8688 4546 0x00000004 Call Trace: context_switch kernel/sched/core.c:2848 [inline] __schedule+0x801/0x1e30 kernel/sched/core.c:3490 schedule+0xef/0x430 kernel/sched/core.c:3549 __rwsem_down_read_failed_common kernel/locking/rwsem-xadd.c:269 [inline] rwsem_down_read_failed+0x400/0x6e0 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+0xbd/0x1b0 kernel/locking/rwsem.c:26 __get_super.part.12+0x20f/0x2e0 fs/super.c:685 __get_super include/linux/spinlock.h:310 [inline] get_super+0x2d/0x50 fs/super.c:714 fsync_bdev+0x17/0xc0 fs/block_dev.c:468 invalidate_partition+0x35/0x60 block/genhd.c:1581 drop_partitions.isra.12+0xdf/0x1e0 block/partition-generic.c:442 rescan_partitions+0x75/0x910 block/partition-generic.c:515 __blkdev_reread_part+0x1ad/0x230 block/ioctl.c:173 blkdev_reread_part+0x26/0x40 block/ioctl.c:193 loop_reread_partitions+0x159/0x180 drivers/block/loop.c:641 loop_set_status+0xb95/0x1010 drivers/block/loop.c:1187 loop_set_status64+0xaa/0x100 drivers/block/loop.c:1305 lo_ioctl+0x6f5/0x2130 drivers/block/loop.c:1421 __blkdev_driver_ioctl block/ioctl.c:303 [inline] blkdev_ioctl+0x9b6/0x2020 block/ioctl.c:601 block_ioctl+0xee/0x130 fs/block_dev.c:1877 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:500 [inline] do_vfs_ioctl+0x1cf/0x16a0 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+0x1b1/0x800 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x455979 RSP: 002b:00007f2980d0dc68 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f2980d0e6d4 RCX: 0000000000455979 RDX: 0000000020000040 RSI: 0000000000004c04 RDI: 0000000000000014 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000000002b4 R14: 00000000006f8180 R15: 0000000000000000 Showing all locks held in the system: 2 locks held by khungtaskd/893: #0: 00000000662cf3f0 (rcu_read_lock){....}, at: check_hung_uninterruptible_tasks kernel/hung_task.c:175 [inline] #0: 00000000662cf3f0 (rcu_read_lock){....}, at: watchdog+0x1ff/0xf60 kernel/hung_task.c:249 #1: 00000000b8760841 (tasklist_lock){.+.+}, at: debug_show_all_locks+0xde/0x34a kernel/locking/lockdep.c:4470 2 locks held by getty/4470: #0: 00000000df6ddafb (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000b2b7358a (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4471: #0: 0000000062e32235 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000006e088529 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4472: #0: 00000000e58b9fb8 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 0000000040d6a2f0 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4473: #0: 00000000d353903f (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 0000000086449fda (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4474: #0: 000000006f816d73 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000519ece88 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4475: #0: 000000003de52df4 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 00000000e8dc8330 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 2 locks held by getty/4476: #0: 000000006ea3e277 (&tty->ldisc_sem){++++}, at: ldsem_down_read+0x37/0x40 drivers/tty/tty_ldsem.c:365 #1: 000000009919d9a5 (&ldata->atomic_read_lock){+.+.}, at: n_tty_read+0x321/0x1cc0 drivers/tty/n_tty.c:2131 3 locks held by syz-executor3/8688: #0: 0000000071b658f6 (&lo->lo_ctl_mutex/1){+.+.}, at: lo_ioctl+0x8d/0x2130 drivers/block/loop.c:1391 #1: 000000005d98e157 (&bdev->bd_mutex){+.+.}, at: blkdev_reread_part+0x1e/0x40 block/ioctl.c:192 #2: 000000007f7940d7 (&type->s_umount_key#49){++++}, at: __get_super.part.12+0x20f/0x2e0 fs/super.c:685 1 lock held by syz-executor0/8753: #0: 000000005d98e157 (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x193/0x13a0 fs/block_dev.c:1460 1 lock held by blkid/8699: #0: 000000005d98e157 (&bdev->bd_mutex){+.+.}, at: __blkdev_get+0x193/0x13a0 fs/block_dev.c:1460 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 893 Comm: khungtaskd Not tainted 4.17.0-rc4+ #40 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+0x1b9/0x294 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_task kernel/hung_task.c:132 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:190 [inline] watchdog+0xc10/0xf60 kernel/hung_task.c:249 kthread+0x345/0x410 kernel/kthread.c:238 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: 8689 Comm: syz-executor0 Not tainted 4.17.0-rc4+ #40 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__read_once_size include/linux/compiler.h:188 [inline] RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:31 [inline] RIP: 0010:atomic_read include/asm-generic/atomic-instrumented.h:22 [inline] RIP: 0010:rcu_dynticks_curr_cpu_in_eqs kernel/rcu/tree.c:349 [inline] RIP: 0010:rcu_is_watching+0xcd/0x140 kernel/rcu/tree.c:1075 RSP: 0018:ffff880186ca6c10 EFLAGS: 00000202 RAX: 0000000000029882 RBX: 1ffff10030d94d83 RCX: 1ffff10030d94d87 RDX: 0000000000000004 RSI: 0000000000000004 RDI: ffff8801dae23610 RBP: ffff880186ca6ca0 R08: ffffed003b5c46c3 R09: ffffed003b5c46c2 R10: ffffed003b5c46c2 R11: ffff8801dae23613 R12: ffff880186ca6c38 R13: ffff8801dae23610 R14: ffff880186ca6c78 R15: dffffc0000000000 FS: 00007f71ea32a700(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffff600400 CR3: 00000001ad354000 CR4: 00000000001406f0 DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: rcu_read_lock_held+0x87/0xc0 kernel/rcu/update.c:329 radix_tree_deref_slot include/linux/radix-tree.h:241 [inline] find_get_entry+0x835/0xb90 mm/filemap.c:1433 pagecache_get_page+0x116/0xe20 mm/filemap.c:1541 find_or_create_page include/linux/pagemap.h:322 [inline] grow_dev_page fs/buffer.c:940 [inline] grow_buffers fs/buffer.c:1009 [inline] __getblk_slow fs/buffer.c:1036 [inline] __getblk_gfp+0x39e/0xaf0 fs/buffer.c:1313 __bread_gfp+0x2d/0x310 fs/buffer.c:1347 sb_bread include/linux/buffer_head.h:309 [inline] fat__get_entry+0x594/0xa20 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+0x134/0x280 fs/fat/dir.c:942 fat_read_root fs/fat/inode.c:1403 [inline] fat_fill_super+0x29d0/0x4400 fs/fat/inode.c:1833 vfat_fill_super+0x31/0x40 fs/fat/namei_vfat.c:1059 mount_bdev+0x30c/0x3e0 fs/super.c:1164 vfat_mount+0x34/0x40 fs/fat/namei_vfat.c:1066 mount_fs+0xae/0x328 fs/super.c:1267 vfs_kern_mount.part.34+0xd4/0x4d0 fs/namespace.c:1037 vfs_kern_mount fs/namespace.c:1027 [inline] do_new_mount fs/namespace.c:2518 [inline] do_mount+0x564/0x3070 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+0x1b1/0x800 arch/x86/entry/common.c:287 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4583aa RSP: 002b:00007f71ea329ba8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000000 RCX: 00000000004583aa RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f71ea329bf0 RBP: 0000000000000001 R08: 0000000020000240 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000013 R13: 0000000000000001 R14: 00000000006fe408 R15: 0000000000000000 Code: 80 00 00 00 48 ba 00 00 00 00 00 fc ff df 41 8b 44 24 10 4d 8d 66 c0 4c 89 e1 48 c1 e9 03 0f b6 14 11 84 d2 74 05 80 fa 03 7e 43 <49> c1 ec 03 41 89 46 c0 48 ba 00 00 00 00 00 fc ff df 41 c6 04 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.071 msecs