syzbot


INFO: task hung in read_part_sector (2)

Status: upstream: reported on 2024/08/04 19:22
Subsystems: block
[Documentation on labels]
Reported-by: syzbot+82de77d3f217960f087d@syzkaller.appspotmail.com
First crash: 523d, last: 41m
Discussions (8)
Title Replies (including bot) Last reply
[syzbot] Monthly block report (Sep 2025) 0 (1) 2025/09/27 20:43
[syzbot] Monthly block report (Aug 2025) 0 (1) 2025/08/27 08:15
[syzbot] Monthly block report (Jul 2025) 0 (1) 2025/07/27 10:41
[syzbot] Monthly block report (Jun 2025) 0 (1) 2025/06/26 05:36
[syzbot] Monthly block report (Apr 2025) 0 (1) 2025/04/24 13:06
[syzbot] Monthly block report (Mar 2025) 0 (1) 2025/03/24 18:56
[syzbot] Monthly block report (Oct 2024) 0 (1) 2024/10/16 15:35
[syzbot] [block?] INFO: task hung in read_part_sector (2) 0 (1) 2024/08/04 19:22
Similar bugs (6)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 INFO: task hung in read_part_sector origin:upstream 1 C error 252 1d02h 820d 0/3 upstream: reported C repro on 2023/07/29 13:11
linux-6.1 INFO: task hung in read_part_sector 1 1 627d 627d 0/3 auto-obsoleted due to no activity on 2024/05/17 07:34
upstream INFO: task hung in read_part_sector block 1 2 643d 709d 0/29 auto-obsoleted due to no activity on 2024/04/21 10:47
linux-6.6 INFO: task hung in read_part_sector 1 130 1d11h 128d 0/2 upstream: reported on 2025/06/19 22:23
linux-6.1 INFO: task hung in read_part_sector (2) 1 1 505d 505d 0/3 auto-obsoleted due to no activity on 2024/09/16 08:59
linux-6.1 INFO: task hung in read_part_sector (3) 1 3 1d05h 90d 0/3 upstream: reported on 2025/07/28 11:29

Sample crash report:
INFO: task udevd:7440 blocked for more than 143 seconds.
      Not tainted syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd           state:D stack:21864 pid:7440  tgid:7440  ppid:5192   task_flags:0x400140 flags:0x00080003
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5325 [inline]
 __schedule+0x1798/0x4cc0 kernel/sched/core.c:6929
 __schedule_loop kernel/sched/core.c:7011 [inline]
 schedule+0x165/0x360 kernel/sched/core.c:7026
 io_schedule+0x80/0xd0 kernel/sched/core.c:7871
 folio_wait_bit_common+0x6b0/0xb80 mm/filemap.c:1330
 folio_put_wait_locked mm/filemap.c:1494 [inline]
 do_read_cache_folio+0x1aa/0x590 mm/filemap.c:4006
 read_mapping_folio include/linux/pagemap.h:999 [inline]
 read_part_sector+0xb6/0x2b0 block/partitions/core.c:722
 adfspart_check_POWERTEC+0x8c/0xf30 block/partitions/acorn.c:454
 check_partition block/partitions/core.c:141 [inline]
 blk_add_partitions block/partitions/core.c:589 [inline]
 bdev_disk_changed+0x75f/0x14b0 block/partitions/core.c:693
 blkdev_get_whole+0x380/0x510 block/bdev.c:748
 bdev_open+0x31e/0xd30 block/bdev.c:957
 blkdev_open+0x457/0x600 block/fops.c:701
 do_dentry_open+0x953/0x13f0 fs/open.c:965
 vfs_open+0x3b/0x340 fs/open.c:1097
 do_open fs/namei.c:3975 [inline]
 path_openat+0x2ee5/0x3830 fs/namei.c:4134
 do_filp_open+0x1fa/0x410 fs/namei.c:4161
 do_sys_openat2+0x121/0x1c0 fs/open.c:1437
 do_sys_open fs/open.c:1452 [inline]
 __do_sys_openat fs/open.c:1468 [inline]
 __se_sys_openat fs/open.c:1463 [inline]
 __x64_sys_openat+0x138/0x170 fs/open.c:1463
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f43176a7407
RSP: 002b:00007ffd48a00400 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f4317d70880 RCX: 00007f43176a7407
RDX: 00000000000a0800 RSI: 000055b17a464360 RDI: ffffffffffffff9c
RBP: 000055b17a463910 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 000055b17a463fb0
R13: 000055b17a471190 R14: 0000000000000000 R15: 000055b17a463fb0
 </TASK>

Showing all locks held in the system:
1 lock held by khungtaskd/31:
 #0: ffffffff8df3d2e0 (rcu_read_lock){....}-{1:3}, at: rcu_lock_acquire include/linux/rcupdate.h:331 [inline]
 #0: ffffffff8df3d2e0 (rcu_read_lock){....}-{1:3}, at: rcu_read_lock include/linux/rcupdate.h:867 [inline]
 #0: ffffffff8df3d2e0 (rcu_read_lock){....}-{1:3}, at: debug_show_all_locks+0x2e/0x180 kernel/locking/lockdep.c:6775
2 locks held by getty/5580:
 #0: ffff888032dae0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243
 #1: ffffc900036c62f0 (&ldata->atomic_read_lock){+.+.}-{4:4}, at: n_tty_read+0x43e/0x1400 drivers/tty/n_tty.c:2222
3 locks held by kworker/1:5/5931:
3 locks held by kworker/u8:12/6127:
 #0: ffff88801aed7148 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3238 [inline]
 #0: ffff88801aed7148 ((wq_completion)netns){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3346
 #1: ffffc9000b12fba0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3239 [inline]
 #1: ffffc9000b12fba0 (net_cleanup_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3346
 #2: ffffffff8df42c40 (rcu_state.barrier_mutex){+.+.}-{4:4}, at: rcu_barrier+0x4c/0x570 kernel/rcu/tree.c:3820
1 lock held by udevd/7440:
 #0: ffff888024b75358 (&disk->open_mutex){+.+.}-{4:4}, at: bdev_open+0xe0/0xd30 block/bdev.c:945
3 locks held by kworker/0:7/11072:
 #0: ffff88801a051948 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3238 [inline]
 #0: ffff88801a051948 ((wq_completion)events){+.+.}-{0:0}, at: process_scheduled_works+0x9b4/0x17b0 kernel/workqueue.c:3346
 #1: ffffc9000460fba0 (free_ipc_work){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3239 [inline]
 #1: ffffc9000460fba0 (free_ipc_work){+.+.}-{0:0}, at: process_scheduled_works+0x9ef/0x17b0 kernel/workqueue.c:3346
 #2: ffffffff8df42d78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: exp_funnel_lock kernel/rcu/tree_exp.h:311 [inline]
 #2: ffffffff8df42d78 (rcu_state.exp_mutex){+.+.}-{4:4}, at: synchronize_rcu_expedited+0x2f6/0x730 kernel/rcu/tree_exp.h:957
1 lock held by syz-executor/13019:
1 lock held by syz-executor/13279:
1 lock held by syz.1.1457/13497:
3 locks held by dhcpcd-run-hook/13504:

=============================================

NMI backtrace for cpu 0
CPU: 0 UID: 0 PID: 31 Comm: khungtaskd Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
Call Trace:
 <TASK>
 dump_stack_lvl+0x189/0x250 lib/dump_stack.c:120
 nmi_cpu_backtrace+0x39e/0x3d0 lib/nmi_backtrace.c:113
 nmi_trigger_cpumask_backtrace+0x17a/0x300 lib/nmi_backtrace.c:62
 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline]
 check_hung_uninterruptible_tasks kernel/hung_task.c:332 [inline]
 watchdog+0xf60/0xfa0 kernel/hung_task.c:495
 kthread+0x711/0x8a0 kernel/kthread.c:463
 ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 UID: 0 PID: 9451 Comm: kworker/1:0 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
Workqueue: events drain_vmap_area_work
RIP: 0010:deref_stack_reg arch/x86/kernel/unwind_orc.c:-1 [inline]
RIP: 0010:unwind_next_frame+0xc3f/0x2390 arch/x86/kernel/unwind_orc.c:585
Code: 85 f9 0c 00 00 48 8d 43 08 4c 39 f8 0f 97 c1 4c 39 e0 0f 96 c0 20 c8 3c 01 0f 85 df 0c 00 00 48 89 df e8 84 23 00 00 48 89 c3 <48> bd 00 00 00 00 00 fc ff df 48 8b 44 24 30 80 3c 28 00 4c 8b 7c
RSP: 0018:ffffc9000b23f2d8 EFLAGS: 00000202
RAX: ffffffff818bbd40 RBX: ffffffff818bbd40 RCX: 1ffff92001647e01
RDX: ffffffff900bfc88 RSI: 0000000000000002 RDI: ffffc9000b23fc58
RBP: 1ffff92001647e76 R08: 0000000000000001 R09: ffffffff81738d25
R10: dffffc0000000000 R11: ffffffff81ac2cc0 R12: ffffc9000b240000
R13: 1ffff92001647e77 R14: ffffc9000b23f3a8 R15: ffffc9000b238000
FS:  0000000000000000(0000) GS:ffff88812623e000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055b39d2fa950 CR3: 000000000dd38000 CR4: 0000000000350ef0
Call Trace:
 <TASK>
 arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x9c/0xe0 kernel/stacktrace.c:122
 save_stack+0xf5/0x1f0 mm/page_owner.c:156
 __reset_page_owner+0x71/0x1f0 mm/page_owner.c:311
 reset_page_owner include/linux/page_owner.h:25 [inline]
 free_pages_prepare mm/page_alloc.c:1394 [inline]
 __free_frozen_pages+0xbc4/0xd30 mm/page_alloc.c:2906
 kasan_depopulate_vmalloc_pte+0x6d/0x90 mm/kasan/shadow.c:495
 apply_to_pte_range mm/memory.c:3142 [inline]
 apply_to_pmd_range mm/memory.c:3186 [inline]
 apply_to_pud_range mm/memory.c:3222 [inline]
 apply_to_p4d_range mm/memory.c:3258 [inline]
 __apply_to_page_range+0xb66/0x13d0 mm/memory.c:3294
 kasan_release_vmalloc+0xa2/0xd0 mm/kasan/shadow.c:616
 kasan_release_vmalloc_node mm/vmalloc.c:2255 [inline]
 purge_vmap_node+0x214/0x8f0 mm/vmalloc.c:2272
 __purge_vmap_area_lazy+0x7a4/0xb40 mm/vmalloc.c:2362
 drain_vmap_area_work+0x27/0x40 mm/vmalloc.c:2396
 process_one_work kernel/workqueue.c:3263 [inline]
 process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3346
 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3427
 kthread+0x711/0x8a0 kernel/kthread.c:463
 ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>

Crashes (4546):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/10/26 03:59 upstream 72761a7e3122 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in read_part_sector
2025/10/26 01:35 upstream 72761a7e3122 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in read_part_sector
2025/10/24 22:18 upstream 2e590d67c2d8 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in read_part_sector
2025/10/24 04:51 upstream 6fab32bb6508 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in read_part_sector
2025/10/24 01:53 upstream 266ee584e55e c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in read_part_sector
2025/10/23 17:14 upstream 43e9ad0c55a3 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root INFO: task hung in read_part_sector
2025/10/22 09:10 upstream 552c50713f27 252fbbad .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-selinux-root INFO: task hung in read_part_sector
2025/03/02 00:05 upstream 03d38806a902 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci-qemu-gce-upstream-auto INFO: task hung in read_part_sector
2024/07/31 19:09 upstream e4fc196f5ba3 1e9c4cf3 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in read_part_sector
2024/07/24 08:02 upstream 28bbe4ea686a 57b2edb1 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root INFO: task hung in read_part_sector
2025/10/26 13:20 net 84a905290cb4 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in read_part_sector
2025/10/26 09:55 net 84a905290cb4 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in read_part_sector
2025/10/26 05:35 net 84a905290cb4 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in read_part_sector
2025/10/25 19:56 net 84a905290cb4 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in read_part_sector
2025/10/25 13:57 net 84a905290cb4 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in read_part_sector
2025/10/25 08:01 net 84a905290cb4 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in read_part_sector
2025/10/25 01:15 net 1ab665817448 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in read_part_sector
2025/10/24 20:56 net 1ab665817448 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in read_part_sector
2025/10/24 19:43 net 1ab665817448 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in read_part_sector
2025/10/24 15:22 net 1ab665817448 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in read_part_sector
2025/10/24 13:04 net 1ab665817448 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in read_part_sector
2025/10/24 09:18 net 1ab665817448 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in read_part_sector
2025/10/24 07:32 net 1ab665817448 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in read_part_sector
2025/10/24 06:28 net 1ab665817448 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in read_part_sector
2025/10/24 00:27 net c0178eec8884 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in read_part_sector
2025/10/23 22:39 net c0178eec8884 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in read_part_sector
2025/10/23 19:51 net c0178eec8884 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in read_part_sector
2025/10/23 15:54 net c0178eec8884 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in read_part_sector
2025/10/23 11:40 net d63f0391d6c7 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in read_part_sector
2025/10/23 08:35 net d63f0391d6c7 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: task hung in read_part_sector
2025/10/26 12:02 net-next bfe62db5422b c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in read_part_sector
2025/10/26 11:42 net-next bfe62db5422b c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in read_part_sector
2025/10/26 08:43 net-next bfe62db5422b c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in read_part_sector
2025/10/26 07:36 net-next bfe62db5422b c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in read_part_sector
2025/10/26 02:40 net-next bfe62db5422b c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in read_part_sector
2025/10/25 18:05 net-next bfe62db5422b c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in read_part_sector
2025/10/25 16:55 net-next bfe62db5422b c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in read_part_sector
2025/10/25 12:52 net-next bfe62db5422b c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in read_part_sector
2025/10/25 11:30 net-next bfe62db5422b c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in read_part_sector
2025/10/25 09:33 net-next bfe62db5422b c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in read_part_sector
2025/10/25 06:28 net-next bfe62db5422b c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in read_part_sector
2025/10/25 03:06 net-next f0a24b2547cf c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in read_part_sector
2025/10/24 23:38 net-next f0a24b2547cf c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in read_part_sector
2025/10/24 19:05 net-next f0a24b2547cf c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in read_part_sector
2025/10/24 17:16 net-next f0a24b2547cf c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in read_part_sector
2025/10/24 11:44 net-next ec538867a376 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in read_part_sector
2025/10/24 02:57 net-next ec538867a376 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in read_part_sector
2025/10/23 14:34 net-next e0665df8c501 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in read_part_sector
2025/10/23 13:10 net-next e0665df8c501 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-kasan-gce INFO: task hung in read_part_sector
2025/10/25 15:00 linux-next 72fb0170ef1f c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce INFO: task hung in read_part_sector
2025/10/25 04:13 linux-next 72fb0170ef1f c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce INFO: task hung in read_part_sector
2025/10/23 20:42 linux-next aaa9c3550b60 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root INFO: task hung in read_part_sector
* Struck through repros no longer work on HEAD.