INFO: task syz-executor.2:8562 blocked for more than 143 seconds. Not tainted 6.9.0-rc5-syzkaller-00159-gc942a0cd3603 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:26448 pid:8562 tgid:8561 ppid:7641 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x1796/0x4a00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 rwsem_down_read_slowpath kernel/locking/rwsem.c:1086 [inline] __down_read_common kernel/locking/rwsem.c:1250 [inline] __down_read kernel/locking/rwsem.c:1263 [inline] down_read+0x705/0xa40 kernel/locking/rwsem.c:1528 filemap_invalidate_lock_shared include/linux/fs.h:850 [inline] page_cache_ra_unbounded+0xfb/0x7a0 mm/readahead.c:225 page_cache_sync_readahead include/linux/pagemap.h:1300 [inline] filemap_get_pages+0x49d/0x2090 mm/filemap.c:2505 filemap_read+0x457/0xfa0 mm/filemap.c:2601 blkdev_read_iter+0x2df/0x440 block/fops.c:754 call_read_iter include/linux/fs.h:2104 [inline] new_sync_read fs/read_write.c:395 [inline] vfs_read+0x97b/0xb70 fs/read_write.c:476 ksys_pread64 fs/read_write.c:671 [inline] __do_sys_pread64 fs/read_write.c:681 [inline] __se_sys_pread64 fs/read_write.c:678 [inline] __x64_sys_pread64+0x1aa/0x230 fs/read_write.c:678 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fdf2367dea9 RSP: 002b:00007fdf231ff0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000011 RAX: ffffffffffffffda RBX: 00007fdf237abf80 RCX: 00007fdf2367dea9 RDX: 000000000000006f RSI: 00000000200000c0 RDI: 0000000000000005 RBP: 00007fdf236ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fdf237abf80 R15: 00007ffc8c796c08 INFO: task syz-executor.2:8563 blocked for more than 143 seconds. Not tainted 6.9.0-rc5-syzkaller-00159-gc942a0cd3603 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28920 pid:8563 tgid:8561 ppid:7641 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0x1796/0x4a00 kernel/sched/core.c:6746 __schedule_loop kernel/sched/core.c:6823 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6838 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895 rwsem_down_write_slowpath+0xeeb/0x13b0 kernel/locking/rwsem.c:1178 __down_write_common+0x1af/0x200 kernel/locking/rwsem.c:1306 filemap_invalidate_lock include/linux/fs.h:840 [inline] blkdev_fallocate+0x233/0x550 block/fops.c:797 vfs_fallocate+0x564/0x6c0 fs/open.c:330 ksys_fallocate fs/open.c:353 [inline] __do_sys_fallocate fs/open.c:361 [inline] __se_sys_fallocate fs/open.c:359 [inline] __x64_sys_fallocate+0xbd/0x110 fs/open.c:359 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fdf2367dea9 RSP: 002b:00007fdf231de0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007fdf237ac050 RCX: 00007fdf2367dea9 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000004 RBP: 00007fdf236ca4a4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000050000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fdf237ac050 R15: 00007ffc8c796c08 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8e334d20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline] #0: ffffffff8e334d20 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline] #0: ffffffff8e334d20 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614 5 locks held by kworker/u8:6/1091: 3 locks held by kworker/u8:7/1098: #0: ffff888019bd3948 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline] #0: ffff888019bd3948 ((wq_completion)iou_exit){+.+.}-{0:0}, at: process_scheduled_works+0x8e0/0x17c0 kernel/workqueue.c:3335 #1: ffffc90004b2fd00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline] #1: ffffc90004b2fd00 ((work_completion)(&ctx->exit_work)){+.+.}-{0:0}, at: process_scheduled_works+0x91b/0x17c0 kernel/workqueue.c:3335 #2: ffffffff8e33a0b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:291 [inline] #2: ffffffff8e33a0b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x39a/0x820 kernel/rcu/tree_exp.h:939 2 locks held by getty/4820: #0: ffff88802ac330a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f162f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201 1 lock held by syz-executor.4/8128: 1 lock held by syz-executor.2/8562: #0: ffff88801d4ab748 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:850 [inline] #0: ffff88801d4ab748 (mapping.invalidate_lock#2){++++}-{3:3}, at: page_cache_ra_unbounded+0xfb/0x7a0 mm/readahead.c:225 1 lock held by syz-executor.2/8563: #0: ffff88801d4ab748 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:840 [inline] #0: ffff88801d4ab748 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x233/0x550 block/fops.c:797 1 lock held by syz-executor.2/9417: 2 locks held by syz-executor.4/10502: 1 lock held by syz-executor.0/10518: 2 locks held by syz-executor.0/10563: 2 locks held by syz-executor.1/10562: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.9.0-rc5-syzkaller-00159-gc942a0cd3603 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114 nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xfde/0x1020 kernel/hung_task.c:380 kthread+0x2f0/0x390 kernel/kthread.c:388 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 8529 Comm: udevd Not tainted 6.9.0-rc5-syzkaller-00159-gc942a0cd3603 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:unwind_next_frame+0x160/0x2a00 arch/x86/kernel/unwind_orc.c:494 Code: df e9 2d 1a 00 00 e8 bf bf 54 00 e9 5e 1a 00 00 e8 b5 bf 54 00 eb 05 e8 ae bf 54 00 49 89 ec 48 8d 55 35 48 89 d0 48 c1 e8 03 <49> be 00 00 00 00 00 fc ff df 48 89 44 24 78 42 0f b6 04 30 84 c0 RSP: 0018:ffffc9000a10ef28 EFLAGS: 00000a07 RAX: 1ffff92001421e06 RBX: 0000000000000000 RCX: ffff888022093c00 RDX: ffffc9000a10f035 RSI: 0000000000000001 RDI: ffffffff81414031 RBP: ffffc9000a10f000 R08: ffffffff81414011 R09: ffffc9000a10f0f0 R10: 0000000000000003 R11: ffffffff8181dfb0 R12: ffffc9000a10f000 R13: ffffc9000a10f050 R14: 0000000000000001 R15: ffffffff8206fec7 FS: 00007f2ea834dc80(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f26a9d2cf00 CR3: 000000006c30c000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x151/0x1b0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:47 [inline] kasan_save_track+0x3f/0x80 mm/kasan/common.c:68 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:579 poison_slab_object+0xa6/0xe0 mm/kasan/common.c:240 __kasan_slab_free+0x37/0x60 mm/kasan/common.c:256 kasan_slab_free include/linux/kasan.h:184 [inline] slab_free_hook mm/slub.c:2106 [inline] slab_free mm/slub.c:4280 [inline] kfree+0x153/0x3a0 mm/slub.c:4390 dump_common_audit_data security/lsm_audit.c:224 [inline] common_lsm_audit+0x806/0x1b30 security/lsm_audit.c:458 smack_log+0x421/0x540 security/smack/smack_access.c:383 smk_tskacc+0x300/0x370 security/smack/smack_access.c:253 smack_file_open+0x239/0x2b0 security/smack/smack_lsm.c:2021 security_file_open+0x69/0x570 security/security.c:2961 do_dentry_open+0x327/0x15a0 fs/open.c:942 do_open fs/namei.c:3642 [inline] path_openat+0x2860/0x3240 fs/namei.c:3799 do_filp_open+0x235/0x490 fs/namei.c:3826 do_sys_openat2+0x13e/0x1d0 fs/open.c:1406 do_sys_open fs/open.c:1421 [inline] __do_sys_openat fs/open.c:1437 [inline] __se_sys_openat fs/open.c:1432 [inline] __x64_sys_openat+0x247/0x2a0 fs/open.c:1432 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2ea7f169a4 Code: 24 20 48 8d 44 24 30 48 89 44 24 28 64 8b 04 25 18 00 00 00 85 c0 75 2c 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 76 60 48 8b 15 55 a4 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffe25d5e820 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007f2ea7f169a4 RDX: 0000000000080000 RSI: 00007ffe25d5e958 RDI: 00000000ffffff9c RBP: 00007ffe25d5e958 R08: 0000000000000008 R09: 0000000000000001 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000080000 R13: 0000559a2c700b42 R14: 0000000000000001 R15: 0000559a2c71c160