bisecting fixing commit since a1b8638ba1320e6684aa98233c15255eb803fac7
building syzkaller on 6bfdbe8950b22b1c832478bd397754f3108df040
testing commit a1b8638ba1320e6684aa98233c15255eb803fac7
compiler: gcc (GCC) 8.4.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2
kernel signature: a2bd2a7914d84f11d354c624287775dee6716e67bda7a3dc929d141adfda16a6
all runs: crashed: INFO: task hung in do_read_cache_page
testing current HEAD aad611a868d16cdc16a7d4a764cef955293e47e3
testing commit aad611a868d16cdc16a7d4a764cef955293e47e3
compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2
kernel signature: fce3d639eccc6b025b9e2264aeac5dec24c0490b7590bc56c46f248a81ab627e
all runs: crashed: INFO: task hung in do_read_cache_folio
revisions tested: 2, total time: 25m35.632250614s (build: 11m0.003946726s, test: 13m39.140092947s)
the crash still happens on HEAD
commit msg: Merge tag 'perf-tools-fixes-for-v5.17-2022-03-12' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux
crash: INFO: task hung in do_read_cache_folio
INFO: task udevd:2717 blocked for more than 143 seconds.
Not tainted 5.17.0-rc7-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd state:D stack:26776 pid: 2717 ppid: 2146 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:4995 [inline]
__schedule+0xd8c/0x27d0 kernel/sched/core.c:6304
schedule+0xd2/0x260 kernel/sched/core.c:6377
io_schedule+0xee/0x170 kernel/sched/core.c:8416
folio_wait_bit_common+0x387/0x7d0 mm/filemap.c:1322
folio_wait_bit mm/filemap.c:1471 [inline]
folio_wait_locked include/linux/pagemap.h:847 [inline]
folio_wait_locked include/linux/pagemap.h:844 [inline]
do_read_cache_folio+0x3c6/0x5f0 mm/filemap.c:3495
do_read_cache_page mm/filemap.c:3567 [inline]
read_cache_page+0x48/0x160 mm/filemap.c:3576
read_mapping_page include/linux/pagemap.h:641 [inline]
read_part_sector+0xde/0x450 block/partitions/core.c:724
adfspart_check_ICS+0x95/0xae0 block/partitions/acorn.c:360
check_partition block/partitions/core.c:148 [inline]
blk_add_partitions block/partitions/core.c:609 [inline]
bdev_disk_changed block/partitions/core.c:695 [inline]
bdev_disk_changed+0x497/0xd20 block/partitions/core.c:662
blkdev_get_whole+0x195/0x270 block/bdev.c:679
blkdev_get_by_dev.part.0+0x4c0/0xb10 block/bdev.c:813
blkdev_open+0xf6/0x260 block/fops.c:503
do_dentry_open+0x429/0x1050 fs/open.c:824
do_open fs/namei.c:3476 [inline]
path_openat+0x9ea/0x2390 fs/namei.c:3609
do_filp_open+0x199/0x3d0 fs/namei.c:3636
do_sys_openat2+0x11e/0x400 fs/open.c:1214
do_sys_open fs/open.c:1230 [inline]
__do_sys_openat fs/open.c:1246 [inline]
__se_sys_openat fs/open.c:1241 [inline]
__x64_sys_openat+0x11b/0x1d0 fs/open.c:1241
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:0x7fe56205f697
RSP: 002b:00007ffe07981d20 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 000055a0f9d46820 RCX: 00007fe56205f697
RDX: 00000000000a0800 RSI: 000055a0f9d2b140 RDI: 00000000ffffff9c
RBP: 000055a0f9d2b140 R08: 0000000000000001 R09: 00007ffe079c5080
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800
R13: 000055a0f9d3ec90 R14: 0000000000000001 R15: 000055a0f9d0e2c0
INFO: task udevd:2719 blocked for more than 143 seconds.
Not tainted 5.17.0-rc7-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd state:D stack:26776 pid: 2719 ppid: 2146 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:4995 [inline]
__schedule+0xd8c/0x27d0 kernel/sched/core.c:6304
schedule+0xd2/0x260 kernel/sched/core.c:6377
io_schedule+0xee/0x170 kernel/sched/core.c:8416
folio_wait_bit_common+0x387/0x7d0 mm/filemap.c:1322
folio_wait_bit mm/filemap.c:1471 [inline]
folio_wait_locked include/linux/pagemap.h:847 [inline]
folio_wait_locked include/linux/pagemap.h:844 [inline]
do_read_cache_folio+0x3c6/0x5f0 mm/filemap.c:3495
do_read_cache_page mm/filemap.c:3567 [inline]
read_cache_page+0x48/0x160 mm/filemap.c:3576
read_mapping_page include/linux/pagemap.h:641 [inline]
read_part_sector+0xde/0x450 block/partitions/core.c:724
adfspart_check_ICS+0x95/0xae0 block/partitions/acorn.c:360
check_partition block/partitions/core.c:148 [inline]
blk_add_partitions block/partitions/core.c:609 [inline]
bdev_disk_changed block/partitions/core.c:695 [inline]
bdev_disk_changed+0x497/0xd20 block/partitions/core.c:662
blkdev_get_whole+0x195/0x270 block/bdev.c:679
blkdev_get_by_dev.part.0+0x4c0/0xb10 block/bdev.c:813
blkdev_open+0xf6/0x260 block/fops.c:503
do_dentry_open+0x429/0x1050 fs/open.c:824
do_open fs/namei.c:3476 [inline]
path_openat+0x9ea/0x2390 fs/namei.c:3609
do_filp_open+0x199/0x3d0 fs/namei.c:3636
do_sys_openat2+0x11e/0x400 fs/open.c:1214
do_sys_open fs/open.c:1230 [inline]
__do_sys_openat fs/open.c:1246 [inline]
__se_sys_openat fs/open.c:1241 [inline]
__x64_sys_openat+0x11b/0x1d0 fs/open.c:1241
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:0x7fe56205f697
RSP: 002b:00007ffe07981d20 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 000055a0f9d380c0 RCX: 00007fe56205f697
RDX: 00000000000a0800 RSI: 000055a0f9d39450 RDI: 00000000ffffff9c
RBP: 000055a0f9d39450 R08: 0000000000000001 R09: 00007ffe079c5080
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800
R13: 000055a0f9d3ec90 R14: 0000000000000001 R15: 000055a0f9d0e2c0
INFO: task udevd:2723 blocked for more than 144 seconds.
Not tainted 5.17.0-rc7-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd state:D stack:26776 pid: 2723 ppid: 2146 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:4995 [inline]
__schedule+0xd8c/0x27d0 kernel/sched/core.c:6304
schedule+0xd2/0x260 kernel/sched/core.c:6377
io_schedule+0xee/0x170 kernel/sched/core.c:8416
folio_wait_bit_common+0x387/0x7d0 mm/filemap.c:1322
folio_wait_bit mm/filemap.c:1471 [inline]
folio_wait_locked include/linux/pagemap.h:847 [inline]
folio_wait_locked include/linux/pagemap.h:844 [inline]
do_read_cache_folio+0x3c6/0x5f0 mm/filemap.c:3495
do_read_cache_page mm/filemap.c:3567 [inline]
read_cache_page+0x48/0x160 mm/filemap.c:3576
read_mapping_page include/linux/pagemap.h:641 [inline]
read_part_sector+0xde/0x450 block/partitions/core.c:724
adfspart_check_ICS+0x95/0xae0 block/partitions/acorn.c:360
check_partition block/partitions/core.c:148 [inline]
blk_add_partitions block/partitions/core.c:609 [inline]
bdev_disk_changed block/partitions/core.c:695 [inline]
bdev_disk_changed+0x497/0xd20 block/partitions/core.c:662
blkdev_get_whole+0x195/0x270 block/bdev.c:679
blkdev_get_by_dev.part.0+0x4c0/0xb10 block/bdev.c:813
blkdev_open+0xf6/0x260 block/fops.c:503
do_dentry_open+0x429/0x1050 fs/open.c:824
do_open fs/namei.c:3476 [inline]
path_openat+0x9ea/0x2390 fs/namei.c:3609
do_filp_open+0x199/0x3d0 fs/namei.c:3636
do_sys_openat2+0x11e/0x400 fs/open.c:1214
do_sys_open fs/open.c:1230 [inline]
__do_sys_openat fs/open.c:1246 [inline]
__se_sys_openat fs/open.c:1241 [inline]
__x64_sys_openat+0x11b/0x1d0 fs/open.c:1241
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:0x7fe56205f697
RSP: 002b:00007ffe07981d20 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 000055a0f9d46820 RCX: 00007fe56205f697
RDX: 00000000000a0800 RSI: 000055a0f9d4b1b0 RDI: 00000000ffffff9c
RBP: 000055a0f9d4b1b0 R08: 0000000000000001 R09: 00007ffe079c5080
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800
R13: 000055a0f9d24850 R14: 0000000000000001 R15: 000055a0f9d0e2c0
INFO: task udevd:2727 blocked for more than 144 seconds.
Not tainted 5.17.0-rc7-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd state:D stack:26608 pid: 2727 ppid: 2146 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:4995 [inline]
__schedule+0xd8c/0x27d0 kernel/sched/core.c:6304
schedule+0xd2/0x260 kernel/sched/core.c:6377
io_schedule+0xee/0x170 kernel/sched/core.c:8416
folio_wait_bit_common+0x387/0x7d0 mm/filemap.c:1322
folio_wait_bit mm/filemap.c:1471 [inline]
folio_wait_locked include/linux/pagemap.h:847 [inline]
folio_wait_locked include/linux/pagemap.h:844 [inline]
do_read_cache_folio+0x3c6/0x5f0 mm/filemap.c:3495
do_read_cache_page mm/filemap.c:3567 [inline]
read_cache_page+0x48/0x160 mm/filemap.c:3576
read_mapping_page include/linux/pagemap.h:641 [inline]
read_part_sector+0xde/0x450 block/partitions/core.c:724
adfspart_check_ICS+0x95/0xae0 block/partitions/acorn.c:360
check_partition block/partitions/core.c:148 [inline]
blk_add_partitions block/partitions/core.c:609 [inline]
bdev_disk_changed block/partitions/core.c:695 [inline]
bdev_disk_changed+0x497/0xd20 block/partitions/core.c:662
blkdev_get_whole+0x195/0x270 block/bdev.c:679
blkdev_get_by_dev.part.0+0x4c0/0xb10 block/bdev.c:813
blkdev_open+0xf6/0x260 block/fops.c:503
do_dentry_open+0x429/0x1050 fs/open.c:824
do_open fs/namei.c:3476 [inline]
path_openat+0x9ea/0x2390 fs/namei.c:3609
do_filp_open+0x199/0x3d0 fs/namei.c:3636
do_sys_openat2+0x11e/0x400 fs/open.c:1214
do_sys_open fs/open.c:1230 [inline]
__do_sys_openat fs/open.c:1246 [inline]
__se_sys_openat fs/open.c:1241 [inline]
__x64_sys_openat+0x11b/0x1d0 fs/open.c:1241
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:0x7fe56205f697
RSP: 002b:00007ffe07981d20 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 000055a0f9d46820 RCX: 00007fe56205f697
RDX: 00000000000a0800 RSI: 000055a0f9d47150 RDI: 00000000ffffff9c
RBP: 000055a0f9d47150 R08: 0000000000000001 R09: 00007ffe079c5080
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800
R13: 000055a0f9d3ec90 R14: 0000000000000001 R15: 000055a0f9d0e2c0
INFO: task syz-executor.2:2824 blocked for more than 144 seconds.
Not tainted 5.17.0-rc7-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:27504 pid: 2824 ppid: 2706 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:4995 [inline]
__schedule+0xd8c/0x27d0 kernel/sched/core.c:6304
schedule+0xd2/0x260 kernel/sched/core.c:6377
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6436
__mutex_lock_common kernel/locking/mutex.c:673 [inline]
__mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733
blkdev_put+0x82/0x830 block/bdev.c:902
blkdev_close+0x65/0x90 block/fops.c:517
__fput+0x204/0x8d0 fs/file_table.c:317
task_work_run+0xc0/0x160 kernel/task_work.c:164
tracehook_notify_resume include/linux/tracehook.h:188 [inline]
exit_to_user_mode_loop kernel/entry/common.c:175 [inline]
exit_to_user_mode_prepare+0x225/0x230 kernel/entry/common.c:207
__syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline]
syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:300
do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x418c1b
RSP: 002b:00007ffc6b7631b0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000418c1b
RDX: 00000000000003e7 RSI: 0000001b2cb200bc RDI: 0000000000000004
RBP: 0000000000000005 R08: 0000000000000000 R09: 0000001b2cb200c4
R10: 00007ffc6b7a0090 R11: 0000000000000293 R12: 000000000055d9a0
R13: 000000000055d9a0 R14: 000000000055cf20 R15: 000000000055cf20
INFO: task syz-executor.2:2825 blocked for more than 145 seconds.
Not tainted 5.17.0-rc7-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2 state:D stack:27504 pid: 2825 ppid: 2706 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:4995 [inline]
__schedule+0xd8c/0x27d0 kernel/sched/core.c:6304
schedule+0xd2/0x260 kernel/sched/core.c:6377
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6436
__mutex_lock_common kernel/locking/mutex.c:673 [inline]
__mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733
blkdev_put+0x82/0x830 block/bdev.c:902
blkdev_close+0x65/0x90 block/fops.c:517
__fput+0x204/0x8d0 fs/file_table.c:317
task_work_run+0xc0/0x160 kernel/task_work.c:164
get_signal+0x1784/0x2160 kernel/signal.c:2631
arch_do_signal_or_restart+0x2a9/0x1d10 arch/x86/kernel/signal.c:868
handle_signal_work kernel/entry/common.c:148 [inline]
exit_to_user_mode_loop kernel/entry/common.c:172 [inline]
exit_to_user_mode_prepare+0x169/0x230 kernel/entry/common.c:207
__syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline]
syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:300
do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x465ad9
RSP: 002b:00007fd7db8e3188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: fffffffffffffe00 RBX: 000000000055cf20 RCX: 0000000000465ad9
RDX: ffffffffffffffff RSI: 000000000000ab03 RDI: 0000000000000003
RBP: 00000000004af756 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000055cf20
R13: 00007ffc6b76314f R14: 00007fd7db8e3300 R15: 0000000000022000
INFO: task syz-executor.0:2826 blocked for more than 145 seconds.
Not tainted 5.17.0-rc7-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:27504 pid: 2826 ppid: 2708 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:4995 [inline]
__schedule+0xd8c/0x27d0 kernel/sched/core.c:6304
schedule+0xd2/0x260 kernel/sched/core.c:6377
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6436
__mutex_lock_common kernel/locking/mutex.c:673 [inline]
__mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733
blkdev_put+0x82/0x830 block/bdev.c:902
blkdev_close+0x65/0x90 block/fops.c:517
__fput+0x204/0x8d0 fs/file_table.c:317
task_work_run+0xc0/0x160 kernel/task_work.c:164
tracehook_notify_resume include/linux/tracehook.h:188 [inline]
exit_to_user_mode_loop kernel/entry/common.c:175 [inline]
exit_to_user_mode_prepare+0x225/0x230 kernel/entry/common.c:207
__syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline]
syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:300
do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x418c1b
RSP: 002b:00007ffd6be80f40 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000418c1b
RDX: 00000000000003e7 RSI: 0000001b2cd200bc RDI: 0000000000000004
RBP: 0000000000000005 R08: 0000000000000000 R09: 0000001b2cd200c4
R10: 00007ffd6bfb4090 R11: 0000000000000293 R12: 000000000055d9a0
R13: 000000000055d9a0 R14: 000000000055cf20 R15: 000000000055cfc8
INFO: task syz-executor.0:2828 blocked for more than 145 seconds.
Not tainted 5.17.0-rc7-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:28672 pid: 2828 ppid: 2708 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:4995 [inline]
__schedule+0xd8c/0x27d0 kernel/sched/core.c:6304
schedule+0xd2/0x260 kernel/sched/core.c:6377
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6436
__mutex_lock_common kernel/locking/mutex.c:673 [inline]
__mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733
blkdev_put+0x82/0x830 block/bdev.c:902
blkdev_close+0x65/0x90 block/fops.c:517
__fput+0x204/0x8d0 fs/file_table.c:317
task_work_run+0xc0/0x160 kernel/task_work.c:164
get_signal+0x1784/0x2160 kernel/signal.c:2631
arch_do_signal_or_restart+0x2a9/0x1d10 arch/x86/kernel/signal.c:868
handle_signal_work kernel/entry/common.c:148 [inline]
exit_to_user_mode_loop kernel/entry/common.c:172 [inline]
exit_to_user_mode_prepare+0x169/0x230 kernel/entry/common.c:207
__syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline]
syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:300
do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x465ad9
RSP: 002b:00007fd06cfdc188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: fffffffffffffe00 RBX: 000000000055cfc8 RCX: 0000000000465ad9
RDX: ffffffffffffffff RSI: 000000000000ab03 RDI: 0000000000000003
RBP: 00000000004af756 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000055cfc8
R13: 00007ffd6be80edf R14: 00007fd06cfdc300 R15: 0000000000022000
INFO: task syz-executor.3:2829 blocked for more than 145 seconds.
Not tainted 5.17.0-rc7-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:27504 pid: 2829 ppid: 2712 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:4995 [inline]
__schedule+0xd8c/0x27d0 kernel/sched/core.c:6304
schedule+0xd2/0x260 kernel/sched/core.c:6377
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6436
__mutex_lock_common kernel/locking/mutex.c:673 [inline]
__mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733
blkdev_put+0x82/0x830 block/bdev.c:902
blkdev_close+0x65/0x90 block/fops.c:517
__fput+0x204/0x8d0 fs/file_table.c:317
task_work_run+0xc0/0x160 kernel/task_work.c:164
tracehook_notify_resume include/linux/tracehook.h:188 [inline]
exit_to_user_mode_loop kernel/entry/common.c:175 [inline]
exit_to_user_mode_prepare+0x225/0x230 kernel/entry/common.c:207
__syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline]
syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:300
do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x418c1b
RSP: 002b:00007ffc51f2fcc0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000418c1b
RDX: 00000000000003e7 RSI: 0000001b2d1200bc RDI: 0000000000000004
RBP: 0000000000000005 R08: 0000000000000000 R09: 0000001b2d1200c4
R10: 00007ffc51f86090 R11: 0000000000000293 R12: 000000000055d9a0
R13: 000000000055d9a0 R14: 000000000055cf20 R15: 000000000055cfc8
INFO: task syz-executor.3:2831 blocked for more than 145 seconds.
Not tainted 5.17.0-rc7-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.3 state:D stack:28568 pid: 2831 ppid: 2712 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:4995 [inline]
__schedule+0xd8c/0x27d0 kernel/sched/core.c:6304
schedule+0xd2/0x260 kernel/sched/core.c:6377
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6436
__mutex_lock_common kernel/locking/mutex.c:673 [inline]
__mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:733
blkdev_put+0x82/0x830 block/bdev.c:902
blkdev_close+0x65/0x90 block/fops.c:517
__fput+0x204/0x8d0 fs/file_table.c:317
task_work_run+0xc0/0x160 kernel/task_work.c:164
get_signal+0x1784/0x2160 kernel/signal.c:2631
arch_do_signal_or_restart+0x2a9/0x1d10 arch/x86/kernel/signal.c:868
handle_signal_work kernel/entry/common.c:148 [inline]
exit_to_user_mode_loop kernel/entry/common.c:172 [inline]
exit_to_user_mode_prepare+0x169/0x230 kernel/entry/common.c:207
__syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline]
syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:300
do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x465ad9
RSP: 002b:00007fc9a9104188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: fffffffffffffe00 RBX: 000000000055cfc8 RCX: 0000000000465ad9
RDX: ffffffffffffffff RSI: 000000000000ab03 RDI: 0000000000000003
RBP: 00000000004af756 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000055cfc8
R13: 00007ffc51f2fc5f R14: 00007fc9a9104300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by khungtaskd/26:
#0: ffffffff8a1b9da0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x28c kernel/locking/lockdep.c:6460
2 locks held by getty/2378:
#0: ffff88817ed43098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc9000154b2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x9e9/0xee0 drivers/tty/n_tty.c:2075
1 lock held by udevd/2717:
#0: ffff888109db5918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x78/0xb10 block/bdev.c:804
1 lock held by udevd/2719:
#0: ffff888109cd3918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x78/0xb10 block/bdev.c:804
1 lock held by udevd/2723:
#0: ffff8881097b1118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x78/0xb10 block/bdev.c:804
1 lock held by udevd/2727:
#0: ffff888109cee118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x78/0xb10 block/bdev.c:804
1 lock held by syz-executor.2/2824:
#0: ffff888109cee118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x82/0x830 block/bdev.c:902
1 lock held by syz-executor.2/2825:
#0: ffff888109cee118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x82/0x830 block/bdev.c:902
1 lock held by syz-executor.0/2826:
#0: ffff8881097b1118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x82/0x830 block/bdev.c:902
1 lock held by syz-executor.0/2828:
#0: ffff8881097b1118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x82/0x830 block/bdev.c:902
1 lock held by syz-executor.3/2829:
#0: ffff888109db5918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x82/0x830 block/bdev.c:902
1 lock held by syz-executor.3/2831:
#0: ffff888109db5918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x82/0x830 block/bdev.c:902
1 lock held by syz-executor.1/2832:
#0: ffff888109cd3918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x82/0x830 block/bdev.c:902
1 lock held by syz-executor.1/2833:
#0: ffff888109cd3918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x82/0x830 block/bdev.c:902
1 lock held by syz-executor.4/2835:
#0: ffff888109dd7118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x82/0x830 block/bdev.c:902
1 lock held by syz-executor.4/2836:
#0: ffff888109dd7118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x82/0x830 block/bdev.c:902
1 lock held by syz-executor.5/2837:
#0: ffff888109e59918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x82/0x830 block/bdev.c:902
1 lock held by syz-executor.5/2838:
#0: ffff888109e59918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x82/0x830 block/bdev.c:902
1 lock held by udevd/2839:
#0: ffff888109e59918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x78/0xb10 block/bdev.c:804
1 lock held by udevd/2840:
#0: ffff888109dd7118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x78/0xb10 block/bdev.c:804
=============================================