INFO: task syz-executor.5:32010 blocked for more than 143 seconds. Not tainted 5.19.0-rc2-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:28600 pid:32010 ppid: 3635 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5116 [inline] __schedule+0x957/0xec0 kernel/sched/core.c:6428 schedule+0xeb/0x1b0 kernel/sched/core.c:6500 rwsem_down_write_slowpath+0xe21/0x1370 kernel/locking/rwsem.c:1172 __down_write_common kernel/locking/rwsem.c:1287 [inline] __down_write kernel/locking/rwsem.c:1296 [inline] down_write+0x163/0x170 kernel/locking/rwsem.c:1543 filemap_invalidate_lock include/linux/fs.h:786 [inline] blkdev_fallocate+0x21f/0x390 block/fops.c:637 vfs_fallocate+0x515/0x670 fs/open.c:323 madvise_remove+0x221/0x290 mm/madvise.c:976 madvise_vma_behavior mm/madvise.c:1000 [inline] madvise_walk_vmas mm/madvise.c:1232 [inline] do_madvise+0x7f5/0x1490 mm/madvise.c:1410 __do_sys_madvise mm/madvise.c:1423 [inline] __se_sys_madvise mm/madvise.c:1421 [inline] __x64_sys_madvise+0xa2/0xb0 mm/madvise.c:1421 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+0x46/0xb0 RIP: 0033:0x7f9e87089109 RSP: 002b:00007f9e881c9168 EFLAGS: 00000246 ORIG_RAX: 000000000000001c RAX: ffffffffffffffda RBX: 00007f9e8719c100 RCX: 00007f9e87089109 RDX: 0000000000000009 RSI: 0000000000600003 RDI: 0000000020000000 RBP: 00007f9e870e30ad R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc5f06549f R14: 00007f9e881c9300 R15: 0000000000022000 Showing all locks held in the system: 2 locks held by kworker/u4:1/11: #0: ffff8880b9b39b98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x25/0x110 kernel/sched/core.c:544 #1: ffff8880b9b27748 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x567/0x820 kernel/sched/psi.c:889 1 lock held by khungtaskd/29: #0: ffffffff8cb1ebe0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3293: #0: ffff88814a5d7098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244 #1: ffffc90002d0e2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6e8/0x1e50 drivers/tty/n_tty.c:2124 3 locks held by syz-executor.2/31984: 1 lock held by syz-executor.5/32010: #0: ffff888140c96bc0 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:786 [inline] #0: ffff888140c96bc0 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x21f/0x390 block/fops.c:637 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 5.19.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb lib/dump_stack.c:106 nmi_cpu_backtrace+0x473/0x4a0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x168/0x280 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline] watchdog+0xd18/0xd60 kernel/hung_task.c:378 kthread+0x266/0x300 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 NMI backtrace for cpu 1 CPU: 1 PID: 2967 Comm: klogd Not tainted 5.19.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:lock_acquire+0x6f/0x400 kernel/locking/lockdep.c:5633 Code: 48 c7 44 24 48 b7 66 3c 8c 48 c7 44 24 50 00 c0 67 81 4c 8d 6c 24 40 49 c1 ed 03 48 b8 f1 f1 f1 f1 00 f2 f2 f2 4b 89 44 25 00 <43> c7 44 25 09 f2 f2 f2 00 43 c7 44 25 11 f3 f3 f3 f3 66 43 c7 44 RSP: 0018:ffffc90002b670e0 EFLAGS: 00000806 RAX: f2f2f200f1f1f1f1 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff917f5a38 RBP: ffffc90002b67228 R08: 0000000000000001 R09: 0000000000000000 R10: ffffed1002770c59 R11: 1ffff11002770c58 R12: dffffc0000000000 R13: 1ffff9200056ce24 R14: ffffffff917f5a38 R15: 0000000000000000 FS: 00007f3096a4c800(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe1c9e5438 CR3: 000000002650d000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd1/0x120 kernel/locking/spinlock.c:162 __debug_check_no_obj_freed lib/debugobjects.c:977 [inline] debug_check_no_obj_freed+0xc5/0x650 lib/debugobjects.c:1020 free_pages_prepare mm/page_alloc.c:1377 [inline] free_pcp_prepare+0x2cc/0x900 mm/page_alloc.c:1421 free_unref_page_prepare mm/page_alloc.c:3343 [inline] free_unref_page+0x7d/0x390 mm/page_alloc.c:3438 free_slab mm/slub.c:2041 [inline] discard_slab mm/slub.c:2047 [inline] __unfreeze_partials+0x1ab/0x200 mm/slub.c:2521 put_cpu_partial+0x116/0x180 mm/slub.c:2597 do_slab_free mm/slub.c:3495 [inline] ___cache_free+0x118/0x1a0 mm/slub.c:3514 qlist_free_all+0x2b/0x70 mm/kasan/quarantine.c:187 kasan_quarantine_reduce+0x169/0x180 mm/kasan/quarantine.c:294 __kasan_slab_alloc+0x2f/0xe0 mm/kasan/common.c:446 kasan_slab_alloc include/linux/kasan.h:224 [inline] slab_post_alloc_hook mm/slab.h:750 [inline] slab_alloc_node mm/slub.c:3214 [inline] kmem_cache_alloc_node+0x1cd/0x340 mm/slub.c:3264 __alloc_skb+0xd5/0x660 net/core/skbuff.c:414 alloc_skb include/linux/skbuff.h:1426 [inline] alloc_skb_with_frags+0xac/0x800 net/core/skbuff.c:5992 sock_alloc_send_pskb+0x930/0xa70 net/core/sock.c:2662 unix_dgram_sendmsg+0x5ca/0x1fc0 net/unix/af_unix.c:1895 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg net/socket.c:734 [inline] __sys_sendto+0x439/0x5c0 net/socket.c:2119 __do_sys_sendto net/socket.c:2131 [inline] __se_sys_sendto net/socket.c:2127 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2127 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+0x46/0xb0 RIP: 0033:0x7f3096be80ac 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:00007fff60c37fb8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f3096be80ac RDX: 000000000000004a RSI: 0000557d0ce62880 RDI: 0000000000000003 RBP: 0000557d0ce5a910 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000004000 R11: 0000000000000246 R12: 0000000000000014 R13: 0000000000000001 R14: 00007f3096d6377d R15: 00007fff60c380c8 ---------------- Code disassembly (best guess): 0: 48 c7 44 24 48 b7 66 movq $0xffffffff8c3c66b7,0x48(%rsp) 7: 3c 8c 9: 48 c7 44 24 50 00 c0 movq $0xffffffff8167c000,0x50(%rsp) 10: 67 81 12: 4c 8d 6c 24 40 lea 0x40(%rsp),%r13 17: 49 c1 ed 03 shr $0x3,%r13 1b: 48 b8 f1 f1 f1 f1 00 movabs $0xf2f2f200f1f1f1f1,%rax 22: f2 f2 f2 25: 4b 89 44 25 00 mov %rax,0x0(%r13,%r12,1) * 2a: 43 c7 44 25 09 f2 f2 movl $0xf2f2f2,0x9(%r13,%r12,1) <-- trapping instruction 31: f2 00 33: 43 c7 44 25 11 f3 f3 movl $0xf3f3f3f3,0x11(%r13,%r12,1) 3a: f3 f3 3c: 66 data16 3d: 43 rex.XB 3e: c7 .byte 0xc7 3f: 44 rex.R