syzbot


general protection fault in wb_workfn

Status: fixed on 2018/05/17 10:02
Reported-by: syzbot+9873874c735f2892e7e9@syzkaller.appspotmail.com
Fix commit: b8b784958ecc bdi: Fix oops in wb_workfn()
First crash: 1561d, last: 1511d
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in wb_workfn (2) 38 1476d 1501d 9/22 fixed on 2018/07/09 18:05

Sample crash report:
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
kasan: CONFIG_KASAN_INLINE enabled
general protection fault: 0000 [#1] SMP KASAN
kasan: GPF could be caused by NULL-ptr deref or user memory access
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 0 PID: 27270 Comm: kworker/u4:1 Not tainted 4.17.0-rc4+ #46
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: writeback wb_workfn
RIP: 0010:dev_name include/linux/device.h:1008 [inline]
RIP: 0010:wb_workfn+0x195/0x1740 fs/fs-writeback.c:1937
RSP: 0018:ffff8801836c7270 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff814e1f15
RDX: 000000000000000a RSI: ffffffff81cd31cd RDI: 0000000000000050
RBP: ffff8801836c7750 R08: ffff8801affb2080 R09: ffffed003b5c46c2
R10: ffffed003b5c46c2 R11: ffff8801dae23613 R12: 0000000000000001
R13: 1ffff100306d8f37 R14: ffff8801836c7728 R15: ffff8801c6ca6c98
FS:  0000000000000000(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd834510518 CR3: 00000001876fa000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 process_one_work+0xc1e/0x1b50 kernel/workqueue.c:2145
 process_scheduled_works kernel/workqueue.c:2205 [inline]
 worker_thread+0xa30/0x1440 kernel/workqueue.c:2284
 kthread+0x345/0x410 kernel/kthread.c:240
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:412
Code: fa 48 c1 ea 03 80 3c 02 00 0f 85 ee 13 00 00 48 8b 9b 08 06 00 00 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 50 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 3f 14 00 00 4c 8b 63 50 4d 85 e4 0f 84 a9 0e 
RIP: dev_name include/linux/device.h:1008 [inline] RSP: ffff8801836c7270
RIP: wb_workfn+0x195/0x1740 fs/fs-writeback.c:1937 RSP: ffff8801836c7270
general protection fault: 0000 [#2] SMP KASAN
---[ end trace 02cfccfcee04283e ]---
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 1 PID: 29 Comm: kworker/u4:2 Tainted: G      D           4.17.0-rc4+ #46
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011

Crashes (63):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-kasan-gce 2018/05/14 02:54 upstream 66e1c94db3cd 481f030c .config log report
ci-upstream-kasan-gce 2018/05/13 07:31 upstream 427fbe89261d e726f42b .config log report
ci-upstream-kasan-gce 2018/05/12 22:58 upstream 427fbe89261d e726f42b .config log report
ci-upstream-kasan-gce 2018/05/11 16:57 upstream 008464a9360e 12c7428a .config log report
ci-upstream-kasan-gce 2018/05/11 01:31 upstream 008464a9360e 12c7428a .config log report
ci-upstream-kasan-gce-root 2018/05/10 12:47 upstream 008464a9360e 12c7428a .config log report
ci-upstream-kasan-gce 2018/05/09 06:29 upstream 036db8bd9637 b88872ba .config log report
ci-upstream-kasan-gce 2018/05/08 07:42 upstream f142f08bf7ec 045bbd4a .config log report
ci-upstream-kasan-gce 2018/05/08 05:12 upstream f142f08bf7ec 045bbd4a .config log report
ci-upstream-kasan-gce 2018/05/07 19:06 upstream 75bc37fefc44 9e0846e8 .config log report
ci-upstream-kasan-gce 2018/05/07 17:17 upstream 75bc37fefc44 9e0846e8 .config log report
ci-upstream-kasan-gce 2018/05/06 13:29 upstream ee946c36be21 6c18ddb0 .config log report
ci-upstream-kasan-gce 2018/05/06 04:37 upstream ee946c36be21 78b251cb .config log report
ci-upstream-kasan-gce 2018/05/05 15:57 upstream c1c07416cdd4 6a0382b5 .config log report
ci-upstream-kasan-gce 2018/05/04 19:57 upstream 150426981426 9ce14f4b .config log report
ci-upstream-kasan-gce 2018/05/04 04:49 upstream c15f6d8d4715 9ce14f4b .config log report
ci-upstream-kasan-gce-root 2018/05/03 22:05 upstream c15f6d8d4715 9ce14f4b .config log report
ci-upstream-kasan-gce 2018/05/03 16:36 upstream f4ef6a438cee 9ce14f4b .config log report
ci-upstream-kasan-gce 2018/05/03 03:29 upstream 2d618bdf7163 d5b114b4 .config log report
ci-upstream-kasan-gce 2018/05/02 22:24 upstream 2d618bdf7163 d5b114b4 .config log report
ci-upstream-kasan-gce 2018/05/02 00:48 upstream f2125992e7cb d5b114b4 .config log report
ci-upstream-kasan-gce 2018/05/01 07:29 upstream 8188fc8bef8c d5b114b4 .config log report
ci-upstream-kasan-gce 2018/04/30 21:16 upstream 6da6c0db5316 d5b114b4 .config log report
ci-upstream-kasan-gce 2018/04/30 13:28 upstream 6da6c0db5316 06db3cec .config log report
ci-upstream-kasan-gce 2018/04/30 05:12 upstream c61a56ababa4 bb79c6ab .config log report
ci-upstream-kasan-gce 2018/04/30 04:04 upstream c61a56ababa4 bb79c6ab .config log report
ci-upstream-kasan-gce 2018/04/30 03:04 upstream c61a56ababa4 bb79c6ab .config log report
ci-upstream-kasan-gce 2018/04/29 11:09 upstream cdface520934 d5a5d045 .config log report
ci-upstream-kasan-gce-root 2018/04/28 16:26 upstream 46dc111dfe47 d5a5d045 .config log report
ci-upstream-kasan-gce 2018/04/21 13:44 upstream 83beed7b2b26 d23fcf6c .config log report
ci-upstream-kasan-gce 2018/04/20 13:57 upstream 87ef12027b9b cc402841 .config log report
ci-upstream-kasan-gce 2018/04/19 16:28 upstream 87ef12027b9b 3642839c .config log report
ci-upstream-kasan-gce 2018/04/17 17:48 upstream a27fc14219f2 b80fd3b5 .config log report
ci-upstream-kasan-gce 2018/04/17 10:53 upstream a27fc14219f2 b80fd3b5 .config log report
ci-upstream-kasan-gce 2018/04/17 08:55 upstream a27fc14219f2 b80fd3b5 .config log report
ci-upstream-kasan-gce 2018/04/17 05:29 upstream a27fc14219f2 b80fd3b5 .config log report
ci-upstream-kasan-gce 2018/04/16 14:49 upstream 60cc43fc8884 802ac912 .config log report
ci-upstream-kasan-gce 2018/04/14 23:10 upstream 48023102b707 7a67784c .config log report
ci-upstream-kasan-gce 2018/04/13 21:58 upstream 1bad9ce155a7 7a67784c .config log report
ci-upstream-kasan-gce 2018/04/13 17:39 upstream 16e205cf42da 0a0c5db6 .config log report
ci-upstream-kasan-gce 2018/04/13 00:44 upstream c17b0aadb7d8 eb2295de .config log report
ci-upstream-kasan-gce 2018/03/27 10:41 upstream 3eb2ce825ea1 bf5e585c .config log report
ci-upstream-kasan-gce-386 2018/05/16 05:14 upstream eeba2dfa6a0d 68ce85f1 .config log report
ci-upstream-kasan-gce-386 2018/04/02 06:41 upstream 0adb32858b0b dc889257 .config log report