INFO: task syz-executor340:5169 blocked for more than 143 seconds.
Not tainted 6.9.0-syzkaller-08284-gea5f6ad9ad96 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor340 state:D stack:28432 pid:5169 tgid:5167 ppid:5129 flags:0x00004006
Call Trace:
<TASK>
context_switch kernel/sched/core.c:5409 [inline]
__schedule+0x17e8/0x4a50 kernel/sched/core.c:6746
__schedule_loop kernel/sched/core.c:6823 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6838
schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6895
__mutex_lock_common kernel/locking/mutex.c:684 [inline]
__mutex_lock+0x6a4/0xd70 kernel/locking/mutex.c:752
blk_trace_remove+0x20/0x40 kernel/trace/blktrace.c:406
sg_ioctl_common drivers/scsi/sg.c:1129 [inline]
sg_ioctl+0x4bc/0x2e80 drivers/scsi/sg.c:1163
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:904 [inline]
__se_sys_ioctl+0xfe/0x170 fs/ioctl.c:890
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f7eddabcfd9
RSP: 002b:00007f7edda52238 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f7eddb443f8 RCX: 00007f7eddabcfd9
RDX: 0000000000000000 RSI: 0000000000001276 RDI: 0000000000000003
RBP: 00007f7eddb443f0 R08: 00007ffe19fa9287 R09: 00007f7edda526c0
R10: 0000000000000000 R11: 0000000000000246 R12: 2367732f7665642f
R13: 000000000000006e R14: 00007ffe19fa91a0 R15: 00007ffe19fa9288
</TASK>
Showing all locks held in the system:
1 lock held by khungtaskd/30:
#0: ffffffff8e334360 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:329 [inline]
#0: ffffffff8e334360 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:781 [inline]
#0: ffffffff8e334360 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6614
2 locks held by getty/4850:
#0: ffff88802ab950a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b5/0x1e10 drivers/tty/n_tty.c:2201
2 locks held by syz-executor340/5168:
1 lock held by syz-executor340/5169:
#0: ffff88801ffaed30 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_remove+0x20/0x40 kernel/trace/blktrace.c:406
1 lock held by syz-executor340/5171:
#0: ffff88801ffaed30 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_setup+0xb0/0x1e0 kernel/trace/blktrace.c:648
1 lock held by syz-executor340/5172:
#0: ffff88801ffaed30 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_remove+0x20/0x40 kernel/trace/blktrace.c:406
1 lock held by syz-executor340/5180:
#0: ffff88801ffaed30 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_setup+0xb0/0x1e0 kernel/trace/blktrace.c:648
1 lock held by syz-executor340/5181:
#0: ffff88801ffaed30 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_remove+0x20/0x40 kernel/trace/blktrace.c:406
1 lock held by syz-executor340/5184:
#0: ffff88801ffaed30 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_setup+0xb0/0x1e0 kernel/trace/blktrace.c:648
1 lock held by syz-executor340/5187:
#0: ffff88801ffaed30 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_remove+0x20/0x40 kernel/trace/blktrace.c:406
1 lock held by syz-executor340/5186:
#0: ffff88801ffaed30 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_setup+0xb0/0x1e0 kernel/trace/blktrace.c:648
1 lock held by syz-executor340/5188:
#0: ffff88801ffaed30 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_remove+0x20/0x40 kernel/trace/blktrace.c:406
1 lock held by syz-executor340/5190:
#0: ffff88801ffaed30 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_setup+0xb0/0x1e0 kernel/trace/blktrace.c:648
1 lock held by syz-executor340/5191:
#0: ffff88801ffaed30 (&q->debugfs_mutex){+.+.}-{3:3}, at: blk_trace_remove+0x20/0x40 kernel/trace/blktrace.c:406
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 30 Comm: khungtaskd Not tainted 6.9.0-syzkaller-08284-gea5f6ad9ad96 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
Call Trace:
<TASK>
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114
nmi_cpu_backtrace+0x49c/0x4d0 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x198/0x320 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline]
watchdog+0xfde/0x1020 kernel/hung_task.c:380
kthread+0x2f2/0x390 kernel/kthread.c:389
ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
</TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 5168 Comm: syz-executor340 Not tainted 6.9.0-syzkaller-08284-gea5f6ad9ad96 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024
RIP: 0010:kasan_check_range+0x7/0x290 mm/kasan/generic.c:188
Code: 4f ac e4 ff 90 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f 1f 00 55 41 57 <41> 56 41 54 53 b0 01 48 85 f6 0f 84 a0 01 00 00 4c 8d 04 37 49 39
RSP: 0018:ffffc90002f4f128 EFLAGS: 00000046
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff81729da0
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8facda28
RBP: ffffc90002f4f270 R08: ffffffff92f9d587 R09: 1ffffffff25f3ab0
R10: dffffc0000000000 R11: fffffbfff25f3ab1 R12: 1ffff920005e9e34
R13: ffffffff81ef0f8f R14: 1ffff920005e9e54 R15: dffffc0000000000
FS: 00007f7edda736c0(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555869eb738 CR3: 000000002baa6000 CR4: 0000000000350ef0
Call Trace:
<NMI>
</NMI>
<TASK>
instrument_atomic_read include/linux/instrumented.h:68 [inline]
_test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline]
cpumask_test_cpu include/linux/cpumask.h:545 [inline]
cpu_online include/linux/cpumask.h:1160 [inline]
trace_lock_release include/trace/events/lock.h:69 [inline]
lock_release+0xb0/0x9f0 kernel/locking/lockdep.c:5765
seqcount_lockdep_reader_access+0xfc/0x1e0 include/linux/seqlock.h:73
read_seqbegin include/linux/seqlock.h:772 [inline]
zone_span_seqbegin include/linux/memory_hotplug.h:151 [inline]
page_outside_zone_boundaries mm/page_alloc.c:451 [inline]
bad_range+0x5f/0x270 mm/page_alloc.c:470
expand mm/page_alloc.c:1395 [inline]
__rmqueue_smallest mm/page_alloc.c:1577 [inline]
__rmqueue mm/page_alloc.c:2107 [inline]
rmqueue_bulk mm/page_alloc.c:2133 [inline]
__rmqueue_pcplist+0x15e1/0x2620 mm/page_alloc.c:2826
rmqueue_pcplist mm/page_alloc.c:2868 [inline]
rmqueue mm/page_alloc.c:2905 [inline]
get_page_from_freelist+0x856/0x35b0 mm/page_alloc.c:3314
__alloc_pages+0x256/0x6c0 mm/page_alloc.c:4575
alloc_pages_mpol+0x3e8/0x680 mm/mempolicy.c:2264
relay_alloc_buf kernel/relay.c:121 [inline]
relay_create_buf kernel/relay.c:162 [inline]
relay_open_buf+0x2bd/0xd60 kernel/relay.c:384
relay_open+0x3aa/0x890 kernel/relay.c:517
do_blk_trace_setup+0x547/0x970 kernel/trace/blktrace.c:591
__blk_trace_setup kernel/trace/blktrace.c:631 [inline]
blk_trace_setup+0x119/0x1e0 kernel/trace/blktrace.c:649
sg_ioctl_common drivers/scsi/sg.c:1121 [inline]
sg_ioctl+0xa4c/0x2e80 drivers/scsi/sg.c:1163
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:904 [inline]
__se_sys_ioctl+0xfe/0x170 fs/ioctl.c:890
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f7eddabcfd9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 91 1a 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f7edda73238 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f7eddb443e8 RCX: 00007f7eddabcfd9
RDX: 0000000020000040 RSI: 00000000c0481273 RDI: 0000000000000003
RBP: 00007f7eddb443e0 R08: 00007f7edda736c0 R09: 00007f7edda736c0
R10: 00007f7edda736c0 R11: 0000000000000246 R12: 2367732f7665642f
R13: 0000000000000016 R14: 00007ffe19fa91a0 R15: 00007ffe19fa9288
</TASK>
INFO: NMI handler (nmi_cpu_backtrace_handler) took too long to run: 2.655 msecs