syzbot


INFO: task hung in btrfs_page_mkwrite

Status: auto-obsoleted due to no activity on 2024/11/11 21:53
Reported-by: syzbot+a90e6baa1c2bfe05e6dc@syzkaller.appspotmail.com
First crash: 202d, last: 122d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: task hung in btrfs_page_mkwrite btrfs 49 288d 427d 0/28 auto-obsoleted due to no activity on 2024/05/29 11:09
linux-5.15 INFO: task hung in btrfs_page_mkwrite (2) 4 151d 202d 0/3 auto-obsoleted due to no activity on 2024/10/14 01:09
linux-5.15 INFO: task hung in btrfs_page_mkwrite 1 535d 535d 0/3 auto-obsoleted due to no activity on 2023/09/26 02:15

Sample crash report:
INFO: task syz-executor.2:14688 blocked for more than 143 seconds.
      Not tainted 6.1.91-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2  state:D stack:25832 pid:14688 ppid:11299  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
 btrfs_page_mkwrite+0x429/0xc90 fs/btrfs/inode.c:8592
 do_page_mkwrite+0x1a1/0x5f0 mm/memory.c:2992
 wp_page_shared+0x164/0x380 mm/memory.c:3341
 handle_pte_fault mm/memory.c:5031 [inline]
 __handle_mm_fault mm/memory.c:5155 [inline]
 handle_mm_fault+0x2525/0x5340 mm/memory.c:5276
 do_user_addr_fault arch/x86/mm/fault.c:1371 [inline]
 handle_page_fault arch/x86/mm/fault.c:1462 [inline]
 exc_page_fault+0x26f/0x660 arch/x86/mm/fault.c:1518
 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0033:0x7ff17605df6b
RSP: 002b:00007ffd93b365b8 EFLAGS: 00010202
RAX: 0000000020000180 RBX: 0000000000000004 RCX: 0000000000737562
RDX: 0000000000000006 RSI: 0000000075622f2e RDI: 0000000020000180
RBP: 00007ffd93b36678 R08: 00007ff176000000 R09: 0000000000000001
R10: 0000000000000001 R11: 0000000000000009 R12: 000000000009281b
R13: 00007ff1761abf8c R14: 00007ffd93b366a0 R15: 0000000000000032
 </TASK>
INFO: task syz-executor.2:14691 blocked for more than 143 seconds.
      Not tainted 6.1.91-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.2  state:D stack:22424 pid:14691 ppid:11299  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
 wait_on_state fs/btrfs/extent-io-tree.c:709 [inline]
 wait_extent_bit+0x423/0x570 fs/btrfs/extent-io-tree.c:742
 lock_extent+0x17a/0x200 fs/btrfs/extent-io-tree.c:1657
 btrfs_page_mkwrite+0x550/0xc90 fs/btrfs/inode.c:8602
 do_page_mkwrite+0x1a1/0x5f0 mm/memory.c:2992
 wp_page_shared+0x164/0x380 mm/memory.c:3341
 handle_pte_fault mm/memory.c:5031 [inline]
 __handle_mm_fault mm/memory.c:5155 [inline]
 handle_mm_fault+0x2525/0x5340 mm/memory.c:5276
 do_user_addr_fault arch/x86/mm/fault.c:1371 [inline]
 handle_page_fault arch/x86/mm/fault.c:1462 [inline]
 exc_page_fault+0x26f/0x660 arch/x86/mm/fault.c:1518
 asm_exc_page_fault+0x22/0x30 arch/x86/include/asm/idtentry.h:570
RIP: 0010:copy_user_short_string+0xd/0x40 arch/x86/lib/copy_user_64.S:233
Code: 74 0a 89 d1 f3 a4 89 c8 0f 01 ca c3 89 d0 0f 01 ca c3 01 ca eb e7 0f 1f 80 00 00 00 00 89 d1 83 e2 07 c1 e9 03 74 12 4c 8b 06 <4c> 89 07 48 8d 76 08 48 8d 7f 08 ff c9 75 ee 21 d2 74 10 89 d1 8a
RSP: 0018:ffffc9000b1a73b0 EFLAGS: 00050202
RAX: ffffffff84384001 RBX: 00007fffffffefc8 RCX: 0000000000000007
RDX: 0000000000000000 RSI: ffffc9000b1a7460 RDI: 00000000200002a0
RBP: ff

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/22 21:39 linux-6.1.y 4078fa637fcd 4d098039 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in btrfs_page_mkwrite
2024/05/19 06:47 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in btrfs_page_mkwrite
2024/05/15 18:56 linux-6.1.y 909ba1f1b414 94b087b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in btrfs_page_mkwrite
2024/05/15 17:22 linux-6.1.y 909ba1f1b414 94b087b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in btrfs_page_mkwrite
2024/05/15 17:14 linux-6.1.y 909ba1f1b414 94b087b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: task hung in btrfs_page_mkwrite
2024/08/03 21:52 linux-6.1.y 48d525b0e463 1786a2a8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: task hung in btrfs_page_mkwrite
2024/05/22 20:12 linux-6.1.y 4078fa637fcd 4d098039 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: task hung in btrfs_page_mkwrite
2024/05/15 18:58 linux-6.1.y 909ba1f1b414 94b087b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 INFO: task hung in btrfs_page_mkwrite
* Struck through repros no longer work on HEAD.