syzbot


INFO: task hung in read_part_sector (2)

Status: upstream: reported on 2024/06/08 08:58
Reported-by: syzbot+2322e3738fc248d5f38c@syzkaller.appspotmail.com
First crash: 10d, last: 10d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 INFO: task hung in read_part_sector origin:upstream C error 66 6d19h 324d 0/3 upstream: reported C repro on 2023/07/29 13:11
linux-6.1 INFO: task hung in read_part_sector 1 132d 132d 0/3 auto-obsoleted due to no activity on 2024/05/17 07:34
upstream INFO: task hung in read_part_sector block 2 148d 214d 0/27 auto-obsoleted due to no activity on 2024/04/21 10:47

Sample crash report:
INFO: task syz-executor.2:6348 blocked for more than 143 seconds.
      Not tainted 6.1.92-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2  state:D stack:24968 pid:6348  ppid:3570   flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5245 [inline]
 __schedule+0x142d/0x4550 kernel/sched/core.c:6558
 schedule+0xbf/0x180 kernel/sched/core.c:6634
 io_schedule+0x88/0x100 kernel/sched/core.c:8786
 folio_wait_bit_common+0x878/0x1290 mm/filemap.c:1296
 folio_put_wait_locked mm/filemap.c:1465 [inline]
 do_read_cache_folio+0xb9/0x810 mm/filemap.c:3580
 read_mapping_folio include/linux/pagemap.h:797 [inline]
 read_part_sector+0xcb/0x350 block/partitions/core.c:722
 adfspart_check_POWERTEC+0xc4/0x8e0 block/partitions/acorn.c:454
 check_partition block/partitions/core.c:146 [inline]
 blk_add_partitions block/partitions/core.c:607 [inline]
 bdev_disk_changed+0x79e/0x1460 block/partitions/core.c:693
 blkdev_get_whole+0x2dd/0x360 block/bdev.c:687
 blkdev_get_by_dev+0x321/0xa10 block/bdev.c:824
 blkdev_open+0x12e/0x2e0 block/fops.c:500
 do_dentry_open+0x7f9/0x10f0 fs/open.c:882
 do_open fs/namei.c:3628 [inline]
 path_openat+0x2644/0x2e60 fs/namei.c:3785
 do_filp_open+0x230/0x480 fs/namei.c:3812
 do_sys_openat2+0x13b/0x500 fs/open.c:1318
 do_sys_open fs/open.c:1334 [inline]
 __do_sys_openat fs/open.c:1350 [inline]
 __se_sys_openat fs/open.c:1345 [inline]
 __x64_sys_openat+0x243/0x290 fs/open.c:1345
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/08 08:58 linux-6.1.y 88690811da69 82c05ab8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in read_part_sector
* Struck through repros no longer work on HEAD.