syzbot


WARNING in ext4_put_io_end_defer

Status: auto-closed as invalid on 2019/04/11 10:23
Subsystems: ext4
[Documentation on labels]
Reported-by: syzbot+2202a584a00fffd19fbf@syzkaller.appspotmail.com
First crash: 2118d, last: 1994d
Discussions (9)
Title Replies (including bot) Last reply
[PATCH 4.14 000/237] 4.14.172-stable review 252 (252) 2020/03/01 09:52
[PATCH 4.19 00/97] 4.19.107-stable review 108 (108) 2020/02/28 18:05
[PATCH 5.5 000/150] 5.5.7-stable review 166 (166) 2020/02/28 15:12
[PATCH 4.9 000/165] 4.9.215-stable review 174 (174) 2020/02/28 14:31
[PATCH 5.4 000/135] 5.4.23-stable review 140 (140) 2020/02/28 03:42
[PATCH v3 0/2] ext4: fix race between writepages and enabling EXT4_EXTENTS_FL 7 (7) 2020/02/21 18:53
[PATCH v2] ext4: fix race between writepages and enabling EXT4_EXTENTS_FL 3 (3) 2020/02/19 18:29
[PATCH] ext4: fix race between writepages and enabling EXT4_EXTENTS_FL 3 (3) 2020/02/19 04:56
WARNING in ext4_put_io_end_defer 0 (1) 2018/06/11 17:53
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-414 WARNING in ext4_put_io_end_defer 1 1997d 1997d 0/1 auto-closed as invalid on 2019/04/07 13:03
android-49 WARNING in ext4_put_io_end_defer 12 1991d 1811d 0/3 auto-closed as invalid on 2019/04/28 09:31

Sample crash report:
WARNING: CPU: 0 PID: 419 at fs/ext4/page-io.c:206 ext4_add_complete_io fs/ext4/page-io.c:206 [inline]
WARNING: CPU: 0 PID: 419 at fs/ext4/page-io.c:206 ext4_put_io_end_defer+0x438/0x590 fs/ext4/page-io.c:269
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 419 Comm: syz-executor4 Not tainted 4.18.0-rc8+ #183
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1c9/0x2b4 lib/dump_stack.c:113
 panic+0x238/0x4e7 kernel/panic.c:184
 __warn.cold.8+0x163/0x1ba kernel/panic.c:536
 report_bug+0x252/0x2d0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 do_error_trap+0x1fc/0x4d0 arch/x86/kernel/traps.c:296
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:316
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:992
RIP: 0010:ext4_add_complete_io fs/ext4/page-io.c:206 [inline]
RIP: 0010:ext4_put_io_end_defer+0x438/0x590 fs/ext4/page-io.c:269
Code: 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 5e 01 00 00 49 83 bf e0 02 00 00 00 0f 84 dc fd ff ff e8 c8 a6 67 ff <0f> 0b e9 d0 fd ff ff e8 ec 82 a5 ff e9 85 fc ff ff 48 89 b5 20 ff 
RSP: 0018:ffff8801db007140 EFLAGS: 00010006
RAX: ffff880196f90600 RBX: ffff880189dfce40 RCX: ffffffff82146e67
RDX: 0000000000010000 RSI: ffffffff82147188 RDI: ffff8801cce287e0
RBP: ffff8801db007230 R08: ffff880196f90600 R09: ffffed00313bf9cd
R10: ffffed00313bf9cd R11: ffff880189dfce6f R12: 1ffff1003b600e2d
R13: ffff880189e99930 R14: ffff8801db007208 R15: ffff8801cce28500
 ext4_end_bio+0x234/0x6d0 fs/ext4/page-io.c:335
 bio_endio+0x4cc/0x940 block/bio.c:1860
 req_bio_endio block/blk-core.c:277 [inline]
 blk_update_request+0x3ab/0xcc0 block/blk-core.c:3086
 scsi_end_request+0xde/0x890 drivers/scsi/scsi_lib.c:672
 scsi_io_completion+0xcc6/0x1dd0 drivers/scsi/scsi_lib.c:898
 scsi_finish_command+0x54a/0x8f0 drivers/scsi/scsi.c:248
 scsi_softirq_done+0x3f6/0x4d0 drivers/scsi/scsi_lib.c:1687
 __blk_mq_complete_request block/blk-mq.c:581 [inline]
 blk_mq_complete_request+0x359/0x640 block/blk-mq.c:618
 scsi_mq_done+0xe7/0x450 drivers/scsi/scsi_lib.c:1998
 virtscsi_complete_cmd+0x573/0x740 drivers/scsi/virtio_scsi.c:207
 virtscsi_vq_done+0xcb/0x180 drivers/scsi/virtio_scsi.c:223
 virtscsi_req_done+0xa7/0xd0 drivers/scsi/virtio_scsi.c:238
 vring_interrupt+0x128/0x170 drivers/virtio/virtio_ring.c:950
 __handle_irq_event_percpu+0x1c8/0xaf0 kernel/irq/handle.c:149
 handle_irq_event_percpu+0xa0/0x1d0 kernel/irq/handle.c:189
 handle_irq_event+0xa7/0x135 kernel/irq/handle.c:206
 handle_edge_irq+0x20f/0x870 kernel/irq/chip.c:791
 generic_handle_irq_desc include/linux/irqdesc.h:154 [inline]
 handle_irq+0x18c/0x2e7 arch/x86/kernel/irq_64.c:77
 do_IRQ+0x78/0x190 arch/x86/kernel/irq.c:245
 common_interrupt+0xf/0xf arch/x86/entry/entry_64.S:642
 </IRQ>
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:783 [inline]
RIP: 0010:kmem_cache_free+0xb3/0x2d0 mm/slab.c:3757
Code: 84 f1 00 00 00 41 f7 c5 00 02 00 00 0f 84 c2 00 00 00 e8 20 f8 a4 ff 48 83 3d 60 f4 37 06 00 0f 84 04 02 00 00 4c 89 ef 57 9d <0f> 1f 44 00 00 4c 8b 6d 08 0f 1f 44 00 00 65 8b 05 c8 c4 47 7e 89 
RSP: 0018:ffff880192ba6f80 EFLAGS: 00000282 ORIG_RAX: ffffffffffffffda
RAX: 0000000000000007 RBX: ffff8801d0266210 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000282
RBP: ffff880192ba6fa0 R08: 0000000000000080 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffff8801dac10040
R13: 0000000000000282 R14: ffffffff81ac9328 R15: ffff880192ba7138
 ptlock_free+0x38/0x42 mm/memory.c:4728
 pte_lock_deinit include/linux/mm.h:1887 [inline]
 pgtable_page_dtor include/linux/mm.h:1920 [inline]
 ___pte_free_tlb+0x45/0x140 arch/x86/mm/pgtable.c:64
 __pte_free_tlb arch/x86/include/asm/pgalloc.h:73 [inline]
 free_pte_range mm/memory.c:446 [inline]
 free_pmd_range mm/memory.c:464 [inline]
 free_pud_range mm/memory.c:498 [inline]
 free_p4d_range mm/memory.c:532 [inline]
 free_pgd_range+0xc1d/0xf30 mm/memory.c:612
 free_pgtables+0x2c3/0x380 mm/memory.c:644
 exit_mmap+0x2d1/0x5b0 mm/mmap.c:3095
 __mmput kernel/fork.c:993 [inline]
 mmput+0x265/0x620 kernel/fork.c:1014
 exit_mm kernel/exit.c:544 [inline]
 do_exit+0xea9/0x2750 kernel/exit.c:852
 do_group_exit+0x177/0x440 kernel/exit.c:968
 get_signal+0x88e/0x1970 kernel/signal.c:2468
 do_signal+0x9c/0x21c0 arch/x86/kernel/signal.c:816
 exit_to_usermode_loop+0x2e0/0x370 arch/x86/entry/common.c:162
 prepare_exit_to_usermode arch/x86/entry/common.c:197 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:268 [inline]
 do_syscall_64+0x6be/0x820 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x457089
Code: fd b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 cb b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 
RSP: 002b:00007f6100e30cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: 0000000000000001 RBX: 0000000000930148 RCX: 0000000000457089
RDX: 000000000000000a RSI: 0000000000000001 RDI: 000000000093014c
RBP: 0000000000930140 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000093014c
R13: 00007fff6d23241f R14: 00007f6100e319c0 R15: 0000000000000001
Shutting down cpus with NMI
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (25):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/08/11 15:19 upstream f313b43be461 7a88b141 .config console log report ci-upstream-kasan-gce-root
2018/06/29 17:48 upstream 2cd3ae212973 dba0b50e .config console log report ci-upstream-kasan-gce-root
2018/06/11 03:25 upstream 1aaccb5fa0ea 866118af .config console log report ci-upstream-kasan-gce-root
2018/10/13 10:22 linux-next 774ea0551a29 caf12900 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/10/09 22:01 linux-next 570b7bdeaf18 8b311eaf .config console log report ci-upstream-linux-next-kasan-gce-root
2018/10/07 07:35 linux-next 12ffaa1197f5 8b311eaf .config console log report ci-upstream-linux-next-kasan-gce-root
2018/10/06 23:36 linux-next 12ffaa1197f5 8b311eaf .config console log report ci-upstream-linux-next-kasan-gce-root
2018/10/06 12:48 linux-next 12ffaa1197f5 8b311eaf .config console log report ci-upstream-linux-next-kasan-gce-root
2018/10/04 21:55 linux-next 25bcda3e8b9f 8b311eaf .config console log report ci-upstream-linux-next-kasan-gce-root
2018/10/02 15:16 linux-next 62f3d25900c9 a316a2af .config console log report ci-upstream-linux-next-kasan-gce-root
2018/10/02 10:43 linux-next 62f3d25900c9 e06f7713 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/30 14:03 linux-next 4794a36bf08d 41e4b329 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/30 10:49 linux-next 4794a36bf08d 41e4b329 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/29 22:28 linux-next 4794a36bf08d 41e4b329 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/29 18:21 linux-next 4794a36bf08d 41e4b329 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/28 14:10 linux-next 4794a36bf08d 137d7c66 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/24 12:43 linux-next dad486875956 2f485cdf .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/24 09:39 linux-next dad486875956 e029c3e0 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/24 07:12 linux-next dad486875956 28d9ac76 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/24 06:37 linux-next dad486875956 28d9ac76 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/23 14:54 linux-next 46c163a036b4 37079712 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/23 05:47 linux-next 46c163a036b4 37079712 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/07 14:17 linux-next f2b6e66e9885 69cfeb80 .config console log report ci-upstream-linux-next-kasan-gce-root
2018/09/06 18:04 linux-next f2b6e66e9885 0bb7a7eb .config console log report ci-upstream-linux-next-kasan-gce-root
2018/08/05 06:27 linux-next 116b181bb646 3476a2df .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.