INFO: task syz-executor.4:8465 blocked for more than 143 seconds.
Not tainted 6.3.0-rc1-syzkaller-00274-g134231664868 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:23336 pid:8465 ppid:5110 flags:0x00004004
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5304 [inline]
__schedule+0x179d/0x4690 kernel/sched/core.c:6622
schedule+0xc3/0x180 kernel/sched/core.c:6698
io_schedule+0x8c/0x100 kernel/sched/core.c:8884
bit_wait_io+0x12/0xc0 kernel/sched/wait_bit.c:209
__wait_on_bit_lock+0xbd/0x1a0 kernel/sched/wait_bit.c:90
out_of_line_wait_on_bit_lock+0x1d4/0x250 kernel/sched/wait_bit.c:117
wait_on_bit_lock_io include/linux/wait_bit.h:208 [inline]
__lock_buffer fs/buffer.c:70 [inline]
lock_buffer include/linux/buffer_head.h:400 [inline]
write_dirty_buffer+0xd0/0x1a0 fs/buffer.c:2761
fsync_buffers_list fs/buffer.c:745 [inline]
sync_mapping_buffers+0x562/0xf10 fs/buffer.c:591
ext4_sync_parent fs/ext4/fsync.c:70 [inline]
ext4_fsync_nojournal fs/ext4/fsync.c:97 [inline]
ext4_sync_file+0x8c1/0xcf0 fs/ext4/fsync.c:170
generic_write_sync include/linux/fs.h:2452 [inline]
ext4_buffered_write_iter+0x30a/0x3a0 fs/ext4/file.c:296
ext4_file_write_iter+0x1d6/0x1930
call_write_iter include/linux/fs.h:1851 [inline]
new_sync_write fs/read_write.c:491 [inline]
vfs_write+0x7b2/0xbb0 fs/read_write.c:584
ksys_write+0x1a0/0x2c0 fs/read_write.c:637
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f5fea28c0f9
RSP: 002b:00007f5feafd3168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f5fea3abf80 RCX: 00007f5fea28c0f9
RDX: 000000000208e24b RSI: 00000000200000c0 RDI: 0000000000000005
RBP: 00007f5fea2e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffea314761f R14: 00007f5feafd3300 R15: 0000000000022000
</TASK>
INFO: task syz-executor.4:8481 blocked for more than 143 seconds.
Not tainted 6.3.0-rc1-syzkaller-00274-g134231664868 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:25888 pid:8481 ppid:5110 flags:0x00004004
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5304 [inline]
__schedule+0x179d/0x4690 kernel/sched/core.c:6622
schedule+0xc3/0x180 kernel/sched/core.c:6698
io_schedule+0x8c/0x100 kernel/sched/core.c:8884
bit_wait_io+0x12/0xc0 kernel/sched/wait_bit.c:209
__wait_on_bit_lock+0xbd/0x1a0 kernel/sched/wait_bit.c:90
out_of_line_wait_on_bit_lock+0x1d4/0x250 kernel/sched/wait_bit.c:117
wait_on_bit_lock_io include/linux/wait_bit.h:208 [inline]
__lock_buffer fs/buffer.c:70 [inline]
lock_buffer include/linux/buffer_head.h:400 [inline]
__sync_dirty_buffer+0x120/0x380 fs/buffer.c:2780
__ext4_handle_dirty_metadata+0x2a6/0x820 fs/ext4/ext4_jbd2.c:387
ext4_handle_dirty_dirblock+0x362/0x6f0 fs/ext4/namei.c:438
ext4_finish_convert_inline_dir+0x57b/0x6f0 fs/ext4/inline.c:1180
ext4_convert_inline_data_nolock+0xa01/0xd80 fs/ext4/inline.c:1257
ext4_try_add_inline_entry+0x809/0xb70 fs/ext4/inline.c:1330
ext4_add_entry+0x535/0x1010 fs/ext4/namei.c:2384
ext4_mkdir+0x553/0xce0 fs/ext4/namei.c:3006
vfs_mkdir+0x29d/0x450 fs/namei.c:4038
do_mkdirat+0x264/0x520 fs/namei.c:4061
__do_sys_mkdirat fs/namei.c:4076 [inline]
__se_sys_mkdirat fs/namei.c:4074 [inline]
__x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4074
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f5fea28c0f9
RSP: 002b:00007f5feaf91168 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007f5fea3ac120 RCX: 00007f5fea28c0f9
RDX: 0000000000000000 RSI: 0000000020000340 RDI: 0000000000000006
RBP: 00007f5fea2e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffea314761f R14: 00007f5feaf91300 R15: 0000000000022000
</TASK>
INFO: task syz-executor.4:8483 blocked for more than 144 seconds.
Not tainted 6.3.0-rc1-syzkaller-00274-g134231664868 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:27560 pid:8483 ppid:5110 flags:0x00004004
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5304 [inline]
__schedule+0x179d/0x4690 kernel/sched/core.c:6622
schedule+0xc3/0x180 kernel/sched/core.c:6698
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6757
rwsem_down_write_slowpath+0xedd/0x13a0 kernel/locking/rwsem.c:1178
__down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306
inode_lock include/linux/fs.h:758 [inline]
open_last_lookups fs/namei.c:3481 [inline]
path_openat+0x7ba/0x3170 fs/namei.c:3712
do_filp_open+0x234/0x490 fs/namei.c:3742
do_sys_openat2+0x13f/0x500 fs/open.c:1348
do_sys_open fs/open.c:1364 [inline]
__do_sys_openat fs/open.c:1380 [inline]
__se_sys_openat fs/open.c:1375 [inline]
__x64_sys_openat+0x247/0x290 fs/open.c:1375
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f5fea28c0f9
RSP: 002b:00007f5feaf70168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f5fea3ac1f0 RCX: 00007f5fea28c0f9
RDX: 000000000000275a RSI: 0000000020000040 RDI: ffffffffffffff9c
RBP: 00007f5fea2e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffea314761f R14: 00007f5feaf70300 R15: 0000000000022000
</TASK>
INFO: task syz-executor.4:8484 blocked for more than 144 seconds.
Not tainted 6.3.0-rc1-syzkaller-00274-g134231664868 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:27560 pid:8484 ppid:5110 flags:0x00004004
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5304 [inline]
__schedule+0x179d/0x4690 kernel/sched/core.c:6622
schedule+0xc3/0x180 kernel/sched/core.c:6698
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6757
rwsem_down_write_slowpath+0xedd/0x13a0 kernel/locking/rwsem.c:1178
__down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306
inode_lock_nested include/linux/fs.h:793 [inline]
filename_create+0x25a/0x530 fs/namei.c:3808
do_symlinkat+0xfa/0x610 fs/namei.c:4417
__do_sys_symlinkat fs/namei.c:4440 [inline]
__se_sys_symlinkat fs/namei.c:4437 [inline]
__x64_sys_symlinkat+0x99/0xb0 fs/namei.c:4437
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f5fea28c0f9
RSP: 002b:00007f5feaf4f168 EFLAGS: 00000246 ORIG_RAX: 000000000000010a
RAX: ffffffffffffffda RBX: 00007f5fea3ac2c0 RCX: 00007f5fea28c0f9
RDX: 00000000200000c0 RSI: 0000000000000009 RDI: 0000000020000040
RBP: 00007f5fea2e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffea314761f R14: 00007f5feaf4f300 R15: 0000000000022000
</TASK>
INFO: task syz-executor.4:8485 blocked for more than 144 seconds.
Not tainted 6.3.0-rc1-syzkaller-00274-g134231664868 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:29048 pid:8485 ppid:5110 flags:0x00004004
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5304 [inline]
__schedule+0x179d/0x4690 kernel/sched/core.c:6622
schedule+0xc3/0x180 kernel/sched/core.c:6698
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6757
rwsem_down_write_slowpath+0xedd/0x13a0 kernel/locking/rwsem.c:1178
__down_write_common+0x1aa/0x200 kernel/locking/rwsem.c:1306
inode_lock_nested include/linux/fs.h:793 [inline]
filename_create+0x25a/0x530 fs/namei.c:3808
do_mkdirat+0xb7/0x520 fs/namei.c:4053
__do_sys_mkdirat fs/namei.c:4076 [inline]
__se_sys_mkdirat fs/namei.c:4074 [inline]
__x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4074
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f5fea28c0f9
RSP: 002b:00007f5feaf2e168 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007f5fea3ac390 RCX: 00007f5fea28c0f9
RDX: 0000000000000000 RSI: 0000000020000340 RDI: 0000000000000009
RBP: 00007f5fea2e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffea314761f R14: 00007f5feaf2e300 R15: 0000000000022000
</TASK>
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8cf25f30 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8cf26730 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x29/0xd20 kernel/rcu/tasks.h:510
1 lock held by khungtaskd/28:
#0: ffffffff8cf25d60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
3 locks held by kworker/u4:2/41:
#0: ffff8880b983be98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:539
#1: ffff8880b9828788 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:976
#2: ffff888032eccd40 (&wdev->mtx){+.+.}-{3:3}, at: sdata_lock net/mac80211/ieee80211_i.h:1115 [inline]
#2: ffff888032eccd40 (&wdev->mtx){+.+.}-{3:3}, at: ieee80211_ibss_work+0xa4/0x1490 net/mac80211/ibss.c:1680
2 locks held by getty/4746:
#0: ffff88802c53a098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ab/0x1db0 drivers/tty/n_tty.c:2177
3 locks held by kworker/u4:11/6527:
#0: ffff888144b03938 ((wq_completion)writeback){+.+.}-{0:0}, at: process_one_work+0x788/0x1280 kernel/workqueue.c:2363
#1: ffffc90016917d20 ((work_completion)(&(&wb->dwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7d2/0x1280 kernel/workqueue.c:2365
#2: ffff8880167700e0 (&type->s_umount_key#41){.+.+}-{3:3}, at: trylock_super+0x1f/0xf0 fs/super.c:414
2 locks held by syz-executor.4/8465:
#0: ffff88807d77ed68 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x254/0x2f0 fs/file.c:1047
#1: ffff8880279a6460 (sb_writers#4){.+.+}-{0:0}, at: vfs_write+0x26d/0xbb0 fs/read_write.c:580
3 locks held by syz-executor.4/8481:
#0: ffff8880279a6460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394
#1: ffff8880743a1810 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline]
#1: ffff8880743a1810 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: filename_create+0x25a/0x530 fs/namei.c:3808
#2: ffff8880743a14d8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_write_lock_xattr fs/ext4/xattr.h:155 [inline]
#2: ffff8880743a14d8 (&ei->xattr_sem){++++}-{3:3}, at: ext4_try_add_inline_entry+0xf6/0xb70 fs/ext4/inline.c:1288
2 locks held by syz-executor.4/8483:
#0: ffff8880279a6460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394
#1: ffff8880743a1810 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: inode_lock include/linux/fs.h:758 [inline]
#1: ffff8880743a1810 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: open_last_lookups fs/namei.c:3481 [inline]
#1: ffff8880743a1810 (&type->i_mutex_dir_key#3){++++}-{3:3}, at: path_openat+0x7ba/0x3170 fs/namei.c:3712
2 locks held by syz-executor.4/8484:
#0: ffff8880279a6460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394
#1: ffff8880743a1810 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline]
#1: ffff8880743a1810 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: filename_create+0x25a/0x530 fs/namei.c:3808
2 locks held by syz-executor.4/8485:
#0: ffff8880279a6460 (sb_writers#4){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 fs/namespace.c:394
#1: ffff8880743a1810 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: inode_lock_nested include/linux/fs.h:793 [inline]
#1: ffff8880743a1810 (&type->i_mutex_dir_key#3/1){+.+.}-{3:3}, at: filename_create+0x25a/0x530 fs/namei.c:3808
1 lock held by syz-executor.4/8641:
#0: ffff888146c334c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x148/0xa30 block/bdev.c:735
1 lock held by syz-executor.3/10664:
#0: ffff888146c334c8 (&disk->open_mutex){+.+.}-{3:3}, at: sync_bdevs+0x1a9/0x320 block/bdev.c:974
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 6.3.0-rc1-syzkaller-00274-g134231664868 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
Call Trace:
<TASK>
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106
nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x187/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xf9d/0xfe0 kernel/hung_task.c:379
kthread+0x270/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
</TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 4422 Comm: klogd Not tainted 6.3.0-rc1-syzkaller-00274-g134231664868 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
RIP: 0010:__get_pfnblock_flags_mask mm/page_alloc.c:554 [inline]
RIP: 0010:get_pfnblock_migratetype mm/page_alloc.c:574 [inline]
RIP: 0010:free_unref_page_prepare+0x475/0xef0 mm/page_alloc.c:3390
Code: 48 c1 eb 07 48 c1 ed 0a 83 e5 18 48 8d 6c 28 08 48 89 e8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 ef e8 5f 59 0c 00 48 8b 6d 00 <80> e3 3c 89 d9 48 d3 ed 83 e5 07 49 83 c5 20 4c 89 e8 48 c1 e8 03
RSP: 0018:ffffc9000312f4f0 EFLAGS: 00000246
RAX: 1ffff11027fff1b6 RBX: 0000000000001115 RCX: 0000000000000000
RDX: 0000000000001000 RSI: 00000000000000ff RDI: ffffed1011154000
RBP: 0000000000000000 R08: dffffc0000000000 R09: ffffed1011153000
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: ffffea000222a600 R14: dffffc0000000000 R15: 0000000000000001
FS: 00007f313c4a2800(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa17b784998 CR3: 000000001ce6b000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
free_unref_page+0x37/0x3f0 mm/page_alloc.c:3482
discard_slab mm/slub.c:2098 [inline]
__unfreeze_partials+0x1b1/0x1f0 mm/slub.c:2637
put_cpu_partial+0x116/0x180 mm/slub.c:2713
qlist_free_all+0x22/0x60 mm/kasan/quarantine.c:187
kasan_quarantine_reduce+0x14b/0x160 mm/kasan/quarantine.c:294
__kasan_slab_alloc+0x23/0x70 mm/kasan/common.c:305
kasan_slab_alloc include/linux/kasan.h:186 [inline]
slab_post_alloc_hook+0x68/0x3a0 mm/slab.h:769
slab_alloc_node mm/slub.c:3452 [inline]
kmem_cache_alloc_node+0x158/0x2b0 mm/slub.c:3497
__alloc_skb+0x181/0x420 net/core/skbuff.c:596
alloc_skb include/linux/skbuff.h:1277 [inline]
alloc_skb_with_frags+0xa8/0x750 net/core/skbuff.c:6318
sock_alloc_send_pskb+0x919/0xa50 net/core/sock.c:2734
unix_dgram_sendmsg+0x5b5/0x2050 net/unix/af_unix.c:1944
sock_sendmsg_nosec net/socket.c:724 [inline]
sock_sendmsg net/socket.c:747 [inline]
__sys_sendto+0x475/0x630 net/socket.c:2142
__do_sys_sendto net/socket.c:2154 [inline]
__se_sys_sendto net/socket.c:2150 [inline]
__x64_sys_sendto+0xde/0xf0 net/socket.c:2150
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f313c63e0ac
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:00007ffcd9ffbcc8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f313c63e0ac
RDX: 0000000000000047 RSI: 00005574e6e687e0 RDI: 0000000000000003
RBP: 00005574e6e5d910 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000004000 R11: 0000000000000246 R12: 0000000000000014
R13: 0000000000000001 R14: 00007f313c7b977d R15: 00007ffcd9ffbdd8
</TASK>