INFO: task syz-executor.4:12632 blocked for more than 143 seconds. Not tainted 5.15.110-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.4 state:D stack:23168 pid:12632 ppid: 3545 flags:0x00004004 Call Trace: context_switch kernel/sched/core.c:5026 [inline] __schedule+0x12c4/0x4590 kernel/sched/core.c:6372 schedule+0x11b/0x1f0 kernel/sched/core.c:6455 io_schedule+0x88/0x100 kernel/sched/core.c:8472 bit_wait_io+0xe/0xc0 kernel/sched/wait_bit.c:209 __wait_on_bit_lock+0xbf/0x1a0 kernel/sched/wait_bit.c:90 out_of_line_wait_on_bit_lock+0x1d0/0x250 kernel/sched/wait_bit.c:117 wait_on_bit_lock_io include/linux/wait_bit.h:208 [inline] __lock_buffer fs/buffer.c:69 [inline] lock_buffer include/linux/buffer_head.h:402 [inline] __sync_dirty_buffer+0x120/0x380 fs/buffer.c:3144 __ext4_handle_dirty_metadata+0x288/0x800 fs/ext4/ext4_jbd2.c:381 ext4_convert_inline_data_nolock+0xad1/0xda0 fs/ext4/inline.c:1262 ext4_convert_inline_data+0x4cf/0x610 fs/ext4/inline.c:2045 ext4_page_mkwrite+0x1ec/0x1290 fs/ext4/inode.c:6103 do_page_mkwrite+0x1a9/0x440 mm/memory.c:2883 do_shared_fault mm/memory.c:4285 [inline] do_fault mm/memory.c:4353 [inline] handle_pte_fault mm/memory.c:4608 [inline] __handle_mm_fault mm/memory.c:4743 [inline] handle_mm_fault+0x2803/0x5950 mm/memory.c:4841 do_user_addr_fault arch/x86/mm/fault.c:1397 [inline] handle_page_fault arch/x86/mm/fault.c:1485 [inline] exc_page_fault+0x271/0x740 arch/x86/mm/fault.c:1541 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:568 RIP: 0010:copy_user_generic_unrolled+0x89/0xc0 arch/x86/lib/copy_user_64.S:92 Code: 38 4c 89 47 20 4c 89 4f 28 4c 89 57 30 4c 89 5f 38 48 8d 76 40 48 8d 7f 40 ff c9 75 b6 89 d1 83 e2 07 c1 e9 03 74 12 4c 8b 06 <4c> 89 07 48 8d 76 08 48 8d 7f 08 ff c9 75 ee 21 d2 74 10 89 d1 8a RSP: 0018:ffffc90004b87e08 EFLAGS: 00050202 RAX: ffffffff84060f01 RBX: 00000000200012c8 RCX: 0000000000000001 RDX: 0000000000000000 RSI: ffffc90004b87ea0 RDI: 00000000200012c0 RBP: ffffc90004b87f10 R08: 0000000700000006 R09: fffff52000970fd5 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000008 R13: 00007ffffffff000 R14: ffffc90004b87ea0 R15: 00000000200012c0 copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline] raw_copy_to_user arch/x86/include/asm/uaccess_64.h:58 [inline] _copy_to_user+0xef/0x130 lib/usercopy.c:40 copy_to_user include/linux/uaccess.h:200 [inline] do_pipe2+0x105/0x300 fs/pipe.c:1011 __do_sys_pipe fs/pipe.c:1032 [inline] __se_sys_pipe fs/pipe.c:1030 [inline] __x64_sys_pipe+0x36/0x40 fs/pipe.c:1030 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f4700b0c169 RSP: 002b:00007f46ff07e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000016 RAX: ffffffffffffffda RBX: 00007f4700c2bf80 RCX: 00007f4700b0c169 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200012c0 RBP: 00007f4700b67ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd45ad461f R14: 00007f46ff07e300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8c91c4e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30 2 locks held by getty/3258: #0: ffff88814ad43098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc90002bb32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6af/0x1da0 drivers/tty/n_tty.c:2147 3 locks held by kworker/u4:18/9131: 4 locks held by syz-executor.4/12632: #0: ffff88807eb4ab28 (&mm->mmap_lock#2){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:136 [inline] #0: ffff88807eb4ab28 (&mm->mmap_lock#2){++++}-{3:3}, at: do_user_addr_fault arch/x86/mm/fault.c:1338 [inline] #0: ffff88807eb4ab28 (&mm->mmap_lock#2){++++}-{3:3}, at: handle_page_fault arch/x86/mm/fault.c:1485 [inline] #0: ffff88807eb4ab28 (&mm->mmap_lock#2){++++}-{3:3}, at: exc_page_fault+0x181/0x740 arch/x86/mm/fault.c:1541 #1: ffff88806d9b8558 (sb_pagefaults){.+.+}-{0:0}, at: __sb_start_write include/linux/fs.h:1742 [inline] #1: ffff88806d9b8558 (sb_pagefaults){.+.+}-{0:0}, at: sb_start_pagefault include/linux/fs.h:1841 [inline] #1: ffff88806d9b8558 (sb_pagefaults){.+.+}-{0:0}, at: ext4_page_mkwrite+0x1b5/0x1290 fs/ext4/inode.c:6098 #2: ffff888086174b58 (mapping.invalidate_lock){++++}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:842 [inline] #2: ffff888086174b58 (mapping.invalidate_lock){++++}-{3:3}, at: ext4_page_mkwrite+0x1df/0x1290 fs/ext4/inode.c:6101 #3: ffff888086174690 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline] #3: ffff888086174690 (&ei->xattr_sem){++++}-{3:3}, at: ext4_convert_inline_data+0x3ab/0x610 fs/ext4/inline.c:2043 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.110-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2cb 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:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 2952 Comm: klogd Not tainted 5.15.110-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:qlink_to_object mm/kasan/quarantine.c:129 [inline] RIP: 0010:qlink_free+0x12/0x80 mm/kasan/quarantine.c:134 Code: 47 c9 81 e8 a0 10 99 ff 48 83 c4 08 c3 66 2e 0f 1f 84 00 00 00 00 00 90 41 57 41 56 53 49 89 f6 48 89 fb 48 63 86 c0 00 00 00 <48> 29 c3 48 89 f7 48 89 de e8 b0 c8 ff ff 66 90 48 89 d8 48 c1 e8 RSP: 0018:ffffc9000cedf520 EFLAGS: 00000286 RAX: 0000000000000000 RBX: ffff88803911e600 RCX: ffffea0000e44600 RDX: 0000000000000000 RSI: ffff888011dc6500 RDI: ffff88803911e600 RBP: ffff88809b5c4400 R08: ffffffff81394b08 R09: 0000000080240020 R10: 0000000000000000 R11: dffffc0000000001 R12: ffffea0000000000 R13: ffff88803911e600 R14: ffff888011dc6500 R15: 0000000000000000 FS: 00007f11b80d7380(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f83b3dba110 CR3: 00000000224ea000 CR4: 00000000003506e0 Call Trace: qlist_free_all+0x36/0x90 mm/kasan/quarantine.c:176 kasan_quarantine_reduce+0x162/0x180 mm/kasan/quarantine.c:283 __kasan_slab_alloc+0x2f/0xc0 mm/kasan/common.c:444 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook+0x53/0x380 mm/slab.h:519 slab_alloc_node mm/slub.c:3220 [inline] kmem_cache_alloc_node+0x121/0x2c0 mm/slub.c:3256 __alloc_skb+0xdd/0x590 net/core/skbuff.c:415 alloc_skb include/linux/skbuff.h:1167 [inline] alloc_skb_with_frags+0xa3/0x780 net/core/skbuff.c:6116 sock_alloc_send_pskb+0x915/0xa50 net/core/sock.c:2497 unix_dgram_sendmsg+0x6fd/0x2090 net/unix/af_unix.c:1812 sock_sendmsg_nosec net/socket.c:704 [inline] sock_sendmsg net/socket.c:724 [inline] __sys_sendto+0x564/0x720 net/socket.c:2039 __do_sys_sendto net/socket.c:2051 [inline] __se_sys_sendto net/socket.c:2047 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2047 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f11b82399b5 Code: 8b 44 24 08 48 83 c4 28 48 98 c3 48 98 c3 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 26 45 31 c9 45 31 c0 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 7a 48 8b 15 44 c4 0c 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffee0089bf8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f11b82399b5 RDX: 0000000000000049 RSI: 000055de4781d8b0 RDI: 0000000000000003 RBP: 000055de47813910 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000004000 R11: 0000000000000246 R12: 0000000000000013 R13: 00007f11b83c7212 R14: 00007ffee0089cf8 R15: 0000000000000000