syzbot


general protection fault in blk_get_backing_dev_info

Status: auto-closed as invalid on 2019/02/22 12:31
First crash: 2293d, last: 2291d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-49 general protection fault in blk_get_backing_dev_info (2) C 3 2092d 2048d 0/3 public: reported C repro on 2019/04/14 08:51
android-49 general protection fault in blk_get_backing_dev_info 3 2378d 2392d 0/3 auto-closed as invalid on 2019/02/22 14:34

Sample crash report:
blk_update_request: I/O error, dev loop0, sector 1280
Buffer I/O error on dev loop0, logical block 160, lost async page write
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory accessgeneral protection fault: 0000 [#1] PREEMPT SMP KASAN
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 0 PID: 6 Comm: kworker/u4:0 Not tainted 4.4.147-ga5fc665 #16
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: writeback wb_workfn (flush-7:0)
task: ffff8801d9a08000 task.stack: ffff8801d9a10000
RIP: 0010:[<ffffffff81d6d89a>]  [<ffffffff81d6d89a>] bdev_get_queue include/linux/blkdev.h:828 [inline]
RIP: 0010:[<ffffffff81d6d89a>]  [<ffffffff81d6d89a>] blk_get_backing_dev_info+0x4a/0x70 block/blk-core.c:118
RSP: 0018:ffff8801d9a17808  EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000006
RDX: 00000000000000a6 RSI: ffffffff81d6d85d RDI: 0000000000000530
RBP: ffff8801d9a17810 R08: ffff8801d9a08978 R09: 0000000000000001
R10: 0000000000000000 R11: ffff8801d9a08000 R12: ffff8801d9c112e0
R13: ffff8800b9686640 R14: ffff8801c98ec8a0 R15: ffff8801d9a17930
FS:  0000000000000000(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3a5fb2e000 CR3: 00000001be729000 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 ffff8801da092200 ffff8801d9a17830 ffffffff815a5115 ffff8801d9c11460
 dffffc0000000000 ffff8801d9a17958 ffffffff815a56d0 ffff8800b9686698
 ffff8800b9686658 ffff8801d9a17a70 ffff8801d9c11368 ffff8801d9c113b8
Call Trace:
 [<ffffffff815a5115>] inode_to_bdi include/linux/backing-dev.h:186 [inline]
 [<ffffffff815a5115>] inode_to_wb include/linux/backing-dev.h:455 [inline]
 [<ffffffff815a5115>] inode_to_wb_and_lock_list+0xc5/0xf0 fs/fs-writeback.c:914
 [<ffffffff815a56d0>] writeback_sb_inodes+0x590/0xee0 fs/fs-writeback.c:1571
 [<ffffffff815a611b>] __writeback_inodes_wb+0xfb/0x1e0 fs/fs-writeback.c:1617
 [<ffffffff815a68b9>] wb_writeback+0x529/0xd00 fs/fs-writeback.c:1726
 [<ffffffff815b2f15>] wb_do_writeback fs/fs-writeback.c:1858 [inline]
 [<ffffffff815b2f15>] wb_workfn+0x245/0xf20 fs/fs-writeback.c:1894
 [<ffffffff811841df>] process_one_work+0x7df/0x1600 kernel/workqueue.c:2064
 [<ffffffff811850d9>] worker_thread+0xd9/0xfc0 kernel/workqueue.c:2196
 [<ffffffff81192be8>] kthread+0x268/0x300 kernel/kthread.c:211
 [<ffffffff838c9095>] ret_from_fork+0x55/0x80 arch/x86/entry/entry_64.S:510
Code: 89 fa 48 c1 ea 03 80 3c 02 00 75 35 48 8b 9b f0 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d bb 30 05 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 17 48 8b 83 30 05 00 00 5b 5d 48 05 30 02 00 00 
RIP  [<ffffffff81d6d89a>] bdev_get_queue include/linux/blkdev.h:828 [inline]
RIP  [<ffffffff81d6d89a>] blk_get_backing_dev_info+0x4a/0x70 block/blk-core.c:118
 RSP <ffff8801d9a17808>
---[ end trace 27442af87aadf4e1 ]---

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/08/13 19:09 https://android.googlesource.com/kernel/common android-4.4 a5fc66599b61 7a88b141 .config console log report ci-android-44-kasan-gce-386
2018/08/11 22:38 https://android.googlesource.com/kernel/common android-4.4 a5fc66599b61 7a88b141 .config console log report ci-android-44-kasan-gce-386
* Struck through repros no longer work on HEAD.