INFO: task syz.0.523:6111 blocked for more than 143 seconds. Not tainted 5.15.167-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.523 state:D stack:23760 pid: 6111 ppid: 5519 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 io_schedule+0x88/0x100 kernel/sched/core.c:8481 wait_on_page_bit_common+0xa13/0x1180 mm/filemap.c:1356 wait_on_page_bit mm/filemap.c:1417 [inline] wait_on_page_locked include/linux/pagemap.h:688 [inline] wait_on_page_read mm/filemap.c:3437 [inline] do_read_cache_page+0x9c1/0x1040 mm/filemap.c:3480 read_mapping_page include/linux/pagemap.h:515 [inline] find_target_block_classic fs/erofs/namei.c:104 [inline] erofs_namei+0x15e/0x1700 fs/erofs/namei.c:184 erofs_lookup+0x1c0/0x460 fs/erofs/namei.c:228 __lookup_slow+0x275/0x3d0 fs/namei.c:1663 lookup_slow+0x53/0x70 fs/namei.c:1680 walk_component+0x48c/0x610 fs/namei.c:1976 link_path_walk+0x642/0xd90 path_lookupat+0xa9/0x450 fs/namei.c:2454 filename_lookup+0x230/0x5c0 fs/namei.c:2484 user_path_at_empty+0x40/0x180 fs/namei.c:2883 user_path_at include/linux/namei.h:57 [inline] path_setxattr+0xae/0x2a0 fs/xattr.c:625 __do_sys_setxattr fs/xattr.c:646 [inline] __se_sys_setxattr fs/xattr.c:642 [inline] __x64_sys_setxattr+0xb7/0xd0 fs/xattr.c:642 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f855ba57ff9 RSP: 002b:00007f8559ed0038 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc RAX: ffffffffffffffda RBX: 00007f855bc0ff80 RCX: 00007f855ba57ff9 RDX: 00000000200001c0 RSI: 0000000000000000 RDI: 0000000020000180 RBP: 00007f855baca296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000386 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f855bc0ff80 R15: 00007ffc772786d8 INFO: task syz.0.523:6120 blocked for more than 144 seconds. Not tainted 5.15.167-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz.0.523 state:D stack:26880 pid: 6120 ppid: 5519 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5027 [inline] __schedule+0x12c4/0x45b0 kernel/sched/core.c:6373 schedule+0x11b/0x1f0 kernel/sched/core.c:6456 io_schedule+0x88/0x100 kernel/sched/core.c:8481 wait_on_page_bit_common+0xa13/0x1180 mm/filemap.c:1356 lock_page include/linux/pagemap.h:625 [inline] pickup_page_for_submission fs/erofs/zdata.c:1135 [inline] z_erofs_submit_queue fs/erofs/zdata.c:1306 [inline] z_erofs_runqueue+0x788/0x1a80 fs/erofs/zdata.c:1367 z_erofs_readahead+0xc9a/0x1280 fs/erofs/zdata.c:1459 read_pages+0x159/0x8e0 mm/readahead.c:130 page_cache_ra_unbounded+0x7b0/0x930 mm/readahead.c:239 do_page_cache_ra mm/readahead.c:269 [inline] force_page_cache_ra+0x378/0x3e0 mm/readahead.c:301 force_page_cache_readahead mm/internal.h:59 [inline] generic_fadvise+0x5ba/0x8b0 mm/fadvise.c:107 vfs_fadvise mm/fadvise.c:186 [inline] ksys_fadvise64_64 mm/fadvise.c:200 [inline] __do_sys_fadvise64 mm/fadvise.c:215 [inline] __se_sys_fadvise64 mm/fadvise.c:213 [inline] __x64_sys_fadvise64+0x138/0x180 mm/fadvise.c:213 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f855ba57ff9 RSP: 002b:00007f8559eaf038 EFLAGS: 00000246 ORIG_RAX: 00000000000000dd RAX: ffffffffffffffda RBX: 00007f855bc10058 RCX: 00007f855ba57ff9 RDX: 0000000000004101 RSI: 0000000000e0ffff RDI: 0000000000000004 RBP: 00007f855baca296 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f855bc10058 R15: 00007ffc772786d8 Showing all locks held in the system: 3 locks held by kworker/0:1/13: #0: ffff888028f33d38 ((wq_completion)ipv6_addrconf){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90000d27d20 ((work_completion)(&(&ifa->dad_work)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8da31d88 (rtnl_mutex){+.+.}-{3:3}, at: addrconf_dad_work+0xcc/0x1720 net/ipv6/addrconf.c:4113 7 locks held by kworker/1:0/21: #0: ffff88801c5e5538 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90000db7d20 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffff888147f2e220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #2: ffff888147f2e220 (&dev->mutex){....}-{3:3}, at: hub_event+0x208/0x54c0 drivers/usb/core/hub.c:5769 #3: ffff8880690b0220 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #3: ffff8880690b0220 (&dev->mutex){....}-{3:3}, at: usb_disconnect+0xfa/0x8c0 drivers/usb/core/hub.c:2239 #4: ffff88801c5c41a8 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #4: ffff88801c5c41a8 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1044 [inline] #4: ffff88801c5c41a8 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xc2/0x7f0 drivers/base/dd.c:1259 #5: ffff88807c395ab0 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:760 [inline] #5: ffff88807c395ab0 (&dev->mutex){....}-{3:3}, at: __device_driver_lock drivers/base/dd.c:1044 [inline] #5: ffff88807c395ab0 (&dev->mutex){....}-{3:3}, at: device_release_driver_internal+0xc2/0x7f0 drivers/base/dd.c:1259 #6: ffffffff8d53f528 (input_mutex){+.+.}-{3:3}, at: __input_unregister_device+0x10c/0x320 drivers/input/input.c:2280 1 lock held by khungtaskd/27: #0: ffffffff8c91fc60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by acpid/3014: #0: ffff88807bf78158 (&joydev->mutex){+.+.}-{3:3}, at: joydev_open_device drivers/input/joydev.c:200 [inline] #0: ffff88807bf78158 (&joydev->mutex){+.+.}-{3:3}, at: joydev_open+0x21d/0x930 drivers/input/joydev.c:272 #1: ffff88807b0e02c0 (&dev->mutex#2){+.+.}-{3:3}, at: input_open_device+0x4e/0x2d0 drivers/input/input.c:620 1 lock held by klogd/3018: #0: ffff8880b903a318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x26/0x140 kernel/sched/core.c:475 2 locks held by getty/3325: #0: ffff88814b283098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc9000208e2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1db0 drivers/tty/n_tty.c:2158 3 locks held by kworker/1:6/3618: #0: ffff888017070938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90002437d20 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffffffff8c924130 (rcu_state.barrier_mutex){+.+.}-{3:3}, at: rcu_barrier+0x9c/0x4e0 kernel/rcu/tree.c:4039 3 locks held by kworker/0:9/3660: #0: ffff888017070938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc90003187d20 ((work_completion)(&data->fib_event_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 #2: ffff888070e92240 (&data->fib_lock){+.+.}-{3:3}, at: nsim_fib_event_work+0x2cd/0x4120 drivers/net/netdevsim/fib.c:1478 2 locks held by kworker/1:9/4467: #0: ffff888017072138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 kernel/workqueue.c:2283 #1: ffffc900021f7d20 ((work_completion)(&rew.rew_work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 kernel/workqueue.c:2285 3 locks held by udevd/4707: #0: ffff888024901110 (&evdev->mutex){+.+.}-{3:3}, at: evdev_close_device drivers/input/evdev.c:411 [inline] #0: ffff888024901110 (&evdev->mutex){+.+.}-{3:3}, at: evdev_release+0x6cc/0x7c0 drivers/input/evdev.c:456 #1: ffff88807b0e02c0 (&dev->mutex#2){+.+.}-{3:3}, at: input_close_device+0x4a/0x1d0 drivers/input/input.c:690 #2: ffffffff8c924228 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #2: ffffffff8c924228 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x350/0x740 kernel/rcu/tree_exp.h:845 1 lock held by syz.0.523/6111: #0: ffff8880732bc180 (&type->i_mutex_dir_key#22){.+.+}-{3:3}, at: inode_lock_shared include/linux/fs.h:799 [inline] #0: ffff8880732bc180 (&type->i_mutex_dir_key#22){.+.+}-{3:3}, at: lookup_slow+0x45/0x70 fs/namei.c:1679 1 lock held by syz.0.523/6120: #0: ffff8880732bc320 (mapping.invalidate_lock#9){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:844 [inline] #0: ffff8880732bc320 (mapping.invalidate_lock#9){.+.+}-{3:3}, at: page_cache_ra_unbounded+0x1a6/0x930 mm/readahead.c:195 3 locks held by syz-executor/7799: #0: ffffffff8da31d88 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_lock net/core/rtnetlink.c:72 [inline] #0: ffffffff8da31d88 (rtnl_mutex){+.+.}-{3:3}, at: rtnetlink_rcv_msg+0x94c/0xee0 net/core/rtnetlink.c:5615 #1: ffff8880642fd3e8 (&wg->device_update_lock){+.+.}-{3:3}, at: wg_open+0x224/0x410 drivers/net/wireguard/device.c:49 #2: ffffffff8c924228 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:322 [inline] #2: ffffffff8c924228 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x350/0x740 kernel/rcu/tree_exp.h:845 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x46a/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x181/0x2a0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0xe72/0xeb0 kernel/hung_task.c:295 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 3011 Comm: syslogd Not tainted 5.15.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:unwind_next_frame+0xb1/0x1fa0 arch/x86/kernel/unwind_orc.c:433 Code: c0 0f 85 68 17 00 00 41 8b 07 85 c0 0f 84 4e 16 00 00 89 44 24 74 48 89 6c 24 40 4c 89 64 24 78 4c 89 74 24 50 48 89 5c 24 38 01 00 00 00 e8 b5 e2 1e 00 48 ba 00 00 00 00 00 fc ff df 49 8d RSP: 0018:ffffc900020e7408 EFLAGS: 00000202 RAX: 0000000000000001 RBX: 1ffff9200041ce98 RCX: 1ffff9200041ce9f RDX: dffffc0000000000 RSI: ffffffff8a4000ca RDI: ffffc900020e74c0 RBP: ffffc900020e74f8 R08: 000000000000000b R09: ffffc900020e75b0 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc900020e7f58 R13: ffffffff816df9a0 R14: ffffffff8a4000ca R15: ffffc900020e74c0 FS: 00007f85eeead380(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff47d3cbab8 CR3: 0000000028c76000 CR4: 00000000003506f0 DR0: 0000000000002800 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x10d/0x140 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122 kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x4b/0x80 mm/kasan/common.c:46 kasan_set_free_info+0x1f/0x40 mm/kasan/generic.c:360 ____kasan_slab_free+0xd8/0x120 mm/kasan/common.c:366 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:1705 [inline] slab_free_freelist_hook+0xdd/0x160 mm/slub.c:1731 slab_free mm/slub.c:3499 [inline] kmem_cache_free+0x91/0x1f0 mm/slub.c:3515 skb_free_datagram+0x24/0xe0 net/core/datagram.c:325 __unix_dgram_recvmsg+0xcb3/0x1260 net/unix/af_unix.c:2384 sock_recvmsg_nosec net/socket.c:966 [inline] sock_recvmsg net/socket.c:984 [inline] sock_read_iter+0x353/0x480 net/socket.c:1057 call_read_iter include/linux/fs.h:2166 [inline] new_sync_read fs/read_write.c:404 [inline] vfs_read+0xa93/0xe10 fs/read_write.c:485 ksys_read+0x1a2/0x2c0 fs/read_write.c:623 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f85ef001b6a Code: 00 3d 00 00 41 00 75 0d 50 48 8d 3d 2d 08 0a 00 e8 ea 7d 01 00 31 c0 e9 07 ff ff ff 64 8b 04 25 18 00 00 00 85 c0 75 1b 0f 05 <48> 3d 00 f0 ff ff 76 6c 48 8b 15 8f a2 0d 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffe43100698 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f85ef001b6a RDX: 00000000000000ff RSI: 0000563ea9992950 RDI: 0000000000000000 RBP: 0000563ea9992910 R08: 0000000000000001 R09: 0000000000000000 R10: 00007f85ef1a03a3 R11: 0000000000000246 R12: 0000563ea9992997 R13: 0000563ea9992950 R14: 0000000000000000 R15: 00007f85ef1dea80