INFO: task syz-executor.1:11125 blocked for more than 143 seconds.
Not tainted 6.8.0-rc1-next-20240129-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:27248 pid:11125 tgid:11124 ppid:5092 flags:0x00004002
Call Trace:
context_switch kernel/sched/core.c:5400 [inline]
__schedule+0xf15/0x5ce0 kernel/sched/core.c:6727
__schedule_loop kernel/sched/core.c:6804 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6819
io_schedule+0xbf/0x130 kernel/sched/core.c:9025
folio_wait_bit_common+0x3da/0x9c0 mm/filemap.c:1274
__folio_lock mm/filemap.c:1612 [inline]
folio_lock include/linux/pagemap.h:1062 [inline]
folio_lock include/linux/pagemap.h:1058 [inline]
__filemap_get_folio+0x637/0xaa0 mm/filemap.c:1865
truncate_inode_pages_range+0x3a0/0xf00 mm/truncate.c:367
kill_bdev block/bdev.c:79 [inline]
blkdev_flush_mapping+0x144/0x310 block/bdev.c:638
blkdev_put_whole+0xc4/0xf0 block/bdev.c:669
bdev_release+0x509/0xa80 block/bdev.c:985
blkdev_release+0x37/0x50 block/fops.c:631
__fput+0x270/0xb80 fs/file_table.c:376
task_work_run+0x14e/0x250 kernel/task_work.c:180
exit_task_work include/linux/task_work.h:38 [inline]
do_exit+0xa7d/0x2ac0 kernel/exit.c:871
do_group_exit+0xd3/0x2a0 kernel/exit.c:1020
get_signal+0x2390/0x2760 kernel/signal.c:2893
arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:310
exit_to_user_mode_loop kernel/entry/common.c:105 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:201 [inline]
syscall_exit_to_user_mode+0x153/0x2b0 kernel/entry/common.c:212
do_syscall_64+0xe2/0x260 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x6d/0x75
RIP: 0033:0x7fa3ab67dda9
RSP: 002b:00007fa3ac42a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: 0000000000000000 RBX: 00007fa3ab7abf80 RCX: 00007fa3ab67dda9
RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003
RBP: 00007fa3ab6ca47a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fa3ab7abf80 R15: 00007ffc36fbd058
Showing all locks held in the system:
1 lock held by khungtaskd/29:
#0: ffffffff8d7b0920 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline]
#0: ffffffff8d7b0920 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline]
#0: ffffffff8d7b0920 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614
2 locks held by getty/4809:
#0: ffff88802f3890a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201
4 locks held by syz-executor.0/5097:
2 locks held by syz-executor.2/5096:
1 lock held by syz-executor.4/5101:
1 lock held by syz-executor.1/11125:
#0: ffff8880207914c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0xcd/0xa80 block/bdev.c:969
1 lock held by syz-executor.1/11820:
#0: ffff8880207914c8 (&disk->open_mutex){+.+.}-{3:3}, at: sync_bdevs+0xed/0x340 block/bdev.c:1097
3 locks held by syz-executor.1/13345:
3 locks held by syz-executor.0/13355:
2 locks held by syz-executor.2/13356:
1 lock held by syz-executor.2/13357:
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.8.0-rc1-next-20240129-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106
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:160 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline]
watchdog+0xf86/0x1210 kernel/hung_task.c:379
kthread+0x2c1/0x3a0 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:242
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 5190 Comm: kworker/1:8 Not tainted 6.8.0-rc1-next-20240129-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
Workqueue: events nsim_dev_trap_report_work
RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:26 [inline]
RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0xc/0x60 kernel/kcov.c:207
Code: c3 cc cc cc cc 66 0f 1f 84 00 00 00 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 65 48 8b 15 04 81 77 7e <65> 8b 05 05 81 77 7e a9 00 01 ff 00 48 8b 34 24 74 0f f6 c4 01 74
RSP: 0018:ffffc90003cdf760 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffffc90003cdf7e8 RCX: ffffffff813c16cd
RDX: ffff8880234e9e00 RSI: 0000000000000001 RDI: 0000000000000004
RBP: 0000000000000001 R08: 0000000000000004 R09: 0000000000000001
R10: 0000000000000001 R11: 0000000000000004 R12: 0000000000000001
R13: 0000000000000001 R14: 0000000000000001 R15: 0000000000000001
FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f77b2379198 CR3: 0000000037480000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
unwind_next_frame+0x118b/0x2390 arch/x86/kernel/unwind_orc.c:665
arch_stack_walk+0x100/0x170 arch/x86/kernel/stacktrace.c:25
stack_trace_save+0x95/0xd0 kernel/stacktrace.c:122
kasan_save_stack+0x33/0x60 mm/kasan/common.c:47
kasan_save_track+0x14/0x30 mm/kasan/common.c:68
kasan_save_free_info+0x3f/0x60 mm/kasan/generic.c:640
poison_slab_object mm/kasan/common.c:241 [inline]
__kasan_slab_free+0x121/0x1c0 mm/kasan/common.c:257
kasan_slab_free include/linux/kasan.h:184 [inline]
slab_free_hook mm/slub.c:2122 [inline]
slab_free mm/slub.c:4296 [inline]
kmem_cache_free+0x12e/0x360 mm/slub.c:4360
kfree_skbmem+0xef/0x1b0 net/core/skbuff.c:1051
__kfree_skb net/core/skbuff.c:1109 [inline]
consume_skb net/core/skbuff.c:1324 [inline]
consume_skb+0xdf/0x170 net/core/skbuff.c:1318
nsim_dev_trap_report drivers/net/netdevsim/dev.c:821 [inline]
nsim_dev_trap_report_work+0x878/0xc80 drivers/net/netdevsim/dev.c:850
process_one_work+0x8d5/0x16e0 kernel/workqueue.c:2636
process_scheduled_works kernel/workqueue.c:2710 [inline]
worker_thread+0x8b6/0x1290 kernel/workqueue.c:2791
kthread+0x2c1/0x3a0 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:242