INFO: task syz-executor.5:10491 blocked for more than 143 seconds.
Not tainted 5.16.0-rc1-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5 state:D stack:26104 pid:10491 ppid: 6551 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xa9a/0x4940 kernel/sched/core.c:6253
schedule+0xd2/0x260 kernel/sched/core.c:6326
blk_mq_freeze_queue_wait+0x112/0x160 block/blk-mq.c:178
loop_set_status+0x17d/0x930 drivers/block/loop.c:1264
loop_set_status_old+0x148/0x1b0 drivers/block/loop.c:1396
lo_ioctl+0x3e9/0x17c0 drivers/block/loop.c:1566
blkdev_ioctl+0x37a/0x800 block/ioctl.c:609
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:874 [inline]
__se_sys_ioctl fs/ioctl.c:860 [inline]
__x64_sys_ioctl+0x193/0x200 fs/ioctl.c:860
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fada12b4ae9
RSP: 002b:00007fad9e82a188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fada13c7f60 RCX: 00007fada12b4ae9
RDX: 0000000020000780 RSI: 0000000000004c02 RDI: 0000000000000006
RBP: 00007fada130ef6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff6c94cd6f R14: 00007fad9e82a300 R15: 0000000000022000
INFO: task syz-executor.5:10500 blocked for more than 143 seconds.
Not tainted 5.16.0-rc1-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5 state:D stack:26160 pid:10500 ppid: 6551 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xa9a/0x4940 kernel/sched/core.c:6253
schedule+0xd2/0x260 kernel/sched/core.c:6326
__bio_queue_enter+0x3c5/0x6a0 block/blk-core.c:441
bio_queue_enter block/blk.h:91 [inline]
blk_mq_get_request block/blk-mq.c:2588 [inline]
blk_mq_submit_bio+0x4ae/0x22c0 block/blk-mq.c:2632
__submit_bio block/blk-core.c:849 [inline]
__submit_bio_noacct_mq block/blk-core.c:924 [inline]
submit_bio_noacct block/blk-core.c:950 [inline]
submit_bio_noacct+0x82c/0xa20 block/blk-core.c:939
submit_bio block/blk-core.c:1011 [inline]
submit_bio+0x1ea/0x430 block/blk-core.c:969
submit_bh_wbc+0x5e8/0x7e0 fs/buffer.c:3054
submit_bh fs/buffer.c:3060 [inline]
block_read_full_page+0xa25/0xda0 fs/buffer.c:2339
filemap_read_page+0x152/0x420 mm/filemap.c:2391
filemap_update_page mm/filemap.c:2470 [inline]
filemap_get_pages+0x14a2/0x1be0 mm/filemap.c:2579
filemap_read+0x315/0xeb0 mm/filemap.c:2642
generic_file_read_iter+0x3b6/0x5a0 mm/filemap.c:2792
blkdev_read_iter+0xf8/0x1d0 block/fops.c:583
call_read_iter include/linux/fs.h:2156 [inline]
generic_file_splice_read+0x453/0x6d0 fs/splice.c:311
do_splice_to+0x1bf/0x250 fs/splice.c:796
splice_direct_to_actor+0x2c2/0x8c0 fs/splice.c:870
do_splice_direct+0x1b3/0x280 fs/splice.c:979
do_sendfile+0xaf2/0x1250 fs/read_write.c:1245
__do_sys_sendfile64 fs/read_write.c:1310 [inline]
__se_sys_sendfile64 fs/read_write.c:1296 [inline]
__x64_sys_sendfile64+0x1cc/0x210 fs/read_write.c:1296
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fada12b4ae9
RSP: 002b:00007fad9e809188 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007fada13c8020 RCX: 00007fada12b4ae9
RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000006
RBP: 00007fada130ef6d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000024002da8 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff6c94cd6f R14: 00007fad9e809300 R15: 0000000000022000
Showing all locks held in the system:
2 locks held by kworker/u4:0/8:
#0: ffff8880b9d39a98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478
#1: ffffc90000cd7db0 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x8ca/0x1690 kernel/workqueue.c:2273
1 lock held by khungtaskd/27:
#0: ffffffff8bb83a60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458
1 lock held by in:imklog/6225:
#0: ffff88801c66a870 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990
2 locks held by systemd-udevd/10486:
#0: ffff88801a846118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb50 block/bdev.c:819
#1: ffff88801a841b60 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_open+0x75/0x120 drivers/block/loop.c:1733
1 lock held by syz-executor.5/10491:
#0: ffff88801a841b60 (&lo->lo_mutex){+.+.}-{3:3}, at: loop_set_status+0x2a/0x930 drivers/block/loop.c:1248
1 lock held by syz-executor.5/10500:
#0: ffff8880110c9548 (mapping.invalidate_lock#2){.+.+}-{3:3}, at: filemap_invalidate_lock_shared include/linux/fs.h:838 [inline]
#0: ffff8880110c9548 (mapping.invalidate_lock#2){.+.+}-{3:3}, at: filemap_update_page mm/filemap.c:2441 [inline]
#0: ffff8880110c9548 (mapping.invalidate_lock#2){.+.+}-{3:3}, at: filemap_get_pages+0x10f7/0x1be0 mm/filemap.c:2579
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:105
nmi_trigger_cpumask_backtrace+0x1ae/0x220 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline]
watchdog+0xc1d/0xf50 kernel/hung_task.c:295
kthread+0x405/0x4f0 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 2957 Comm: systemd-journal Not tainted 5.16.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:hlist_bl_first_rcu include/linux/rculist_bl.h:24 [inline]
RIP: 0010:__d_lookup_rcu+0xcd/0x6c0 fs/dcache.c:2298
Code: ff 8b 54 24 08 44 89 e1 48 8b 05 3e 5d c1 0b d3 ea 48 8d 2c d0 48 b8 00 00 00 00 00 fc ff df 48 89 ea 48 c1 ea 03 80 3c 02 00 <0f> 85 60 05 00 00 be 08 00 00 00 48 89 ef 4c 8b 6d 00 e8 0c 5d ee
RSP: 0018:ffffc90001f0f7e8 EFLAGS: 00000246
RAX: dffffc0000000000 RBX: ffffc90001f0fc58 RCX: 000000000000000c
RDX: 1ffff920000d5355 RSI: ffffffff81d045c4 RDI: 0000000000000003
RBP: ffffc900006a9aa8 R08: 000000000000001f R09: 0000000000000030
R10: ffffffff81d045b5 R11: 0000000000000000 R12: 000000000000000c
R13: 0000000000000040 R14: ffff88807c3e85e0 R15: ffffc90001f0fc80
FS: 00007fd24dc568c0(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd24b09d040 CR3: 000000001d1f5000 CR4: 0000000000350ee0
Call Trace:
lookup_fast+0xe1/0x6d0 fs/namei.c:1580
walk_component+0xcf/0x6a0 fs/namei.c:1966
link_path_walk.part.0+0x757/0xd00 fs/namei.c:2297
link_path_walk fs/namei.c:2222 [inline]
path_openat+0x263/0x2750 fs/namei.c:3555
do_filp_open+0x1aa/0x400 fs/namei.c:3586
do_sys_openat2+0x16d/0x4d0 fs/open.c:1212
do_sys_open fs/open.c:1228 [inline]
__do_sys_open fs/open.c:1236 [inline]
__se_sys_open fs/open.c:1232 [inline]
__x64_sys_open+0x119/0x1c0 fs/open.c:1232
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fd24d1e5840
Code: 73 01 c3 48 8b 0d 68 77 20 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 83 3d 89 bb 20 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 1e f6 ff ff 48 89 04 24
RSP: 002b:00007ffe5d882fb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007ffe5d8832c0 RCX: 00007fd24d1e5840
RDX: 00000000000001a0 RSI: 0000000000080042 RDI: 0000559482e04890
RBP: 000000000000000d R08: 000000000000ffc0 R09: 00000000ffffffff
R10: 0000000000000069 R11: 0000000000000246 R12: 00000000ffffffff
R13: 0000559482e00040 R14: 00007ffe5d883280 R15: 0000559482e0ddb0
----------------
Code disassembly (best guess):
0: ff 8b 54 24 08 44 decl 0x44082454(%rbx)
6: 89 e1 mov %esp,%ecx
8: 48 8b 05 3e 5d c1 0b mov 0xbc15d3e(%rip),%rax # 0xbc15d4d
f: d3 ea shr %cl,%edx
11: 48 8d 2c d0 lea (%rax,%rdx,8),%rbp
15: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
1c: fc ff df
1f: 48 89 ea mov %rbp,%rdx
22: 48 c1 ea 03 shr $0x3,%rdx
26: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1)
* 2a: 0f 85 60 05 00 00 jne 0x590 <-- trapping instruction
30: be 08 00 00 00 mov $0x8,%esi
35: 48 89 ef mov %rbp,%rdi
38: 4c 8b 6d 00 mov 0x0(%rbp),%r13
3c: e8 .byte 0xe8
3d: 0c 5d or $0x5d,%al
3f: ee out %al,(%dx)