syzbot


WARNING in ext4_put_io_end_defer

Status: auto-closed as invalid on 2019/04/07 13:03
First crash: 2235d, last: 2235d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in ext4_put_io_end_defer 4 215d 226d 0/3 auto-obsoleted due to no activity on 2024/07/29 09:35
upstream WARNING in ext4_put_io_end_defer ext4 25 2231d 2354d 0/28 auto-closed as invalid on 2019/04/11 10:23
android-49 WARNING in ext4_put_io_end_defer 12 2228d 2048d 0/3 auto-closed as invalid on 2019/04/28 09:31

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 18838 at fs/ext4/page-io.c:206 ext4_add_complete_io fs/ext4/page-io.c:206 [inline]
WARNING: CPU: 0 PID: 18838 at fs/ext4/page-io.c:206 ext4_put_io_end_defer+0x29c/0x390 fs/ext4/page-io.c:269
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 18838 Comm: syz-executor1 Not tainted 4.14.74+ #17
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0xb9/0x11b lib/dump_stack.c:53
 panic+0x1bf/0x3a4 kernel/panic.c:181
 __warn.cold.7+0x148/0x185 kernel/panic.c:542
 report_bug+0x1f7/0x26c lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:177 [inline]
 do_error_trap+0x1ba/0x2c0 arch/x86/kernel/traps.c:295
 invalid_op+0x18/0x40 arch/x86/entry/entry_64.S:944
RIP: 0010:ext4_add_complete_io fs/ext4/page-io.c:206 [inline]
RIP: 0010:ext4_put_io_end_defer+0x29c/0x390 fs/ext4/page-io.c:269
RSP: 0018:ffff8801dba079d8 EFLAGS: 00010006
RAX: ffff88019dd3c680 RBX: ffff8801c347d120 RCX: 0000000000001000
RDX: 0000000000010000 RSI: ffff8801c850d834 RDI: ffff8801d5910320
RBP: ffff88019a5001f0 R08: 0000000000000000 R09: 0000000000000000
R10: ffff88019dd3cfa0 R11: 0000000000000001 R12: ffff8801d58ee600
R13: ffff8801d5910000 R14: ffff8801c850d850 R15: 000000000015a800
 ext4_end_bio+0x1e6/0x5e0 fs/ext4/page-io.c:335
 bio_endio+0x1da/0x5f0 block/bio.c:1856
 req_bio_endio block/blk-core.c:204 [inline]
 blk_update_request+0x2b8/0x9f0 block/blk-core.c:2765
 scsi_end_request+0x7d/0x640 drivers/scsi/scsi_lib.c:659
 scsi_io_completion+0x906/0x1470 drivers/scsi/scsi_lib.c:876
 scsi_softirq_done+0x2bc/0x340 drivers/scsi/scsi_lib.c:1662
 __blk_mq_complete_request+0x300/0x6a0 block/blk-mq.c:571
 blk_mq_complete_request+0x24/0x30 block/blk-mq.c:591
 virtscsi_vq_done+0xb9/0x150 drivers/scsi/virtio_scsi.c:223
 vring_interrupt+0x104/0x150 drivers/virtio/virtio_ring.c:951
 __handle_irq_event_percpu+0xf8/0x770 kernel/irq/handle.c:147
 handle_irq_event_percpu+0x76/0x150 kernel/irq/handle.c:187
 handle_irq_event+0xa1/0x12d kernel/irq/handle.c:204
 handle_edge_irq+0x1f0/0x7f0 kernel/irq/chip.c:770
 generic_handle_irq_desc include/linux/irqdesc.h:158 [inline]
 handle_irq+0x242/0x328 arch/x86/kernel/irq_64.c:78
 do_IRQ+0x7d/0x1b0 arch/x86/kernel/irq.c:230
 common_interrupt+0x84/0x84 arch/x86/entry/entry_64.S:571
 </IRQ>
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:778 [inline]
RIP: 0010:lock_acquire+0x15c/0x380 kernel/locking/lockdep.c:3994
RSP: 0018:ffff8801cdd4f568 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff8e
RAX: 0000000000000007 RBX: 0000000000000246 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff88019dd3cf50 RDI: 0000000000000246
RBP: ffff88019dd3c680 R08: 00000000000002e0 R09: ffffffff9a8c5da0
R10: ffff88019dd3cf50 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000001
 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline]
 _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:152
 spin_lock include/linux/spinlock.h:317 [inline]
 do_anonymous_page mm/memory.c:3109 [inline]
 handle_pte_fault mm/memory.c:3932 [inline]
 __handle_mm_fault+0xca6/0x23a0 mm/memory.c:4058
 handle_mm_fault+0x3d5/0x6eb mm/memory.c:4095
 __do_page_fault+0x45d/0xb60 arch/x86/mm/fault.c:1425
 page_fault+0x22/0x50 arch/x86/entry/entry_64.S:1104
RIP: 0010:fault_in_pages_readable include/linux/pagemap.h:613 [inline]
RIP: 0010:iov_iter_fault_in_readable+0x2b9/0x370 lib/iov_iter.c:421
RSP: 0018:ffff8801cdd4f8e8 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 00000000000000ff RCX: 0000000000040000
RDX: ffffffff81b560d3 RSI: ffffc9000c78c000 RDI: ffff8801cdd4fcf8
RBP: 1ffff10039ba9f1e R08: 00000000865e4309 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 000000002063b07f R14: 0000000000001000 R15: ffff8801cdd4fcf0
 generic_perform_write+0x166/0x430 mm/filemap.c:3027
 __generic_file_write_iter+0x345/0x540 mm/filemap.c:3162
 ext4_file_write_iter+0x4f6/0xe20 fs/ext4/file.c:264
 call_write_iter include/linux/fs.h:1782 [inline]
 new_sync_write fs/read_write.c:471 [inline]
 __vfs_write+0x417/0x5c0 fs/read_write.c:484
 vfs_write+0x17f/0x4d0 fs/read_write.c:546
 SYSC_write fs/read_write.c:593 [inline]
 SyS_write+0xc2/0x1a0 fs/read_write.c:585
 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x457579
RSP: 002b:00007f066eb0dc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457579
RDX: 00000000fffffe38 RSI: 0000000020000080 RDI: 0000000000000006
RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f066eb0e6d4
R13: 00000000004c5585 R14: 00000000004d8eb0 R15: 00000000ffffffff
Shutting down cpus with NMI
Kernel Offset: 0x16400000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
Rebooting in 86400 seconds..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/10/09 12:54 android-4.14 d33692e8014d 8b311eaf .config console log report ci-android-414-kasan-gce-root
* Struck through repros no longer work on HEAD.