syzbot


INFO: task hung in btrfs_page_mkwrite (2)

Status: upstream: reported on 2024/05/15 18:57
Reported-by: syzbot+568ce2aeddf99237f29a@syzkaller.appspotmail.com
First crash: 35d, last: 23d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: task hung in btrfs_page_mkwrite 7 27d 35d 0/3 upstream: reported on 2024/05/15 17:15
upstream INFO: task hung in btrfs_page_mkwrite btrfs 49 121d 259d 0/27 auto-obsoleted due to no activity on 2024/05/29 11:09
linux-5.15 INFO: task hung in btrfs_page_mkwrite 1 367d 367d 0/3 auto-obsoleted due to no activity on 2023/09/26 02:15

Sample crash report:
INFO: task syz-executor.1:3848 blocked for more than 144 seconds.
      Not tainted 5.15.160-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1  state:D stack:24280 pid: 3848 ppid:  3533 flags:0x00004006
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5030 [inline]
 __schedule+0x12c4/0x45b0 kernel/sched/core.c:6376
 schedule+0x11b/0x1f0 kernel/sched/core.c:6459
 io_schedule+0x88/0x100 kernel/sched/core.c:8484
 wait_on_page_bit_common+0xa13/0x1180 mm/filemap.c:1356
 lock_page include/linux/pagemap.h:625 [inline]
 btrfs_page_mkwrite+0x537/0xd60 fs/btrfs/inode.c:8943
 do_page_mkwrite+0x1a9/0x440 mm/memory.c:2892
 wp_page_shared+0x179/0x690 mm/memory.c:3229
 handle_pte_fault mm/memory.c:4639 [inline]
 __handle_mm_fault mm/memory.c:4756 [inline]
 handle_mm_fault+0x2a3d/0x5950 mm/memory.c:4854
 do_user_addr_fault arch/x86/mm/fault.c:1388 [inline]
 handle_page_fault arch/x86/mm/fault.c:1476 [inline]
 exc_page_fault+0x271/0x740 arch/x86/mm/fault.c:1532
 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:568
RIP: 0033:0x7fadb7046f6b
RSP: 002b:00007ffc44273bd8 EFLAGS: 00010202
RAX: 0000000020000080 RBX: 0000000000000004 RCX: 0000000000737562
RDX: 0000000000000006 RSI: 0000000075622f2e RDI: 0000000020000080
RBP: 00007ffc44273c98 R08: 00007fadb6fe9000 R09: 0000000000000001
R10: 0000000000000001 R11: 0000000000000009 R12: 000000000000fab3
R13: 00007fadb7194f8c R14: 00007ffc44273cc0 R15: 0000000000000032
 </TASK>
INFO: task syz-executor.1:3850 blocked for more than 145 seconds.
      Not tainted 5.15.160-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1  state:D stack:21696 pid: 3850 ppid:  3533 flags:0x00004006

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/26 21:41 linux-5.15.y c61bd26ae81a a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in btrfs_page_mkwrite
2024/05/15 19:00 linux-5.15.y 284087d4f7d5 94b087b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: task hung in btrfs_page_mkwrite
2024/05/15 18:57 linux-5.15.y 284087d4f7d5 94b087b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 INFO: task hung in btrfs_page_mkwrite
* Struck through repros no longer work on HEAD.