INFO: task khugepaged:34 blocked for more than 143 seconds. Not tainted 6.5.0-syzkaller-03967-gbd6c11bc43c4 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:khugepaged state:D stack:28032 pid:34 ppid:2 flags:0x00004000 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0xee1/0x59f0 kernel/sched/core.c:6695 schedule+0xe7/0x1b0 kernel/sched/core.c:6771 schedule_timeout+0x27a/0x2c0 kernel/time/timer.c:2143 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common+0x3e2/0x5f0 kernel/sched/completion.c:116 __flush_work+0x5d9/0xc10 kernel/workqueue.c:3389 __lru_add_drain_all+0x52c/0x740 mm/swap.c:897 khugepaged_do_scan mm/khugepaged.c:2617 [inline] khugepaged+0x117/0x1860 mm/khugepaged.c:2686 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Showing all locks held in the system: 1 lock held by khungtaskd/28: #0: ffffffff8c9a84a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6615 1 lock held by khugepaged/34: #0: ffffffff8cab9448 (lock#3){+.+.}-{3:3}, at: __lru_add_drain_all+0x69/0x740 mm/swap.c:852 1 lock held by klogd/4477: 2 locks held by getty/4785: #0: ffff88802cea2098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015972f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfcb/0x1480 drivers/tty/n_tty.c:2187 3 locks held by syz-executor.0/5046: 4 locks held by kworker/1:35/7559: 4 locks held by kworker/1:2/23102: 4 locks held by kworker/1:4/23104: 5 locks held by kworker/1:0/29869: 2 locks held by kworker/1:1/3791: 2 locks held by kworker/u4:7/7294: 4 locks held by kworker/1:6/12362: ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.5.0-syzkaller-03967-gbd6c11bc43c4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x277/0x380 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x2ac/0x310 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xfab/0x1230 kernel/hung_task.c:379 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 5046 Comm: syz-executor.0 Not tainted 6.5.0-syzkaller-03967-gbd6c11bc43c4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:unwind_next_frame+0x21/0x2020 arch/x86/kernel/unwind_orc.c:469 Code: ff ff 0f 1f 80 00 00 00 00 f3 0f 1e fa 48 b8 00 00 00 00 00 fc ff df 48 89 fa 41 57 48 c1 ea 03 41 56 41 55 49 89 fd 41 54 55 <53> 48 83 ec 38 0f b6 04 02 84 c0 74 08 3c 03 0f 8e 40 0a 00 00 41 RSP: 0018:ffffc900001e02f8 EFLAGS: 00000a06 RAX: dffffc0000000000 RBX: ffffc900001e0328 RCX: 0000000000000000 RDX: 1ffff9200003c065 RSI: ffffffff814ecfc7 RDI: ffffc900001e0328 RBP: ffffc900001e03b8 R08: ffffc900001e035c R09: ffffffff8fd92348 R10: ffffc900001e0328 R11: 0000000000093b39 R12: ffffffff81745590 R13: ffffc900001e0328 R14: 0000000000000000 R15: ffff888028333b80 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020002440 CR3: 000000002bde3000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: arch_stack_walk+0x8b/0xf0 arch/x86/kernel/stacktrace.c:25 stack_trace_save+0x96/0xd0 kernel/stacktrace.c:122 kasan_save_stack+0x33/0x50 mm/kasan/common.c:45 kasan_set_track+0x25/0x30 mm/kasan/common.c:52 kasan_save_free_info+0x2b/0x40 mm/kasan/generic.c:522 ____kasan_slab_free mm/kasan/common.c:236 [inline] ____kasan_slab_free+0x15e/0x1b0 mm/kasan/common.c:200 kasan_slab_free include/linux/kasan.h:162 [inline] slab_free_hook mm/slub.c:1792 [inline] slab_free_freelist_hook+0x10b/0x1e0 mm/slub.c:1818 slab_free mm/slub.c:3801 [inline] kmem_cache_free+0xf0/0x490 mm/slub.c:3823 kfree_skbmem+0xef/0x1b0 net/core/skbuff.c:1004 __kfree_skb net/core/skbuff.c:1062 [inline] consume_skb net/core/skbuff.c:1277 [inline] consume_skb+0xdf/0x170 net/core/skbuff.c:1271 vxcan_xmit drivers/net/can/vxcan.c:60 [inline] vxcan_xmit+0x1c9/0x840 drivers/net/can/vxcan.c:37 __netdev_start_xmit include/linux/netdevice.h:4889 [inline] netdev_start_xmit include/linux/netdevice.h:4903 [inline] xmit_one net/core/dev.c:3544 [inline] dev_hard_start_xmit+0x13d/0x6c0 net/core/dev.c:3560 __dev_queue_xmit+0x9be/0x3d80 net/core/dev.c:4340 dev_queue_xmit include/linux/netdevice.h:3082 [inline] can_send+0x543/0xb00 net/can/af_can.c:276 can_can_gw_rcv+0x74c/0xab0 net/can/gw.c:561 deliver net/can/af_can.c:572 [inline] can_rcv_filter+0x15e/0x8e0 net/can/af_can.c:599 can_receive+0x31d/0x5c0 net/can/af_can.c:663 can_rcv+0x1dc/0x270 net/can/af_can.c:687 __netif_receive_skb_one_core+0x115/0x180 net/core/dev.c:5523 __netif_receive_skb+0x1f/0x1b0 net/core/dev.c:5637 process_backlog+0x101/0x6c0 net/core/dev.c:5965 __napi_poll.constprop.0+0xb4/0x530 net/core/dev.c:6527 napi_poll net/core/dev.c:6594 [inline] net_rx_action+0x956/0xe90 net/core/dev.c:6727 __do_softirq+0x218/0x965 kernel/softirq.c:553 invoke_softirq kernel/softirq.c:427 [inline] __irq_exit_rcu kernel/softirq.c:632 [inline] irq_exit_rcu+0xb7/0x120 kernel/softirq.c:644 sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1109 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:folio_test_hugetlb+0x0/0xb0 mm/hugetlb.c:2087 Code: 41 5c e9 f3 8a b1 ff e8 ee 8a b1 ff 48 c7 c6 40 10 7a 8a 48 89 df e8 bf 4b ef ff 0f 0b 48 89 ef e8 95 ca 06 00 eb 86 0f 1f 00 0f 1e fa 55 48 89 fd 53 e8 c2 8a b1 ff 48 89 ef e8 1a fc ff ff RSP: 0018:ffffc90003987688 EFLAGS: 00000293 RAX: 0000000000000000 RBX: ffffea0001ff8dc0 RCX: 0000000000000000 RDX: ffff888028333b80 RSI: ffffffff81cd1348 RDI: ffffea0001ff8dc0 RBP: ffffea0001ff8dc0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 00000000000051c4 R12: 0000000000000000 R13: ffff88802b7f3800 R14: 0000000000000000 R15: ffffea0001ff8e18 page_remove_rmap+0xa0/0xc20 mm/rmap.c:1382 zap_pte_range mm/memory.c:1453 [inline] zap_pmd_range mm/memory.c:1570 [inline] zap_pud_range mm/memory.c:1599 [inline] zap_p4d_range mm/memory.c:1620 [inline] unmap_page_range+0x1ba1/0x32e0 mm/memory.c:1641 unmap_single_vma+0x194/0x2b0 mm/memory.c:1687 unmap_vmas+0x267/0x3c0 mm/memory.c:1726 exit_mmap+0x1a7/0x960 mm/mmap.c:3203 __mmput+0x12a/0x4d0 kernel/fork.c:1356 mmput+0x62/0x70 kernel/fork.c:1378 exit_mm kernel/exit.c:567 [inline] do_exit+0x9b4/0x2a20 kernel/exit.c:861 do_group_exit+0xd4/0x2a0 kernel/exit.c:1024 get_signal+0x23ea/0x2770 kernel/signal.c:2881 arch_do_signal_or_restart+0x89/0x5f0 arch/x86/kernel/signal.c:308 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x11f/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x60 kernel/entry/common.c:296 do_syscall_64+0x44/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fd5a3279b13 Code: Unable to access opcode bytes at 0x7fd5a3279ae9. RSP: 002b:00007ffe8a0392f8 EFLAGS: 00000246 ORIG_RAX: 0000000000000038 RAX: fffffffffffffff4 RBX: 0000000000000000 RCX: 00007fd5a3279b13 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011 RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000 R10: 000055555583f750 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000001 R15: 0000000000000001