INFO: task syz.0.590:7425 blocked for more than 163 seconds. Not tainted 6.11.0-rc3-syzkaller-00007-gd74da846046a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.590 state:D stack:24672 pid:7425 tgid:7425 ppid:5225 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752 eventpoll_release_file+0xcb/0x1c0 fs/eventpoll.c:1106 eventpoll_release include/linux/eventpoll.h:53 [inline] __fput+0x6e0/0x8a0 fs/file_table.c:413 task_work_run+0x24f/0x310 kernel/task_work.c:228 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop kernel/entry/common.c:114 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x168/0x370 kernel/entry/common.c:218 do_syscall_64+0x100/0x230 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fcf4b1799f9 RSP: 002b:00007ffc34b51ff8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007fcf4b317a80 RCX: 00007fcf4b1799f9 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007fcf4b317a80 R08: 0000000000000006 R09: 00007ffc34b522df R10: 00000000003ffd40 R11: 0000000000000246 R12: 0000000000044302 R13: 00007ffc34b520f0 R14: 00007ffc34b52110 R15: ffffffffffffffff INFO: task syz.0.590:7426 blocked for more than 164 seconds. Not tainted 6.11.0-rc3-syzkaller-00007-gd74da846046a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.590 state:D stack:25208 pid:7426 tgid:7425 ppid:5225 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678 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:854 [inline] page_cache_ra_unbounded+0xf7/0x7f0 mm/readahead.c:225 do_sync_mmap_readahead+0x49c/0x970 filemap_fault+0x828/0x1760 mm/filemap.c:3314 __do_fault+0x135/0x460 mm/memory.c:4655 do_cow_fault mm/memory.c:5091 [inline] do_fault mm/memory.c:5193 [inline] do_pte_missing mm/memory.c:3947 [inline] handle_pte_fault+0xda8/0x6eb0 mm/memory.c:5522 __handle_mm_fault mm/memory.c:5665 [inline] handle_mm_fault+0xf70/0x1880 mm/memory.c:5833 do_user_addr_fault arch/x86/mm/fault.c:1389 [inline] handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x2b9/0x8c0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0010:__put_user_nocheck_4+0x7/0x20 arch/x86/lib/putuser.S:97 Code: d9 0f 01 cb 89 01 31 c9 0f 01 ca c3 cc cc cc cc 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 0f 01 cb <89> 01 31 c9 0f 01 ca c3 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 RSP: 0018:ffffc9000a85fb38 EFLAGS: 00050246 RAX: 0000000000000001 RBX: ffff88802ddb612c RCX: 0000000020000200 RDX: ffff888021509e00 RSI: 0000000000000001 RDI: 0000000000000000 RBP: ffffc9000a85fdb8 R08: ffffffff821eab66 R09: 1ffff110045519eb R10: dffffc0000000000 R11: ffffed10045519ec R12: 0000000020000200 R13: 0000000000000000 R14: 0000000000000001 R15: 1ffff11005bb6c25 epoll_put_uevent include/linux/eventpoll.h:81 [inline] ep_send_events fs/eventpoll.c:1876 [inline] ep_poll fs/eventpoll.c:2005 [inline] do_epoll_wait+0xe3a/0x2040 fs/eventpoll.c:2464 do_epoll_pwait+0x56/0x1e0 fs/eventpoll.c:2498 __do_sys_epoll_pwait fs/eventpoll.c:2511 [inline] __se_sys_epoll_pwait fs/eventpoll.c:2505 [inline] __x64_sys_epoll_pwait+0x2b8/0x310 fs/eventpoll.c:2505 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fcf4b1799f9 RSP: 002b:00007fcf4beed038 EFLAGS: 00000246 ORIG_RAX: 0000000000000119 RAX: ffffffffffffffda RBX: 00007fcf4b315f80 RCX: 00007fcf4b1799f9 RDX: 0000000000000001 RSI: 0000000020000200 RDI: 0000000000000006 RBP: 00007fcf4b1e78ee R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fcf4b315f80 R15: 00007ffc34b51e98 INFO: task syz.2.622:7537 blocked for more than 165 seconds. Not tainted 6.11.0-rc3-syzkaller-00007-gd74da846046a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.2.622 state:D stack:24672 pid:7537 tgid:7537 ppid:6729 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5188 [inline] __schedule+0x17ae/0x4a10 kernel/sched/core.c:6529 __schedule_loop kernel/sched/core.c:6606 [inline] schedule+0x14b/0x320 kernel/sched/core.c:6621 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6678 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:854 [inline] page_cache_ra_unbounded+0xf7/0x7f0 mm/readahead.c:225 do_sync_mmap_readahead+0x49c/0x970 filemap_fault+0x828/0x1760 mm/filemap.c:3314 __do_fault+0x135/0x460 mm/memory.c:4655 do_shared_fault mm/memory.c:5121 [inline] do_fault mm/memory.c:5195 [inline] do_pte_missing mm/memory.c:3947 [inline] handle_pte_fault+0x1164/0x6eb0 mm/memory.c:5522 __handle_mm_fault mm/memory.c:5665 [inline] handle_mm_fault+0xf70/0x1880 mm/memory.c:5833 do_user_addr_fault arch/x86/mm/fault.c:1338 [inline] handle_page_fault arch/x86/mm/fault.c:1481 [inline] exc_page_fault+0x459/0x8c0 arch/x86/mm/fault.c:1539 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:623 RIP: 0033:0x7f83da440ed3 RSP: 002b:00007ffec2990df0 EFLAGS: 00010246 RAX: 0000000020002140 RBX: 0000000000000008 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00005555656653c8 RBP: 00007ffec2990f00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000032 R13: 00007ffec2990f20 R14: 00007ffec2990f40 R15: fffffffffffffffe Showing all locks held in the system: 1 lock held by khungtaskd/30: #0: ffffffff8e7382e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:326 [inline] #0: ffffffff8e7382e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:838 [inline] #0: ffffffff8e7382e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6626 3 locks held by kworker/u8:3/52: #0: ffff888015489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3206 [inline] #0: ffff888015489148 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_scheduled_works+0x90a/0x1830 kernel/workqueue.c:3312 #1: ffffc90000bc7d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3207 [inline] #1: ffffc90000bc7d00 ((linkwatch_work).work){+.+.}-{0:0}, at: process_scheduled_works+0x945/0x1830 kernel/workqueue.c:3312 #2: ffffffff8fa6fe48 (rtnl_mutex){+.+.}-{3:3}, at: linkwatch_event+0xe/0x60 net/core/link_watch.c:276 2 locks held by getty/4975: #0: ffff88802b0e40a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ac/0x1e00 drivers/tty/n_tty.c:2211 2 locks held by syz.2.381/6594: 2 locks held by kworker/u8:12/6643: 1 lock held by syz.0.590/7425: #0: ffff88802c291c68 (&ep->mtx){+.+.}-{3:3}, at: eventpoll_release_file+0xcb/0x1c0 fs/eventpoll.c:1106 2 locks held by syz.0.590/7426: #0: ffff88802c291c68 (&ep->mtx){+.+.}-{3:3}, at: ep_send_events fs/eventpoll.c:1835 [inline] #0: ffff88802c291c68 (&ep->mtx){+.+.}-{3:3}, at: ep_poll fs/eventpoll.c:2005 [inline] #0: ffff88802c291c68 (&ep->mtx){+.+.}-{3:3}, at: do_epoll_wait+0x7c7/0x2040 fs/eventpoll.c:2464 #1: ffff88801d9570c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:854 [inline] #1: ffff88801d9570c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: page_cache_ra_unbounded+0xf7/0x7f0 mm/readahead.c:225 1 lock held by syz.2.622/7537: #0: ffff88801d9570c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:854 [inline] #0: ffff88801d9570c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: page_cache_ra_unbounded+0xf7/0x7f0 mm/readahead.c:225 2 locks held by syz.1.721/7862: #0: ffff88802058a2f8 (&vma->vm_lock->lock){++++}-{3:3}, at: vma_start_read include/linux/mm.h:690 [inline] #0: ffff88802058a2f8 (&vma->vm_lock->lock){++++}-{3:3}, at: lock_vma_under_rcu+0x2f9/0x6e0 mm/memory.c:5999 #1: ffff88801d9570c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:854 [inline] #1: ffff88801d9570c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_fault+0xb5b/0x1760 mm/filemap.c:3321 4 locks held by syz.1.721/7863: #0: ffff88802b2180b0 (&vcpu->mutex){+.+.}-{3:3}, at: kvm_vcpu_ioctl+0x1dd/0xea0 virt/kvm/kvm_main.c:4460 #1: ffffc9001ed1a8c8 (&kvm->srcu){.+.+}-{0:0}, at: srcu_lock_release include/linux/srcu.h:157 [inline] #1: ffffc9001ed1a8c8 (&kvm->srcu){.+.+}-{0:0}, at: srcu_read_unlock include/linux/srcu.h:322 [inline] #1: ffffc9001ed1a8c8 (&kvm->srcu){.+.+}-{0:0}, at: kvm_vcpu_srcu_read_unlock include/linux/kvm_host.h:934 [inline] #1: ffffc9001ed1a8c8 (&kvm->srcu){.+.+}-{0:0}, at: vcpu_enter_guest arch/x86/kvm/x86.c:11034 [inline] #1: ffffc9001ed1a8c8 (&kvm->srcu){.+.+}-{0:0}, at: vcpu_run+0x5663/0x88b0 arch/x86/kvm/x86.c:11314 #2: ffff88802f6a9498 (&mm->mmap_lock){++++}-{3:3}, at: mmap_read_lock_killable include/linux/mmap_lock.h:153 [inline] #2: ffff88802f6a9498 (&mm->mmap_lock){++++}-{3:3}, at: __get_user_pages_locked mm/gup.c:1735 [inline] #2: ffff88802f6a9498 (&mm->mmap_lock){++++}-{3:3}, at: get_user_pages_unlocked+0x14f/0x9d0 mm/gup.c:2694 #3: ffff88801d9570c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:854 [inline] #3: ffff88801d9570c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_fault+0xb5b/0x1760 mm/filemap.c:3321 1 lock held by syz.3.782/8053: #0: ffff88801d9570c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:854 [inline] #0: ffff88801d9570c0 (mapping.invalidate_lock#2){++++}-{3:3}, at: page_cache_ra_unbounded+0xf7/0x7f0 mm/readahead.c:225 2 locks held by syz.2.1138/9192: #0: ffffffff8fa6fe48 (rtnl_mutex){+.+.}-{3:3}, at: tun_detach drivers/net/tun.c:698 [inline] #0: ffffffff8fa6fe48 (rtnl_mutex){+.+.}-{3:3}, at: tun_chr_close+0x3e/0x1b0 drivers/net/tun.c:3510 #1: ffffffff8e73d6b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:296 [inline] #1: ffffffff8e73d6b8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x381/0x830 kernel/rcu/tree_exp.h:958 1 lock held by syz.0.1153/9225: #0: ffffffff8fa6fe48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #0: ffffffff8fa6fe48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6644 1 lock held by syz.3.1154/9227: #0: ffff888020618868 (&pipe->mutex){+.+.}-{3:3}, at: pipe_write+0xd60/0x1a40 fs/pipe.c:580 2 locks held by syz.3.1154/9228: #0: ffff888020618868 (&pipe->mutex){+.+.}-{3:3}, at: splice_to_socket+0xee/0x10b0 fs/splice.c:809 #1: ffffffff8fa6fe48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:79 [inline] #1: ffffffff8fa6fe48 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x6e6/0xcf0 net/core/rtnetlink.c:6644 ============================================= NMI backtrace for cpu 1 CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.11.0-rc3-syzkaller-00007-gd74da846046a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Call Trace: __dump_stack lib/dump_stack.c:93 [inline] dump_stack_lvl+0x241/0x360 lib/dump_stack.c:119 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:162 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline] watchdog+0xfee/0x1030 kernel/hung_task.c:379 kthread+0x2f0/0x390 kernel/kthread.c:389 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 UID: 0 PID: 2499 Comm: kworker/u8:8 Not tainted 6.11.0-rc3-syzkaller-00007-gd74da846046a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:trace_lock_acquire include/trace/events/lock.h:24 [inline] RIP: 0010:lock_acquire+0xdc/0x550 kernel/locking/lockdep.c:5730 Code: 08 0f 83 f4 02 00 00 89 c3 48 89 d8 48 c1 e8 06 48 8d 3c c5 28 a2 f6 8f be 08 00 00 00 e8 5c de 87 00 48 0f a3 1d 9c e6 86 0e <73> 16 e8 7d f5 09 00 84 c0 75 0d 80 3d c9 ba 70 0e 00 0f 84 f9 02 RSP: 0018:ffffc900093179e0 EFLAGS: 00000257 RAX: 0000000000000001 RBX: 0000000000000000 RCX: ffffffff816fbb84 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8ff6a228 RBP: ffffc90009317b40 R08: ffffffff8ff6a22f R09: 1ffffffff1fed445 R10: dffffc0000000000 R11: fffffbfff1fed446 R12: 1ffff92001262f44 R13: dffffc0000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fca7bee8178 CR3: 0000000022d44000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000002 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rcu_lock_acquire include/linux/rcupdate.h:326 [inline] rcu_read_lock include/linux/rcupdate.h:838 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0xec/0x610 net/batman-adv/network-coding.c:719 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0xa2c/0x1830 kernel/workqueue.c:3312 worker_thread+0x86d/0xd40 kernel/workqueue.c:3390 kthread+0x2f0/0x390 kernel/kthread.c:389 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244