INFO: task syz-executor.5:9821 blocked for more than 143 seconds. Not tainted 6.0.0-rc5-syzkaller-00025-g3245cb65fd91 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:27128 pid: 9821 ppid: 3645 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5182 [inline] __schedule+0x957/0xe20 kernel/sched/core.c:6494 schedule+0xcb/0x190 kernel/sched/core.c:6570 rwsem_down_write_slowpath+0xe1c/0x1390 kernel/locking/rwsem.c:1182 __down_write_common kernel/locking/rwsem.c:1297 [inline] __down_write kernel/locking/rwsem.c:1306 [inline] down_write+0x163/0x170 kernel/locking/rwsem.c:1553 inode_lock include/linux/fs.h:756 [inline] process_measurement+0x442/0x1b10 security/integrity/ima/ima_main.c:241 ima_file_check+0xe7/0x160 security/integrity/ima/ima_main.c:517 do_open fs/namei.c:3559 [inline] path_openat+0x2654/0x2e00 fs/namei.c:3691 do_filp_open+0x275/0x500 fs/namei.c:3718 do_sys_openat2+0x13b/0x500 fs/open.c:1311 do_sys_open fs/open.c:1327 [inline] __do_sys_openat fs/open.c:1343 [inline] __se_sys_openat fs/open.c:1338 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1338 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fdfd6489409 RSP: 002b:00007fdfd758b168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fdfd659bf80 RCX: 00007fdfd6489409 RDX: 0000000000004080 RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007fdfd64e4367 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd21e878ff R14: 00007fdfd758b300 R15: 0000000000022000 INFO: task syz-executor.4:9819 blocked for more than 143 seconds. Not tainted 6.0.0-rc5-syzkaller-00025-g3245cb65fd91 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:23264 pid: 9819 ppid: 3644 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5182 [inline] __schedule+0x957/0xe20 kernel/sched/core.c:6494 schedule+0xcb/0x190 kernel/sched/core.c:6570 rwsem_down_read_slowpath+0x5fe/0x950 kernel/locking/rwsem.c:1087 __down_read_common+0x54/0x2a0 kernel/locking/rwsem.c:1252 filemap_invalidate_lock_shared include/linux/fs.h:811 [inline] filemap_fault+0x2c4/0xf60 mm/filemap.c:3112 __do_fault+0x139/0x4f0 mm/memory.c:4173 do_shared_fault mm/memory.c:4573 [inline] do_fault mm/memory.c:4651 [inline] handle_pte_fault mm/memory.c:4911 [inline] __handle_mm_fault mm/memory.c:5053 [inline] handle_mm_fault+0x1be1/0x35c0 mm/memory.c:5151 faultin_page mm/gup.c:990 [inline] __get_user_pages+0x4eb/0x11b0 mm/gup.c:1219 __get_user_pages_locked mm/gup.c:1423 [inline] get_user_pages_unlocked+0x568/0x890 mm/gup.c:2289 __gup_longterm_unlocked+0x48/0x140 mm/gup.c:2886 internal_get_user_pages_fast+0xd18/0xf00 mm/gup.c:2976 __iov_iter_get_pages_alloc+0x3b4/0xa90 lib/iov_iter.c:1457 iov_iter_get_pages2+0xcb/0x120 lib/iov_iter.c:1500 __bio_iov_iter_get_pages block/bio.c:1221 [inline] bio_iov_iter_get_pages+0x366/0x1150 block/bio.c:1294 iomap_dio_bio_iter+0xcbf/0x1680 fs/iomap/direct-io.c:331 __iomap_dio_rw+0x1254/0x20e0 fs/iomap/direct-io.c:602 iomap_dio_rw+0x42/0xa0 fs/iomap/direct-io.c:690 ext4_dio_read_iter fs/ext4/file.c:79 [inline] ext4_file_read_iter+0x595/0x740 fs/ext4/file.c:130 do_iter_read+0x719/0xc50 fs/read_write.c:790 vfs_readv fs/read_write.c:910 [inline] do_preadv+0x20d/0x350 fs/read_write.c:1002 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f0d47c89409 RSP: 002b:00007f0d48e33168 EFLAGS: 00000246 ORIG_RAX: 0000000000000127 RAX: ffffffffffffffda RBX: 00007f0d47d9bf80 RCX: 00007f0d47c89409 RDX: 0000000000000003 RSI: 0000000020000900 RDI: 0000000000000004 RBP: 00007f0d47ce4367 R08: 00000000da000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcd7d1ceaf R14: 00007f0d48e33300 R15: 0000000000022000 INFO: task syz-executor.0:9822 blocked for more than 144 seconds. Not tainted 6.0.0-rc5-syzkaller-00025-g3245cb65fd91 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:27096 pid: 9822 ppid: 3641 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5182 [inline] __schedule+0x957/0xe20 kernel/sched/core.c:6494 schedule+0xcb/0x190 kernel/sched/core.c:6570 rwsem_down_write_slowpath+0xe1c/0x1390 kernel/locking/rwsem.c:1182 __down_write_common kernel/locking/rwsem.c:1297 [inline] __down_write kernel/locking/rwsem.c:1306 [inline] down_write+0x163/0x170 kernel/locking/rwsem.c:1553 inode_lock include/linux/fs.h:756 [inline] process_measurement+0x442/0x1b10 security/integrity/ima/ima_main.c:241 ima_file_check+0xe7/0x160 security/integrity/ima/ima_main.c:517 do_open fs/namei.c:3559 [inline] path_openat+0x2654/0x2e00 fs/namei.c:3691 do_filp_open+0x275/0x500 fs/namei.c:3718 do_sys_openat2+0x13b/0x500 fs/open.c:1311 do_sys_open fs/open.c:1327 [inline] __do_sys_openat fs/open.c:1343 [inline] __se_sys_openat fs/open.c:1338 [inline] __x64_sys_openat+0x243/0x290 fs/open.c:1338 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fb36fc89409 RSP: 002b:00007fb370d25168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fb36fd9bf80 RCX: 00007fb36fc89409 RDX: 0000000000004080 RSI: 0000000020000040 RDI: ffffffffffffff9c RBP: 00007fb36fce4367 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe9372dc2f R14: 00007fb370d25300 R15: 0000000000022000 INFO: task syz-executor.0:9825 blocked for more than 145 seconds. Not tainted 6.0.0-rc5-syzkaller-00025-g3245cb65fd91 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28856 pid: 9825 ppid: 3641 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5182 [inline] __schedule+0x957/0xe20 kernel/sched/core.c:6494 schedule+0xcb/0x190 kernel/sched/core.c:6570 rwsem_down_write_slowpath+0xe1c/0x1390 kernel/locking/rwsem.c:1182 __down_write_common kernel/locking/rwsem.c:1297 [inline] __down_write kernel/locking/rwsem.c:1306 [inline] down_write+0x163/0x170 kernel/locking/rwsem.c:1553 filemap_invalidate_lock include/linux/fs.h:801 [inline] blk_ioctl_zeroout block/ioctl.c:182 [inline] blkdev_common_ioctl+0x151e/0x2350 block/ioctl.c:485 blkdev_ioctl+0x2f2/0x760 block/ioctl.c:608 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fb36fc89409 RSP: 002b:00007fb370d04168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fb36fd9c050 RCX: 00007fb36fc89409 RDX: 0000000020000080 RSI: 000000000000127f RDI: 0000000000000003 RBP: 00007fb36fce4367 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe9372dc2f R14: 00007fb370d04300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8cd20a70 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by rcu_tasks_trace/13: #0: ffffffff8cd21270 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x30/0xd00 kernel/rcu/tasks.h:507 1 lock held by khungtaskd/28: #0: ffffffff8cd208a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by udevd/2972: 2 locks held by getty/3285: #0: ffff8880211de098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc90002d232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6e8/0x1e50 drivers/tty/n_tty.c:2177 2 locks held by syz-executor.3/9804: 1 lock held by syz-executor.5/9821: #0: ffff8880740d5440 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #0: ffff8880740d5440 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: process_measurement+0x442/0x1b10 security/integrity/ima/ima_main.c:241 3 locks held by syz-executor.4/9819: #0: ffff8880740d5440 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:766 [inline] #0: ffff8880740d5440 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: ext4_dio_read_iter fs/ext4/file.c:63 [inline] #0: ffff8880740d5440 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: ext4_file_read_iter+0x26b/0x740 fs/ext4/file.c:130 #1: ffff888077e7f128 (&mm->mmap_lock#2){++++}-{3:3}, at: mmap_read_lock_killable include/linux/mmap_lock.h:126 [inline] #1: ffff888077e7f128 (&mm->mmap_lock#2){++++}-{3:3}, at: __get_user_pages_locked mm/gup.c:1474 [inline] #1: ffff888077e7f128 (&mm->mmap_lock#2){++++}-{3:3}, at: get_user_pages_unlocked+0x3d6/0x890 mm/gup.c:2289 #2: ffff888140d4d5c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:811 [inline] #2: ffff888140d4d5c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_fault+0x2c4/0xf60 mm/filemap.c:3112 1 lock held by syz-executor.0/9822: #0: ffff8880740d5440 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #0: ffff8880740d5440 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: process_measurement+0x442/0x1b10 security/integrity/ima/ima_main.c:241 1 lock held by syz-executor.0/9825: #0: ffff888140d4d5c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:801 [inline] #0: ffff888140d4d5c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blk_ioctl_zeroout block/ioctl.c:182 [inline] #0: ffff888140d4d5c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_common_ioctl+0x151e/0x2350 block/ioctl.c:485 2 locks held by syz-fuzzer/9858: #0: ffff88807e518c08 (&sig->cred_guard_mutex){+.+.}-{3:3}, at: prepare_bprm_creds fs/exec.c:1477 [inline] #0: ffff88807e518c08 (&sig->cred_guard_mutex){+.+.}-{3:3}, at: bprm_execve+0xc7/0x1590 fs/exec.c:1812 #1: ffff8880740d5440 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline] #1: ffff8880740d5440 (&sb->s_type->i_mutex_key#7){++++}-{3:3}, at: process_measurement+0x442/0x1b10 security/integrity/ima/ima_main.c:241 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.0.0-rc5-syzkaller-00025-g3245cb65fd91 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x47c/0x4b0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x169/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline] watchdog+0xcd5/0xd20 kernel/hung_task.c:369 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 9804 Comm: syz-executor.3 Not tainted 6.0.0-rc5-syzkaller-00025-g3245cb65fd91 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 RIP: 0010:lock_is_held_type+0x4e/0x190 kernel/locking/lockdep.c:5702 Code: 72 ec 03 00 0f 84 0d 01 00 00 65 8b 05 2b 0b c9 75 85 c0 0f 85 fe 00 00 00 65 4c 8b 2c 25 00 6f 02 00 41 83 bd 74 0a 00 00 00 <0f> 85 e7 00 00 00 41 89 f6 49 89 ff 48 c7 04 24 00 00 00 00 9c 8f RSP: 0018:ffffc90015097498 EFLAGS: 00000246 RAX: 0000000000000000 RBX: 1ffff92002a12e9c RCX: 0000000080000001 RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffffffff8cd20820 RBP: 00000000ffffffff R08: dffffc0000000000 R09: fffffbfff1c4b58e R10: fffffbfff1c4b58e R11: 1ffffffff1c4b58d R12: dffffc0000000000 R13: ffff88808b5cd880 R14: dffffc0000000000 R15: 0000000000000000 FS: 0000555555a39400(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055ced0e93918 CR3: 00000000754a7000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_is_held include/linux/lockdep.h:283 [inline] rcu_read_lock_sched_held+0x89/0x130 kernel/rcu/update.c:125 trace_lock_release+0x7b/0x1a0 include/trace/events/lock.h:69 lock_release+0x81/0x870 kernel/locking/lockdep.c:5677 might_alloc include/linux/sched/mm.h:271 [inline] prepare_alloc_pages+0x145/0x5a0 mm/page_alloc.c:5285 __alloc_pages+0x161/0x560 mm/page_alloc.c:5504 folio_alloc+0x1a/0x50 mm/mempolicy.c:2280 filemap_alloc_folio+0x7e/0x1c0 mm/filemap.c:970 page_cache_ra_unbounded+0x202/0x640 mm/readahead.c:242 do_sync_mmap_readahead+0x76d/0x960 mm/filemap.c:3028 filemap_fault+0x344/0xf60 mm/filemap.c:3120 __do_fault+0x139/0x4f0 mm/memory.c:4173 do_shared_fault mm/memory.c:4573 [inline] do_fault mm/memory.c:4651 [inline] handle_pte_fault mm/memory.c:4911 [inline] __handle_mm_fault mm/memory.c:5053 [inline] handle_mm_fault+0x1be1/0x35c0 mm/memory.c:5151 do_user_addr_fault+0x69b/0xcb0 arch/x86/mm/fault.c:1397 handle_page_fault arch/x86/mm/fault.c:1488 [inline] exc_page_fault+0x7a/0x120 arch/x86/mm/fault.c:1544 asm_exc_page_fault+0x22/0x30 RIP: 0033:0x7fdb92c84816 Code: 82 63 01 00 00 48 89 d1 f3 a4 c3 80 fa 08 73 12 80 fa 04 73 1e 80 fa 01 77 26 72 05 0f b6 0e 88 0f c3 48 8b 4c 16 f8 48 8b 36 <48> 89 4c 17 f8 48 89 37 c3 8b 4c 16 fc 8b 36 89 4c 17 fc 89 37 c3 RSP: 002b:00007ffc94029f48 EFLAGS: 00010246 RAX: 0000000020000140 RBX: 0000000000000000 RCX: 0030656c69662f2e RDX: 0000000000000008 RSI: 0030656c69662f2e RDI: 0000000020000140 RBP: 00007ffc9402a008 R08: 00007fdb931a0000 R09: 00007fdb92da0580 R10: 00007ffc9402a030 R11: 0000000000000246 R12: 000000000014222d R13: 00007ffc9402a030 R14: 00007fdb92d9bf80 R15: 0000000000000032