INFO: task syz-executor.2:8754 blocked for more than 143 seconds.
Not tainted 6.2.0-rc1-syzkaller-00095-ge4cf7c25bae5 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:19736 pid:8754 ppid:5129 flags:0x00004004
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5244 [inline]
__schedule+0x995/0xe20 kernel/sched/core.c:6555
schedule+0xcb/0x190 kernel/sched/core.c:6631
rwsem_down_write_slowpath+0xfc1/0x1480 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
inode_lock include/linux/fs.h:756 [inline]
ntfs_file_write_iter+0x25a/0x6c0 fs/ntfs3/file.c:1051
do_iter_write+0x6c2/0xc20 fs/read_write.c:861
iter_file_splice_write+0x7fc/0xfc0 fs/splice.c:686
do_splice_from fs/splice.c:764 [inline]
direct_splice_actor+0xe6/0x1c0 fs/splice.c:931
splice_direct_to_actor+0x4e4/0xc00 fs/splice.c:886
do_splice_direct+0x279/0x3d0 fs/splice.c:974
do_sendfile+0x5fb/0xf80 fs/read_write.c:1255
__do_sys_sendfile64 fs/read_write.c:1323 [inline]
__se_sys_sendfile64+0x14f/0x1b0 fs/read_write.c:1309
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+0x63/0xcd
RIP: 0033:0x7fbc0208c0a9
RSP: 002b:00007fbc02dfd168 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007fbc021abf80 RCX: 00007fbc0208c0a9
RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000004
RBP: 00007fbc020e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 000080001d00c0d0 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffde05ade4f R14: 00007fbc02dfd300 R15: 0000000000022000
</TASK>
INFO: task syz-executor.2:8775 blocked for more than 144 seconds.
Not tainted 6.2.0-rc1-syzkaller-00095-ge4cf7c25bae5 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:17680 pid:8775 ppid:5129 flags:0x00004004
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5244 [inline]
__schedule+0x995/0xe20 kernel/sched/core.c:6555
schedule+0xcb/0x190 kernel/sched/core.c:6631
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6690
__mutex_lock_common+0xe4f/0x26e0 kernel/locking/mutex.c:679
__mutex_lock kernel/locking/mutex.c:747 [inline]
mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:799
ni_lock fs/ntfs3/ntfs_fs.h:1122 [inline]
attr_data_get_block+0x315/0x2d70 fs/ntfs3/attrib.c:919
ntfs_get_block_vbo+0x31f/0xc40 fs/ntfs3/inode.c:573
do_mpage_readpage+0x970/0x1c50 fs/mpage.c:208
mpage_readahead+0x210/0x380 fs/mpage.c:361
read_pages+0x169/0x9c0 mm/readahead.c:161
page_cache_ra_unbounded+0x703/0x820 mm/readahead.c:270
filemap_readahead mm/filemap.c:2576 [inline]
filemap_get_pages+0x72f/0x10d0 mm/filemap.c:2616
filemap_read+0x3cf/0xea0 mm/filemap.c:2694
__kernel_read+0x3fc/0x830 fs/read_write.c:428
integrity_kernel_read+0xac/0xf0 security/integrity/iint.c:199
ima_calc_file_hash_tfm security/integrity/ima/ima_crypto.c:485 [inline]
ima_calc_file_shash security/integrity/ima/ima_crypto.c:516 [inline]
ima_calc_file_hash+0x178f/0x1ca0 security/integrity/ima/ima_crypto.c:573
ima_collect_measurement+0x444/0x8c0 security/integrity/ima/ima_api.c:292
process_measurement+0xf41/0x1bc0 security/integrity/ima/ima_main.c:339
ima_file_check+0xd8/0x130 security/integrity/ima/ima_main.c:519
do_open fs/namei.c:3559 [inline]
path_openat+0x2600/0x2dd0 fs/namei.c:3714
do_filp_open+0x264/0x4f0 fs/namei.c:3741
do_sys_openat2+0x124/0x4e0 fs/open.c:1310
do_sys_open fs/open.c:1326 [inline]
__do_sys_open fs/open.c:1334 [inline]
__se_sys_open fs/open.c:1330 [inline]
__x64_sys_open+0x221/0x270 fs/open.c:1330
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+0x63/0xcd
RIP: 0033:0x7fbc0208c0a9
RSP: 002b:00007fbc02ddc168 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007fbc021ac050 RCX: 00007fbc0208c0a9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000140
RBP: 00007fbc020e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffde05ade4f R14: 00007fbc02ddc300 R15: 0000000000022000
</TASK>
INFO: task syz-executor.2:8776 blocked for more than 145 seconds.
Not tainted 6.2.0-rc1-syzkaller-00095-ge4cf7c25bae5 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:22072 pid:8776 ppid:5129 flags:0x00004004
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5244 [inline]
__schedule+0x995/0xe20 kernel/sched/core.c:6555
schedule+0xcb/0x190 kernel/sched/core.c:6631
io_schedule+0x83/0x100 kernel/sched/core.c:8811
folio_wait_bit_common+0x83a/0x12a0 mm/filemap.c:1297
folio_lock include/linux/pagemap.h:938 [inline]
truncate_inode_pages_range+0xc7d/0x1690 mm/truncate.c:421
truncate_inode_pages mm/truncate.c:448 [inline]
truncate_pagecache mm/truncate.c:743 [inline]
truncate_setsize+0xcb/0xf0 mm/truncate.c:768
ntfs_truncate fs/ntfs3/file.c:395 [inline]
ntfs3_setattr+0x5a5/0xca0 fs/ntfs3/file.c:696
notify_change+0xe50/0x1100 fs/attr.c:482
do_truncate+0x200/0x2f0 fs/open.c:65
handle_truncate fs/namei.c:3216 [inline]
do_open fs/namei.c:3561 [inline]
path_openat+0x272b/0x2dd0 fs/namei.c:3714
do_filp_open+0x264/0x4f0 fs/namei.c:3741
do_sys_openat2+0x124/0x4e0 fs/open.c:1310
do_sys_open fs/open.c:1326 [inline]
__do_sys_creat fs/open.c:1402 [inline]
__se_sys_creat fs/open.c:1396 [inline]
__x64_sys_creat+0x11f/0x160 fs/open.c:1396
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+0x63/0xcd
RIP: 0033:0x7fbc0208c0a9
RSP: 002b:00007fbc02dbb168 EFLAGS: 00000246 ORIG_RAX: 0000000000000055
RAX: ffffffffffffffda RBX: 00007fbc021ac120 RCX: 00007fbc0208c0a9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000000
RBP: 00007fbc020e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffde05ade4f R14: 00007fbc02dbb300 R15: 0000000000022000
</TASK>
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8d326f50 (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: ffffffff8d327750 (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: ffffffff8d326d80 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by kworker/u4:3/46:
2 locks held by getty/4748:
#0: ffff88802b843098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc900015902f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x53b/0x1650 drivers/tty/n_tty.c:2177
5 locks held by syz-executor.1/5113:
1 lock held by syz-executor.0/5115:
#0: ffffffff8d32c3f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: exp_funnel_lock kernel/rcu/tree_exp.h:292 [inline]
#0: ffffffff8d32c3f8 (rcu_state.exp_mutex){+.+.}-{3:3}, at: synchronize_rcu_expedited+0x384/0x860 kernel/rcu/tree_exp.h:946
2 locks held by kworker/1:26/5824:
#0: ffff888012872538 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7f2/0xdb0
#1: ffffc90014b8fd00 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x831/0xdb0 kernel/workqueue.c:2264
2 locks held by syz-executor.2/8754:
#0: ffff88807771a460 (sb_writers#16){.+.+}-{0:0}, at: do_sendfile+0x5d6/0xf80 fs/read_write.c:1254
#1: ffff888036c67240 (&sb->s_type->i_mutex_key#22){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888036c67240 (&sb->s_type->i_mutex_key#22){+.+.}-{3:3}, at: ntfs_file_write_iter+0x25a/0x6c0 fs/ntfs3/file.c:1051
3 locks held by syz-executor.2/8775:
#0: ffff8880201a2500 (&iint->mutex){+.+.}-{3:3}, at: process_measurement+0x795/0x1bc0 security/integrity/ima/ima_main.c:260
#1: ffff888036c673e0 (mapping.invalidate_lock#3){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:811 [inline]
#1: ffff888036c673e0 (mapping.invalidate_lock#3){.+.+}-{3:3}, at: page_cache_ra_unbounded+0xe9/0x820 mm/readahead.c:226
#2: ffff888036c66fa0 (&ni->ni_lock/4){+.+.}-{3:3}, at: ni_lock fs/ntfs3/ntfs_fs.h:1122 [inline]
#2: ffff888036c66fa0 (&ni->ni_lock/4){+.+.}-{3:3}, at: attr_data_get_block+0x315/0x2d70 fs/ntfs3/attrib.c:919
3 locks held by syz-executor.2/8776:
#0: ffff88807771a460 (sb_writers#16){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 fs/namespace.c:508
#1: ffff888036c67240 (&sb->s_type->i_mutex_key#22){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:756 [inline]
#1: ffff888036c67240 (&sb->s_type->i_mutex_key#22){+.+.}-{3:3}, at: do_truncate+0x1ec/0x2f0 fs/open.c:63
#2: ffff888036c66fa0 (&ni->ni_lock/4){+.+.}-{3:3}, at: ni_lock fs/ntfs3/ntfs_fs.h:1122 [inline]
#2: ffff888036c66fa0 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs_truncate fs/ntfs3/file.c:393 [inline]
#2: ffff888036c66fa0 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs3_setattr+0x596/0xca0 fs/ntfs3/file.c:696
1 lock held by syz-executor.3/10891:
2 locks held by syz-executor.1/10899:
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc1-syzkaller-00095-ge4cf7c25bae5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
<TASK>
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x1b1/0x290 lib/dump_stack.c:106
nmi_cpu_backtrace+0x46f/0x4f0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1ba/0x420 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+0xcd5/0xd20 kernel/hung_task.c:377
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
</TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 5121 Comm: syz-executor.5 Not tainted 6.2.0-rc1-syzkaller-00095-ge4cf7c25bae5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:is_kfence_address include/linux/kfence.h:58 [inline]
RIP: 0010:kasan_poison+0xa/0x60 mm/kasan/shadow.c:87
Code: 4c 89 ff 4c 89 f6 4c 89 e2 5b 41 5c 41 5e 41 5f e9 1b 71 cf 08 31 c0 5b 41 5c 41 5e 41 5f c3 90 48 89 f0 48 8b 0d 8e ee b4 0c <48> 89 fe 48 29 ce 48 81 fe ff ff 1f 00 77 06 48 85 c9 74 01 c3 40
RSP: 0018:ffffc900001e0a50 EFLAGS: 00000216
RAX: 00000000000000f0 RBX: ffff88801ec0dc80 RCX: ffff88823bc00000
RDX: 00000000000000fb RSI: 00000000000000f0 RDI: ffff88801ec0dc80
RBP: 0000000000000140 R08: ffffffff813e27e7 R09: fffffbfff20fc231
R10: fffffbfff20fc231 R11: 1ffffffff20fc230 R12: 0000000000000000
R13: ffffffff81e0af94 R14: ffff888017728000 R15: 0000000000000001
FS: 0000555556655400(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f27b69821b8 CR3: 0000000029f28000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
____kasan_slab_free+0xc2/0x120 mm/kasan/common.c:229
kasan_slab_free include/linux/kasan.h:177 [inline]
slab_free_hook mm/slub.c:1781 [inline]
slab_free_freelist_hook+0x12e/0x1a0 mm/slub.c:1807
slab_free mm/slub.c:3787 [inline]
kmem_cache_free+0x94/0x1d0 mm/slub.c:3809
mac80211_hwsim_beacon_tx+0x5e1/0xa60 drivers/net/wireless/mac80211_hwsim.c:2116
__iterate_interfaces+0x231/0x4a0 net/mac80211/util.c:799
ieee80211_iterate_active_interfaces_atomic+0x9b/0x120 net/mac80211/util.c:835
mac80211_hwsim_beacon+0xc8/0x1d0 drivers/net/wireless/mac80211_hwsim.c:2142
__run_hrtimer kernel/time/hrtimer.c:1685 [inline]
__hrtimer_run_queues+0x50b/0xa60 kernel/time/hrtimer.c:1749
hrtimer_run_softirq+0x1a1/0x580 kernel/time/hrtimer.c:1766
__do_softirq+0x277/0x738 kernel/softirq.c:571
__irq_exit_rcu+0xcf/0x150 kernel/softirq.c:650
irq_exit_rcu+0x5/0x20 kernel/softirq.c:662
sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1107
</IRQ>
<TASK>
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:console_emit_next_record+0x84d/0x9f0 kernel/printk/printk.c:2832
Code: 39 7e 1c 00 48 8b 44 24 48 42 80 3c 28 00 44 8a 7c 24 0f 4c 8b 74 24 18 74 08 4c 89 f7 e8 fb 25 72 00 49 ff 06 4c 8b 64 24 40 <48> c7 84 24 80 00 00 00 0e 36 e0 45 4b c7 44 25 00 00 00 00 00 4b
RSP: 0018:ffffc90003e6ec20 EFLAGS: 00000293
RAX: ffffffff816f5d2f RBX: 0000000000000000 RCX: ffff88801c289d40
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003e6ee58 R08: ffffffff816f5d08 R09: fffffbfff20fc231
R10: fffffbfff20fc231 R11: 1ffffffff20fc230 R12: 1ffff920007cdd94
R13: dffffc0000000000 R14: 0000000000000082 R15: 0000000000000201
console_flush_all+0x2d4/0x6f0
console_unlock+0xd9/0x240 kernel/printk/printk.c:2964
vprintk_emit+0xd1/0x1e0 kernel/printk/printk.c:2357
_printk+0xc0/0x100 kernel/printk/printk.c:2378
bio_check_eod block/blk-core.c:535 [inline]
submit_bio_noacct+0x10ab/0x1880 block/blk-core.c:737
__submit_merged_bio fs/f2fs/data.c:581 [inline]
__f2fs_submit_merged_write fs/f2fs/data.c:665 [inline]
__submit_merged_write_cond+0x3fd/0x570 fs/f2fs/data.c:686
f2fs_submit_merged_write_cond fs/f2fs/data.c:703 [inline]
f2fs_write_cache_pages+0x207e/0x2330 fs/f2fs/data.c:3185
__f2fs_write_data_pages fs/f2fs/data.c:3265 [inline]
f2fs_write_data_pages+0x7d2/0xc30 fs/f2fs/data.c:3292
do_writepages+0x3c3/0x680 mm/page-writeback.c:2581
filemap_fdatawrite_wbc+0x11e/0x170 mm/filemap.c:388
__filemap_fdatawrite_range mm/filemap.c:421 [inline]
__filemap_fdatawrite mm/filemap.c:427 [inline]
filemap_fdatawrite+0x146/0x1d0 mm/filemap.c:432
f2fs_sync_dirty_inodes+0x2a0/0x670 fs/f2fs/checkpoint.c:1113
block_operations fs/f2fs/checkpoint.c:1246 [inline]
f2fs_write_checkpoint+0xbda/0x1d60 fs/f2fs/checkpoint.c:1655
kill_f2fs_super+0x22e/0x3c0 fs/f2fs/super.c:4634
deactivate_locked_super+0xa7/0xf0 fs/super.c:332
cleanup_mnt+0x494/0x520 fs/namespace.c:1291
task_work_run+0x243/0x300 kernel/task_work.c:179
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
exit_to_user_mode_loop+0x124/0x150 kernel/entry/common.c:171
exit_to_user_mode_prepare+0xb2/0x140 kernel/entry/common.c:203
__syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline]
syscall_exit_to_user_mode+0x26/0x60 kernel/entry/common.c:296
do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f4dbf08d517
Code: ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd58a32198 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f4dbf08d517
RDX: 00007ffd58a3226b RSI: 000000000000000a RDI: 00007ffd58a32260
RBP: 00007ffd58a32260 R08: 00000000ffffffff R09: 00007ffd58a32030
R10: 00005555566568b3 R11: 0000000000000246 R12: 00007f4dbf0e6b24
R13: 00007ffd58a33320 R14: 0000555556656810 R15: 00007ffd58a33360
</TASK>