ci starts bisection 2023-02-08 00:33:46.106644632 +0000 UTC m=+34046.219373950
bisecting fixing commit since 9b43a525db125799df81e6fbef712a2ae50bfc5d
building syzkaller on 1dac8c7a01e2bdd35cb04eb4901ddb157291ac2d
ensuring issue is reproducible on original commit 9b43a525db125799df81e6fbef712a2ae50bfc5d
testing commit 9b43a525db125799df81e6fbef712a2ae50bfc5d gcc
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2
kernel signature: 35e498b632622488a17383abb71a746180b898d0d90c41c071c0f7828121983f
all runs: crashed: INFO: task hung in blkdev_put
testing current HEAD 0983f6bf2bfc0789b51ddf7315f644ff4da50acb
testing commit 0983f6bf2bfc0789b51ddf7315f644ff4da50acb gcc
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2
kernel signature: e10cb34bbcac6e9593fec2ffcccc58d3f260619bb372bfae76e2718d1d955b1e
all runs: crashed: INFO: task hung in blkdev_put
revisions tested: 2, total time: 31m49.690606291s (build: 19m29.299554442s, test: 11m41.917183333s)
the crash still happens on HEAD
commit msg: Merge tag 'devicetree-fixes-for-6.2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux
crash: INFO: task hung in blkdev_put
INFO: task syz-executor.0:5585 blocked for more than 143 seconds.
Not tainted 6.2.0-rc7-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:26816 pid:5585 ppid:5519 flags:0x00004006
Call Trace:
__schedule+0x13e2/0x43b0
schedule+0xc3/0x190
schedule_preempt_disabled+0x13/0x20
__mutex_lock_common+0xe33/0x2530
mutex_lock_nested+0x1b/0x20
blkdev_put+0xe8/0x5c0
blkdev_close+0x55/0x80
__fput+0x33f/0x720
task_work_run+0x20a/0x290
get_signal+0x1144/0x12e0
arch_do_signal_or_restart+0x91/0x670
exit_to_user_mode_loop+0x6a/0x100
exit_to_user_mode_prepare+0xb1/0x140
syscall_exit_to_user_mode+0x64/0x2e0
do_syscall_64+0x4d/0xc0
entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f595688c0c9
RSP: 002b:00007f5955bdd168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: 0000000000000000 RBX: 00007f59569ac050 RCX: 00007f595688c0c9
RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003
RBP: 00007f59568e7ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc33ee3a7f R14: 00007f5955bdd300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8bf15b30 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xce0
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8bf16330 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xce0
1 lock held by khungtaskd/28:
#0: ffffffff8bf15960 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/4733:
#0: ffff888026ad9098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x20/0x60
#1: ffffc900015a02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x5ed/0x1880
1 lock held by udevd/5514:
#0: ffff888146c2a4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xd6/0x8b0
1 lock held by syz-executor.0/5585:
#0: ffff888146c2a4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xe8/0x5c0
1 lock held by syz-executor.0/6197:
#0: ffff888146c2a4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xd6/0x8b0
1 lock held by syz-executor.0/6214:
#0: ffff888146c2a4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xd6/0x8b0
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 6.2.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
Call Trace:
dump_stack_lvl+0x167/0x220
nmi_cpu_backtrace+0x381/0x3f0
nmi_trigger_cpumask_backtrace+0x138/0x310
watchdog+0xb32/0xb70
kthread+0x232/0x2b0
ret_from_fork+0x1f/0x30
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 3444 Comm: kworker/u4:6 Not tainted 6.2.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:__text_poke+0x86a/0xa00
Code: f3 97 00 f6 84 24 01 01 00 00 02 0f 85 a4 00 00 00 41 f7 c5 00 02 00 00 48 8b 5c 24 58 74 01 fb 48 b8 00 00 00 00 00 fc ff df <41> 80 3c 07 00 74 0d 48 8d bc 24 40 01 00 00 e8 32 f3 97 00 48 8b
RSP: 0018:ffffc9000ddaf860 EFLAGS: 00000206
RAX: dffffc0000000000 RBX: 1ffff92001bb5f18 RCX: ffffffff81616cea
RDX: dffffc0000000000 RSI: ffffffff89ea61a0 RDI: ffffffff8a381380
RBP: ffffc9000ddafa10 R08: dffffc0000000000 R09: fffffbfff1ddd031
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff81c33b3e
R13: 0000000000000246 R14: ffffc9000ddaf960 R15: 1ffff92001bb5f34
FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005604667c2680 CR3: 000000000bc8e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
text_poke_bp_batch+0x439/0x850
text_poke_finish+0x1a/0x30
arch_jump_label_transform_apply+0x17/0x30
static_key_enable_cpuslocked+0xea/0x200
static_key_enable+0x15/0x20
toggle_allocation_gate+0xa7/0x1e0
process_one_work+0x7e5/0x1000
worker_thread+0x8c9/0xfd0
kthread+0x232/0x2b0
ret_from_fork+0x1f/0x30