INFO: task syz.4.4911:23296 blocked for more than 143 seconds.
Not tainted 6.12.0-rc7-syzkaller-00212-g4a5df3796467 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.4.4911 state:D stack:25824 pid:23296 tgid:23296 ppid:19920 flags:0x00000006
Call Trace:
context_switch kernel/sched/core.c:5328 [inline]
__schedule+0xe55/0x5740 kernel/sched/core.c:6693
__schedule_loop kernel/sched/core.c:6770 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6785
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6842
rwsem_down_write_slowpath+0x539/0x12a0 kernel/locking/rwsem.c:1176
__down_write_common kernel/locking/rwsem.c:1304 [inline]
__down_write kernel/locking/rwsem.c:1313 [inline]
down_write+0x1d8/0x200 kernel/locking/rwsem.c:1578
inode_lock include/linux/fs.h:815 [inline]
fuse_flush+0x2f5/0x6d0 fs/fuse/file.c:520
filp_flush+0xb2/0x190 fs/open.c:1527
filp_close+0x1c/0x30 fs/open.c:1540
__range_close fs/file.c:703 [inline]
__close_range+0x383/0x700 fs/file.c:760
__do_sys_close_range fs/open.c:1593 [inline]
__se_sys_close_range fs/open.c:1590 [inline]
__x64_sys_close_range+0x72/0xb0 fs/open.c:1590
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fa898f7e719
RSP: 002b:00007ffccd0fcf38 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4
RAX: ffffffffffffffda RBX: 00007fa899137a80 RCX: 00007fa898f7e719
RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003
RBP: 00007fa899137a80 R08: 0000000000000006 R09: 00007ffccd0fd22f
R10: 00000000003ffd40 R11: 0000000000000246 R12: 00000000001b6c33
R13: 00007ffccd0fd040 R14: 0000000000000032 R15: ffffffffffffffff
INFO: task syz.4.4911:23299 blocked for more than 143 seconds.
Not tainted 6.12.0-rc7-syzkaller-00212-g4a5df3796467 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.4.4911 state:D stack:27856 pid:23299 tgid:23296 ppid:19920 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5328 [inline]
__schedule+0xe55/0x5740 kernel/sched/core.c:6693
__schedule_loop kernel/sched/core.c:6770 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6785
request_wait_answer+0x4f8/0x900 fs/fuse/dev.c:464
__fuse_request_send fs/fuse/dev.c:478 [inline]
__fuse_simple_request+0x32d/0xcb0 fs/fuse/dev.c:572
fuse_simple_request fs/fuse/fuse_i.h:1156 [inline]
fuse_send_write fs/fuse/file.c:1104 [inline]
fuse_direct_io+0xd4b/0x2160 fs/fuse/file.c:1593
fuse_direct_write_iter+0x551/0x890 fs/fuse/file.c:1678
fuse_file_write_iter+0x6d9/0x8f0 fs/fuse/file.c:1723
do_iter_readv_writev+0x532/0x7f0 fs/read_write.c:834
vfs_writev+0x363/0xdd0 fs/read_write.c:1064
do_writev+0x137/0x370 fs/read_write.c:1111
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fa898f7e719
RSP: 002b:00007fa899e25038 EFLAGS: 00000246 ORIG_RAX: 0000000000000014
RAX: ffffffffffffffda RBX: 00007fa899136058 RCX: 00007fa898f7e719
RDX: 0000000000000002 RSI: 0000000020000180 RDI: 0000000000000004
RBP: 00007fa898ff175e R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fa899136058 R15: 00007ffccd0fcdd8
Showing all locks held in the system:
3 locks held by kworker/u8:0/11:
#0: ffff8880b863eed8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:598
#1: ffff8880b8628a48 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2c1/0x8e0 kernel/sched/psi.c:987
#2: ffff8880b862a858 (&base->lock){-.-.}-{2:2}, at: __mod_timer+0x6c1/0xdc0 kernel/time/timer.c:1164
1 lock held by khungtaskd/30:
#0: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#0: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff8e1b8340 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x7f/0x390 kernel/locking/lockdep.c:6720
2 locks held by getty/5578:
#0: ffff88814d4e60a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900032532f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfba/0x1480 drivers/tty/n_tty.c:2211
1 lock held by syz.4.4911/23296:
#0: ffff888078a2f548 (&sb->s_type->i_mutex_key#23){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:815 [inline]
#0: ffff888078a2f548 (&sb->s_type->i_mutex_key#23){+.+.}-{3:3}, at: fuse_flush+0x2f5/0x6d0 fs/fuse/file.c:520
3 locks held by syz.4.4911/23299:
#0: ffff88807ecad0b8 (&f->f_pos_lock){+.+.}-{3:3}, at: fdget_pos+0x24c/0x360 fs/file.c:1160
#1: ffff88802332c420 (sb_writers#18){.+.+}-{0:0}, at: do_writev+0x137/0x370 fs/read_write.c:1111
#2: ffff888078a2f548 (&sb->s_type->i_mutex_key#23){+.+.}-{3:3}, at: inode_lock include/linux/fs.h:815 [inline]
#2: ffff888078a2f548 (&sb->s_type->i_mutex_key#23){+.+.}-{3:3}, at: fuse_dio_lock fs/fuse/file.c:1365 [inline]
#2: ffff888078a2f548 (&sb->s_type->i_mutex_key#23){+.+.}-{3:3}, at: fuse_direct_write_iter+0x463/0x890 fs/fuse/file.c:1671
1 lock held by syz.0.5208/24072:
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc7-syzkaller-00212-g4a5df3796467 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x29c/0x300 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:162 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline]
watchdog+0xf0c/0x1240 kernel/hung_task.c:379
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 24072 Comm: syz.0.5208 Not tainted 6.12.0-rc7-syzkaller-00212-g4a5df3796467 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024
RIP: 0010:__kasan_check_read+0x0/0x20 mm/kasan/shadow.c:30
Code: c3 cc cc cc cc 48 83 c4 60 48 c7 c7 e0 8e 7b 8d 5b 5d 41 5c e9 51 f8 7d ff 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 48 8b 0c 24 89 f6 31 d2 e9 2f f1 ff ff 66 66 2e 0f 1f
RSP: 0018:ffffc90002f9f1d8 EFLAGS: 00000007
RAX: 0000000000000018 RBX: ffffed100f734a6b RCX: 000000000000062c
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff96e2ed00
RBP: 000000000000062c R08: ffff88807b9a5360 R09: fffffbfff2dc5d88
R10: ffffffff96e2ec47 R11: 0000000000000002 R12: dffffc0000000000
R13: 0000000000000000 R14: 0000000000000004 R15: ffff88807b9a4880
FS: 00007fd1b57366c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055d110833178 CR3: 000000006c880000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
instrument_atomic_read include/linux/instrumented.h:68 [inline]
_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline]
hlock_class kernel/locking/lockdep.c:228 [inline]
check_wait_context kernel/locking/lockdep.c:4851 [inline]
__lock_acquire+0x6eb/0x3ce0 kernel/locking/lockdep.c:5152
lock_acquire.part.0+0x11b/0x380 kernel/locking/lockdep.c:5825
rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
rcu_read_lock include/linux/rcupdate.h:849 [inline]
avc_reclaim_node security/selinux/avc.c:470 [inline]
avc_alloc_node+0x265/0x5a0 security/selinux/avc.c:501
avc_insert security/selinux/avc.c:612 [inline]
avc_compute_av+0xfd/0x5c0 security/selinux/avc.c:987
avc_perm_nonode+0xaa/0x170 security/selinux/avc.c:1110
avc_has_perm_noaudit+0x2d2/0x3a0 security/selinux/avc.c:1153
avc_has_perm+0xc1/0x1c0 security/selinux/avc.c:1188
sock_has_perm+0x256/0x2f0 security/selinux/hooks.c:4619
selinux_socket_connect_helper.isra.0+0xc1/0x550 security/selinux/hooks.c:4838
selinux_sctp_bind_connect+0x24b/0x2c0 security/selinux/hooks.c:5454
security_sctp_bind_connect+0x238/0x260 security/security.c:5110
__sctp_setsockopt_connectx+0x50/0x170 net/sctp/socket.c:1324
sctp_getsockopt_connectx3 net/sctp/socket.c:1421 [inline]
sctp_getsockopt+0x2d1e/0x74a0 net/sctp/socket.c:8133
do_sock_getsockopt+0x3fe/0x800 net/socket.c:2396
__sys_getsockopt+0x1a1/0x270 net/socket.c:2425
__do_sys_getsockopt net/socket.c:2435 [inline]
__se_sys_getsockopt net/socket.c:2432 [inline]
__x64_sys_getsockopt+0xbd/0x160 net/socket.c:2432
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd1b497e719
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fd1b5736038 EFLAGS: 00000246 ORIG_RAX: 0000000000000037
RAX: ffffffffffffffda RBX: 00007fd1b4b35f80 RCX: 00007fd1b497e719
RDX: 000000000000006f RSI: 0000000000000084 RDI: 0000000000000003
RBP: 00007fd1b49f175e R08: 0000000020000080 R09: 0000000000000000
R10: 0000000020000040 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007fd1b4b35f80 R15: 00007ffe0079c608