INFO: task syz-executor112:3645 blocked for more than 143 seconds. Not tainted 6.1.0-rc7-syzkaller-00159-ga1e9185d20b5 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor112 state:D stack:26712 pid:3645 ppid:3639 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5209 [inline] __schedule+0x8fc/0xda0 kernel/sched/core.c:6521 schedule+0xcb/0x190 kernel/sched/core.c:6597 rwsem_down_write_slowpath+0xfdc/0x14a0 kernel/locking/rwsem.c:1190 __down_write_common kernel/locking/rwsem.c:1305 [inline] __down_write kernel/locking/rwsem.c:1314 [inline] down_write+0x231/0x270 kernel/locking/rwsem.c:1563 filemap_invalidate_lock include/linux/fs.h:801 [inline] blkdev_fallocate+0x21f/0x390 block/fops.c:641 vfs_fallocate+0x515/0x670 fs/open.c:323 ksys_fallocate fs/open.c:346 [inline] __do_sys_fallocate fs/open.c:354 [inline] __se_sys_fallocate fs/open.c:352 [inline] __x64_sys_fallocate+0xb9/0x100 fs/open.c:352 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:0x7f3aaaf68e09 RSP: 002b:00007fff08738568 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007f3aaaf68e09 RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: 00400000000000a2 R11: 0000000000000246 R12: 00007f3aaaf2c5e0 R13: 0000000000000000 R14: 00007fff08738590 R15: 00007fff08738580 INFO: task syz-executor112:3647 blocked for more than 143 seconds. Not tainted 6.1.0-rc7-syzkaller-00159-ga1e9185d20b5 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor112 state:D stack:27240 pid:3647 ppid:3643 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5209 [inline] __schedule+0x8fc/0xda0 kernel/sched/core.c:6521 schedule+0xcb/0x190 kernel/sched/core.c:6597 rwsem_down_write_slowpath+0xfdc/0x14a0 kernel/locking/rwsem.c:1190 __down_write_common kernel/locking/rwsem.c:1305 [inline] __down_write kernel/locking/rwsem.c:1314 [inline] down_write+0x231/0x270 kernel/locking/rwsem.c:1563 filemap_invalidate_lock include/linux/fs.h:801 [inline] blkdev_fallocate+0x21f/0x390 block/fops.c:641 vfs_fallocate+0x515/0x670 fs/open.c:323 ksys_fallocate fs/open.c:346 [inline] __do_sys_fallocate fs/open.c:354 [inline] __se_sys_fallocate fs/open.c:352 [inline] __x64_sys_fallocate+0xb9/0x100 fs/open.c:352 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:0x7f3aaaf68e09 RSP: 002b:00007fff08738568 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007f3aaaf68e09 RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: 00400000000000a2 R11: 0000000000000246 R12: 00007f3aaaf2c5e0 R13: 0000000000000000 R14: 00007fff08738590 R15: 00007fff08738580 INFO: task syz-executor112:3665 blocked for more than 143 seconds. Not tainted 6.1.0-rc7-syzkaller-00159-ga1e9185d20b5 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor112 state:D stack:25632 pid:3665 ppid:3636 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5209 [inline] __schedule+0x8fc/0xda0 kernel/sched/core.c:6521 schedule+0xcb/0x190 kernel/sched/core.c:6597 rwsem_down_write_slowpath+0xfdc/0x14a0 kernel/locking/rwsem.c:1190 __down_write_common kernel/locking/rwsem.c:1305 [inline] __down_write kernel/locking/rwsem.c:1314 [inline] down_write+0x231/0x270 kernel/locking/rwsem.c:1563 filemap_invalidate_lock include/linux/fs.h:801 [inline] blkdev_fallocate+0x21f/0x390 block/fops.c:641 vfs_fallocate+0x515/0x670 fs/open.c:323 ksys_fallocate fs/open.c:346 [inline] __do_sys_fallocate fs/open.c:354 [inline] __se_sys_fallocate fs/open.c:352 [inline] __x64_sys_fallocate+0xb9/0x100 fs/open.c:352 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:0x7f3aaaf68e09 RSP: 002b:00007fff08738568 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00000000000f4240 RCX: 00007f3aaaf68e09 RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: 00400000000000a2 R11: 0000000000000246 R12: 000000000000e597 R13: 00007fff0873857c R14: 00007fff08738590 R15: 00007fff08738580 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8d323fb0 (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: ffffffff8d3247b0 (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: ffffffff8d323de0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3313: #0: ffff88814b369098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc900031262f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6e8/0x1e50 drivers/tty/n_tty.c:2177 1 lock held by syz-executor112/3645: #0: ffff888140cdbfc0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:801 [inline] #0: ffff888140cdbfc0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x21f/0x390 block/fops.c:641 1 lock held by syz-executor112/3646: 1 lock held by syz-executor112/3647: #0: ffff888140cdbfc0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:801 [inline] #0: ffff888140cdbfc0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x21f/0x390 block/fops.c:641 1 lock held by syz-executor112/3665: #0: ffff888140cdbfc0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:801 [inline] #0: ffff888140cdbfc0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x21f/0x390 block/fops.c:641 1 lock held by syz-executor112/3666: #0: ffff888140cdbfc0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:801 [inline] #0: ffff888140cdbfc0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x21f/0x390 block/fops.c:641 1 lock held by syz-executor112/3673: #0: ffff888140cdbfc0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:801 [inline] #0: ffff888140cdbfc0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x21f/0x390 block/fops.c:641 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.1.0-rc7-syzkaller-00159-ga1e9185d20b5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/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+0x4e3/0x560 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x19b/0x3e0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xcf5/0xd40 kernel/hung_task.c:377 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 2986 Comm: klogd Not tainted 6.1.0-rc7-syzkaller-00159-ga1e9185d20b5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:PageBuddy include/linux/page-flags.h:973 [inline] RIP: 0010:page_is_buddy mm/internal.h:274 [inline] RIP: 0010:find_buddy_page_pfn+0x70/0x1f0 mm/internal.h:339 Code: 08 48 89 ef e8 71 99 0b 00 48 89 5d 00 4b 8d 6c 2c 30 48 89 e8 48 c1 e8 03 42 8a 04 38 84 c0 0f 85 ef 00 00 00 b8 80 00 00 f0 <23> 45 00 3d 00 00 00 f0 0f 85 cb 00 00 00 4b 8d 6c 2c 28 48 89 e8 RSP: 0018:ffffc90002f6f408 EFLAGS: 00010046 RAX: 00000000f0000080 RBX: 0000000000031a00 RCX: 0000000000000009 RDX: 0000000000000009 RSI: 0000000000031800 RDI: ffffea0000c60000 RBP: ffffea0000c68030 R08: dffffc0000000000 R09: fffff9400018c007 R10: fffff9400018c007 R11: 1ffffd400018c006 R12: ffffea0000c60000 R13: 0000000000008000 R14: 0000000000000009 R15: dffffc0000000000 FS: 00007f6c5db63800(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055555653c2c0 CR3: 000000007ec6f000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: buddy_merge_likely mm/page_alloc.c:1083 [inline] __free_one_page+0x44b/0x990 mm/page_alloc.c:1180 free_pcppages_bulk+0x318/0x500 mm/page_alloc.c:1609 free_unref_page+0x33d/0x630 mm/page_alloc.c:3506 free_slab mm/slub.c:2031 [inline] discard_slab mm/slub.c:2037 [inline] __unfreeze_partials+0x1ab/0x200 mm/slub.c:2586 put_cpu_partial+0x116/0x180 mm/slub.c:2662 qlist_free_all+0x2b/0x70 mm/kasan/quarantine.c:187 kasan_quarantine_reduce+0x169/0x180 mm/kasan/quarantine.c:294 ____kasan_kmalloc mm/kasan/common.c:337 [inline] __kasan_kmalloc+0x1f/0xb0 mm/kasan/common.c:380 kasan_kmalloc include/linux/kasan.h:211 [inline] __do_kmalloc_node mm/slab_common.c:955 [inline] __kmalloc_node_track_caller+0xad/0x190 mm/slab_common.c:975 kmalloc_reserve net/core/skbuff.c:437 [inline] __alloc_skb+0x11d/0x620 net/core/skbuff.c:509 alloc_skb include/linux/skbuff.h:1267 [inline] alloc_skb_with_frags+0xb4/0x780 net/core/skbuff.c:6126 sock_alloc_send_pskb+0x930/0xa70 net/core/sock.c:2719 unix_dgram_sendmsg+0x5b3/0x2050 net/unix/af_unix.c:1943 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg net/socket.c:734 [inline] __sys_sendto+0x46d/0x5f0 net/socket.c:2117 __do_sys_sendto net/socket.c:2129 [inline] __se_sys_sendto net/socket.c:2125 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2125 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:0x7f6c5dcff0ac Code: 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 19 45 31 c9 45 31 c0 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 64 c3 0f 1f 00 55 48 83 ec 20 48 89 54 24 10 RSP: 002b:00007ffd4133b498 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f6c5dcff0ac RDX: 000000000000003e RSI: 000055cfc1b4cd90 RDI: 0000000000000003 RBP: 000055cfc1b48910 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000004000 R11: 0000000000000246 R12: 0000000000000014 R13: 0000000000000001 R14: 00007f6c5de7a77d R15: 00007ffd4133b5a8 INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 1.122 msecs