syzbot


general protection fault in wb_workfn (2)

Status: fixed on 2018/07/09 18:05
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+4a7438e774b21ddd8eca@syzkaller.appspotmail.com
Fix commit: 3ee7e8697d58 bdi: Fix another oops in wb_workfn()
First crash: 2340d, last: 2307d
Discussions (6)
Title Replies (including bot) Last reply
[PATCH 4.17 000/101] 4.17.9-stable review 100 (101) 2018/07/22 11:42
[PATCH 4.14 00/92] 4.14.57-stable review 91 (92) 2018/07/21 13:41
[PATCH] bdi: Fix another oops in wb_workfn() 6 (6) 2018/06/22 18:08
[PATCH] bdi: Fix another oops in wb_workfn() 19 (19) 2018/06/18 12:27
general protection fault in wb_workfn (2) 16 (17) 2018/06/09 05:30
[PATCH] bdi: Fix another oops in wb_workfn() 4 (4) 2018/05/29 13:46
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in wb_workfn fs 63 2341d 2368d 5/28 fixed on 2018/05/17 10:02

Sample crash report:
nf_conntrack: default automatic helper assignment has been turned off for security reasons and CT-based  firewall rule not found. Use the iptables CT target to attach helpers instead.
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] SMP KASAN
CPU: 0 PID: 32 Comm: kworker/u4:2 Not tainted 4.18.0-rc1+ #109
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:1019 [inline]
RIP: 0010:wb_workfn+0x19d/0x1760 fs/fs-writeback.c:1937
Code: 48 c1 ea 03 80 3c 02 00 0f 85 96 14 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 39 14 00 00 4c 8b 63 50 4d 85 e4 0f 84 c5 0e 00 
RSP: 0018:ffff8801d9527250 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff814fee45
RDX: 000000000000000a RSI: ffffffff81d18545 RDI: 0000000000000050
RBP: ffff8801d9527730 R08: ffff8801d9512080 R09: ffffed003b5c46d6
R10: ffffed003b5c46d6 R11: ffff8801dae236b3 R12: 0000000000000001
R13: 1ffff1003b2a4f33 R14: ffff8801d9527708 R15: ffff8801c243f698
FS:  0000000000000000(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020606ff0 CR3: 0000000008e6a000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000023eee571 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 process_one_work+0xc73/0x1ba0 kernel/workqueue.c:2153
 process_scheduled_works kernel/workqueue.c:2212 [inline]
 worker_thread+0x9ed/0x13c0 kernel/workqueue.c:2301
 kthread+0x345/0x410 kernel/kthread.c:240
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:412
Modules linked in:
Dumping ftrace buffer:
   (ftrace buffer empty)
---[ end trace dfe6c54ac53f15c7 ]---
RIP: 0010:dev_name include/linux/device.h:1019 [inline]
RIP: 0010:wb_workfn+0x19d/0x1760 fs/fs-writeback.c:1937
Code: 48 c1 ea 03 80 3c 02 00 0f 85 96 14 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 39 14 00 00 4c 8b 63 50 4d 85 e4 0f 84 c5 0e 00 
RSP: 0018:ffff8801d9527250 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff814fee45
RDX: 000000000000000a RSI: ffffffff81d18545 RDI: 0000000000000050
RBP: ffff8801d9527730 R08: ffff8801d9512080 R09: ffffed003b5c46d6
R10: ffffed003b5c46d6 R11: ffff8801dae236b3 R12: 0000000000000001
R13: 1ffff1003b2a4f33 R14: ffff8801d9527708 R15: ffff8801c243f698
FS:  0000000000000000(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020606ff0 CR3: 0000000008e6a000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000023eee571 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (38):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/06/20 01:27 upstream ba4dbdedd3ed 095ef806 .config console log report ci-upstream-kasan-gce-root
2018/06/19 07:48 upstream ba4dbdedd3ed 45c54f75 .config console log report ci-upstream-kasan-gce
2018/06/16 23:02 upstream 35773c93817c 27c5f59f .config console log report ci-upstream-kasan-gce
2018/06/14 14:12 upstream 2837461dbe6f 27c5f59f .config console log report ci-upstream-kasan-gce
2018/06/13 16:07 upstream f5b7769eb040 27c5f59f .config console log report ci-upstream-kasan-gce
2018/06/11 18:46 upstream f0dc7f9c6dd9 ae8bdb50 .config console log report ci-upstream-kasan-gce
2018/06/06 16:23 upstream af6c5d5e01ad 41f9540d .config console log report ci-upstream-kasan-gce
2018/06/06 13:46 upstream af6c5d5e01ad 41f9540d .config console log report ci-upstream-kasan-gce
2018/06/05 04:56 upstream 910470e03f34 a50d873b .config console log report ci-upstream-kasan-gce-root
2018/06/04 16:40 upstream 29dcea88779c 6cbe7c26 .config console log report ci-upstream-kasan-gce
2018/06/04 04:32 upstream 325e14f97e0c 2f93b54f .config console log report ci-upstream-kasan-gce
2018/06/02 02:40 upstream 0512e0134582 2f93b54f .config console log report ci-upstream-kasan-gce
2018/06/01 05:08 upstream dd52cb879063 2f93b54f .config console log report ci-upstream-kasan-gce
2018/05/30 16:59 upstream 0044cdeb7313 2f93b54f .config console log report ci-upstream-kasan-gce-root
2018/05/29 12:02 upstream 786b71f5b754 f48c20b8 .config console log report ci-upstream-kasan-gce-root
2018/05/29 06:40 upstream 786b71f5b754 f48c20b8 .config console log report ci-upstream-kasan-gce-root
2018/05/27 11:11 upstream 7fbb6157630f f48c20b8 .config console log report ci-upstream-kasan-gce-root
2018/05/25 19:43 upstream b50694381cfc f48c20b8 .config console log report ci-upstream-kasan-gce
2018/05/25 05:49 upstream d883c6cf3b39 f48c20b8 .config console log report ci-upstream-kasan-gce-root
2018/05/24 16:45 upstream bee797529d7c f48c20b8 .config console log report ci-upstream-kasan-gce
2018/05/23 08:06 upstream a048a07d7f45 f48c20b8 .config console log report ci-upstream-kasan-gce
2018/05/22 20:13 upstream a048a07d7f45 f48c20b8 .config console log report ci-upstream-kasan-gce
2018/05/22 18:02 upstream a048a07d7f45 f48c20b8 .config console log report ci-upstream-kasan-gce
2018/05/22 05:30 upstream 6741c4bb389d f48c20b8 .config console log report ci-upstream-kasan-gce
2018/05/20 22:17 upstream 203ec2fed17a f48c20b8 .config console log report ci-upstream-kasan-gce
2018/05/20 05:08 upstream 0b449a441dac f48c20b8 .config console log report ci-upstream-kasan-gce
2018/05/19 05:10 upstream 2c71d338bef2 849705db .config console log report ci-upstream-kasan-gce
2018/05/18 16:13 upstream 3acf4e395260 c992b767 .config console log report ci-upstream-kasan-gce-root
2018/05/18 16:02 upstream 3acf4e395260 c992b767 .config console log report ci-upstream-kasan-gce-root
2018/05/18 01:24 upstream 305bb5521282 738d58ad .config console log report ci-upstream-kasan-gce-root
2018/06/11 23:08 upstream f0dc7f9c6dd9 112eec79 .config console log report ci-upstream-kasan-gce-386
2018/06/06 03:03 upstream 5037be168f0e 863a24bb .config console log report ci-upstream-kasan-gce-386
2018/06/02 07:20 upstream 0512e0134582 2f93b54f .config console log report ci-upstream-kasan-gce-386
2018/06/02 03:47 upstream 0512e0134582 2f93b54f .config console log report ci-upstream-kasan-gce-386
2018/06/01 10:06 upstream 0512e0134582 2f93b54f .config console log report ci-upstream-kasan-gce-386
2018/05/24 17:10 upstream bee797529d7c f48c20b8 .config console log report ci-upstream-kasan-gce-386
2018/05/23 07:47 upstream a048a07d7f45 f48c20b8 .config console log report ci-upstream-kasan-gce-386
2018/05/23 04:25 upstream a048a07d7f45 f48c20b8 .config console log report ci-upstream-kasan-gce-386
* Struck through repros no longer work on HEAD.