INFO: task kworker/0:1H:41 blocked for more than 143 seconds.
Not tainted 6.12.0-rc2-syzkaller-00305-g7234e2ea0edd #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:kworker/0:1H state:D stack:22768 pid:41 tgid:41 ppid:2 flags:0x00004000
Workqueue: xfs-log/loop2 xlog_ioend_work
Call Trace:
context_switch kernel/sched/core.c:5322 [inline]
__schedule+0x1843/0x4ae0 kernel/sched/core.c:6682
__schedule_loop kernel/sched/core.c:6759 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6774
schedule_timeout+0xb0/0x310 kernel/time/timer.c:2591
___down_common kernel/locking/semaphore.c:225 [inline]
__down_common+0x346/0x7f0 kernel/locking/semaphore.c:246
down+0x84/0xc0 kernel/locking/semaphore.c:63
xfs_buf_lock+0x164/0x510 fs/xfs/xfs_buf.c:1196
xfs_buf_item_unpin+0x1dd/0x710 fs/xfs/xfs_buf_item.c:582
xlog_cil_committed+0x82f/0xf00 fs/xfs/xfs_log_cil.c:907
xlog_cil_process_committed+0x15c/0x1b0 fs/xfs/xfs_log_cil.c:938
xlog_state_shutdown_callbacks+0x2ba/0x3b0 fs/xfs/xfs_log.c:487
xlog_force_shutdown+0x32c/0x390 fs/xfs/xfs_log.c:3530
xlog_ioend_work+0xad/0x100 fs/xfs/xfs_log.c:1244
process_one_work kernel/workqueue.c:3229 [inline]
process_scheduled_works+0xa63/0x1850 kernel/workqueue.c:3310
worker_thread+0x870/0xd30 kernel/workqueue.c:3391
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
INFO: task syz.2.61:5942 blocked for more than 143 seconds.
Not tainted 6.12.0-rc2-syzkaller-00305-g7234e2ea0edd #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz.2.61 state:D stack:23072 pid:5942 tgid:5941 ppid:5476 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5322 [inline]
__schedule+0x1843/0x4ae0 kernel/sched/core.c:6682
__schedule_loop kernel/sched/core.c:6759 [inline]
schedule+0x14b/0x320 kernel/sched/core.c:6774
xlog_wait fs/xfs/xfs_log_priv.h:587 [inline]
xlog_wait_on_iclog+0x501/0x770 fs/xfs/xfs_log.c:840
xlog_force_lsn+0x523/0x9e0 fs/xfs/xfs_log.c:3066
xfs_log_force_seq+0x1da/0x450 fs/xfs/xfs_log.c:3103
__xfs_trans_commit+0xb98/0x1290 fs/xfs/xfs_trans.c:900
xfs_sync_sb_buf+0x2dc/0x370 fs/xfs/libxfs/xfs_sb.c:1192
xfs_ioc_setlabel fs/xfs/xfs_ioctl.c:1024 [inline]
xfs_file_ioctl+0x16f5/0x1a30 fs/xfs/xfs_ioctl.c:1179
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:907 [inline]
__se_sys_ioctl+0xf9/0x170 fs/ioctl.c:893
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f061057dff9
RSP: 002b:00007f06112eb038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f0610735f80 RCX: 00007f061057dff9
RDX: 0000000020000400 RSI: 0000000041009432 RDI: 0000000000000007
RBP: 00007f06105f0296 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f0610735f80 R15: 00007ffd213ab348
Showing all locks held in the system:
1 lock held by khungtaskd/30:
#0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline]
#0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:849 [inline]
#0: ffffffff8e937de0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6720
2 locks held by kworker/0:1H/41:
#0: ffff88807f74d948 ((wq_completion)xfs-log/loop2){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3204 [inline]
#0: ffff88807f74d948 ((wq_completion)xfs-log/loop2){+.+.}-{0:0}, at: process_scheduled_works+0x93b/0x1850 kernel/workqueue.c:3310
#1: ffffc90000b17d00 ((work_completion)(&iclog->ic_end_io_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3205 [inline]
#1: ffffc90000b17d00 ((work_completion)(&iclog->ic_end_io_work)){+.+.}-{0:0}, at: process_scheduled_works+0x976/0x1850 kernel/workqueue.c:3310
2 locks held by kworker/u8:6/1109:
1 lock held by klogd/4664:
2 locks held by getty/4978:
#0: ffff888027a360a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
#1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6a6/0x1e00 drivers/tty/n_tty.c:2211
1 lock held by syz.2.61/5942:
#0: ffff888063630420 (sb_writers#21){.+.+}-{0:0}, at: mnt_want_write_file+0x5e/0x200 fs/namespace.c:559
1 lock held by udevd/7773:
#0: ffffffff8eec23e8 (uuid_mutex){+.+.}-{3:3}, at: btrfs_control_ioctl+0x150/0x3e0 fs/btrfs/super.c:2258
2 locks held by syz.4.289/8185:
#0: ffff8880645960e0 (&type->s_umount_key#49/1){+.+.}-{3:3}, at: alloc_super+0x221/0x9d0 fs/super.c:344
#1: ffffffff8e7e21c8 (wq_pool_mutex){+.+.}-{3:3}, at: apply_wqattrs_lock kernel/workqueue.c:5152 [inline]
#1: ffffffff8e7e21c8 (wq_pool_mutex){+.+.}-{3:3}, at: __alloc_workqueue+0xa55/0x1f20 kernel/workqueue.c:5706
2 locks held by syz.0.287/8192:
#0: ffffffff8eec23e8 (uuid_mutex){+.+.}-{3:3}, at: btrfs_get_tree_super fs/btrfs/super.c:1835 [inline]
#0: ffffffff8eec23e8 (uuid_mutex){+.+.}-{3:3}, at: btrfs_get_tree+0x2dc/0x1920 fs/btrfs/super.c:2114
#1: ffffffff8e9f8fe8 (lock#3){+.+.}-{3:3}, at: __lru_add_drain_all+0x66/0x560 mm/swap.c:843
1 lock held by syz.3.291/8190:
#0: ffff8880293080e0 (&type->s_umount_key#63/1){+.+.}-{3:3}, at: alloc_super+0x221/0x9d0 fs/super.c:344
1 lock held by syz.1.292/8195:
=============================================
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 30 Comm: khungtaskd Not tainted 6.12.0-rc2-syzkaller-00305-g7234e2ea0edd #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x241/0x360 lib/dump_stack.c:120
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:162 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:223 [inline]
watchdog+0xff4/0x1040 kernel/hung_task.c:379
kthread+0x2f0/0x390 kernel/kthread.c:389
ret_from_fork+0x4b/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: 4657 Comm: syslogd Not tainted 6.12.0-rc2-syzkaller-00305-g7234e2ea0edd #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:arch_static_branch arch/x86/include/asm/jump_label.h:27 [inline]
RIP: 0010:static_key_false include/linux/jump_label.h:207 [inline]
RIP: 0010:native_write_msr arch/x86/include/asm/msr.h:149 [inline]
RIP: 0010:wrmsr arch/x86/include/asm/msr.h:256 [inline]
RIP: 0010:native_apic_msr_write+0x39/0x50 arch/x86/include/asm/apic.h:212
Code: 74 2a 83 ff 30 74 25 eb 10 81 ff d0 00 00 00 74 1b 81 ff e0 00 00 00 74 13 c1 ef 04 81 c7 00 08 00 00 89 f9 89 f0 31 d2 0f 30 <66> 90 c3 cc cc cc cc f3 0f 1e fa 89 f6 31 d2 e9 e3 c6 ac 03 0f 1f
RSP: 0018:ffffc90000007e68 EFLAGS: 00000046
RAX: 000000000002bd8d RBX: 0000000000000020 RCX: 0000000000000838
RDX: 0000000000000000 RSI: 000000000002bd8d RDI: 0000000000000838
RBP: 000000000002bd8d R08: ffffffff818579e9 R09: 1ffffffff20378dd
R10: dffffc0000000000 R11: ffffffff813ec4e0 R12: 00000000002bd809
R13: dffffc0000000000 R14: 00000000100049d1 R15: ffff8880b8628340
FS: 00007f500f993380(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f641933d000 CR3: 0000000030572000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
apic_write arch/x86/include/asm/apic.h:405 [inline]
lapic_next_event+0x11/0x20 arch/x86/kernel/apic/apic.c:415
clockevents_program_event+0x1c1/0x350 kernel/time/clockevents.c:334
hrtimer_interrupt+0x54a/0x990 kernel/time/hrtimer.c:1830
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1026 [inline]
__sysvec_apic_timer_interrupt+0x110/0x3f0 arch/x86/kernel/apic/apic.c:1043
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1037 [inline]
sysvec_apic_timer_interrupt+0xa1/0xc0 arch/x86/kernel/apic/apic.c:1037
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:kfree+0x0/0x440 mm/slub.c:4708
Code: a0 08 8e e8 22 49 ee ff 90 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1e fa 55 41 57 41 56 41 55 41 54 53 48 83 ec 28 49 89 fd 65
RSP: 0018:ffffc9000335f8c8 EFLAGS: 00000293
RAX: ffffffff89821878 RBX: 00000000000000c0 RCX: ffff88807e933c00
RDX: 0000000000000000 RSI: 00000000000000c0 RDI: ffff88807c5fd800
RBP: ffff88807c5fd8c0 R08: ffffffff8982181d R09: 1ffff11005a7878b
R10: dffffc0000000000 R11: ffffed1005a7878c R12: ffff88807bcd1cfe
R13: ffff88807c5fd8c2 R14: ffff88807c5fd800 R15: dffffc0000000000
skb_kfree_head net/core/skbuff.c:1086 [inline]
skb_free_head net/core/skbuff.c:1098 [inline]
skb_release_data+0x6a0/0x8a0 net/core/skbuff.c:1125
skb_release_all net/core/skbuff.c:1190 [inline]
__kfree_skb net/core/skbuff.c:1204 [inline]
consume_skb+0x9f/0xf0 net/core/skbuff.c:1436
__unix_dgram_recvmsg+0xcea/0x12f0 net/unix/af_unix.c:2520
sock_recvmsg_nosec net/socket.c:1051 [inline]
sock_recvmsg+0x22f/0x280 net/socket.c:1073
sock_read_iter+0x2c4/0x3d0 net/socket.c:1143
new_sync_read fs/read_write.c:488 [inline]
vfs_read+0x9bb/0xbc0 fs/read_write.c:569
ksys_read+0x183/0x2b0 fs/read_write.c:712
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f500fae7b6a
Code: 00 3d 00 00 41 00 75 0d 50 48 8d 3d 2d 08 0a 00 e8 ea 7d 01 00 31 c0 e9 07 ff ff ff 64 8b 04 25 18 00 00 00 85 c0 75 1b 0f 05 <48> 3d 00 f0 ff ff 76 6c 48 8b 15 8f a2 0d 00 f7 d8 64 89 02 48 83
RSP: 002b:00007ffd745db208 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f500fae7b6a
RDX: 00000000000000ff RSI: 0000559c1917e950 RDI: 0000000000000000
RBP: 0000559c1917e910 R08: 0000000000000001 R09: 0000000000000000
R10: 00007f500fc863a3 R11: 0000000000000246 R12: 0000559c1917e997
R13: 0000559c1917e950 R14: 0000000000000000 R15: 00007f500fccaa80