syzbot


general protection fault in get_work_pool

Status: auto-closed as invalid on 2019/08/20 09:55
Reported-by: syzbot+c319627a782e302fb57c@syzkaller.appspotmail.com
First crash: 2250d, last: 2100d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 general protection fault in get_work_pool 1 1475d 1475d 0/1 auto-closed as invalid on 2021/03/07 04:54
android-44 general protection fault in get_work_pool C 5 2280d 2051d 0/2 public: reported C repro on 2019/04/11 08:44
upstream general protection fault in get_work_pool net C done 24 2052d 2455d 13/28 fixed on 2019/11/03 21:23
linux-4.14 general protection fault in get_work_pool C done 1 1441d 1471d 1/1 fixed on 2021/01/09 22:02
upstream general protection fault in get_work_pool (2) kvm 5 156d 156d 0/28 closed as invalid on 2024/08/16 18:24
android-49 general protection fault in get_work_pool C 24 2140d 2049d 0/3 public: reported C repro on 2019/04/13 00:00

Sample crash report:
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN NOPTI
Modules linked in:
CPU: 0 PID: 475 Comm: kworker/u4:25 Not tainted 4.14.102+ #17
Workqueue: netns cleanup_net
task: ffff8881c06cde00 task.stack: ffff888169c20000
RIP: 0010:get_work_pool+0x9f/0x140 kernel/workqueue.c:718
RSP: 0018:ffff888169c27a28 EFLAGS: 00010006
RAX: dffffc0000000000 RBX: 0000001ffffffe00 RCX: 0000000000000000
RDX: 00000003ffffffc0 RSI: 00000000ffffffff RDI: 0000000000000046
RBP: ffff888169c27ba0 R08: 0000000000000001 R09: 0000000000000003
R10: ffff888169c27830 R11: ffffe8ffffc1805b R12: ffff8881a6cdf0d0
R13: 1ffff1102d384f4b R14: dffffc0000000000 R15: ffff8881a6cdf0b0
FS:  0000000000000000(0000) GS:ffff8881d7400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff1c707c50 CR3: 00000001f1426003 CR4: 00000000001606b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
 start_flush_work kernel/workqueue.c:2819 [inline]
 flush_work+0xff/0x710 kernel/workqueue.c:2884
 xfrm_policy_fini+0x29/0x260 net/xfrm/xfrm_policy.c:3008
 xfrm_net_exit+0x19/0x30 net/xfrm/xfrm_policy.c:3069
 ops_exit_list.isra.0+0xa8/0x150 net/core/net_namespace.c:142
 cleanup_net+0x3ce/0x860 net/core/net_namespace.c:483
 process_one_work+0x7c6/0x14e0 kernel/workqueue.c:2114
 worker_thread+0x5d7/0x1080 kernel/workqueue.c:2248
 kthread+0x310/0x420 kernel/kthread.c:232
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:402
Code: 89 c4 e8 c5 5f 1e 00 4c 89 e0 5b 41 5c c3 e8 b9 5f 1e 00 48 81 e3 00 fe ff ff 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 <80> 3c 02 00 0f 85 84 00 00 00 4c 8b 23 e8 8f 5f 1e 00 5b 4c 89 
RIP: get_work_pool+0x9f/0x140 kernel/workqueue.c:718 RSP: ffff888169c27a28
---[ end trace 6b31c97802703ca9 ]---

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/02/21 09:54 android-4.14 01709c953f89 3133098b .config console log report ci-android-414-kasan-gce-root
2019/01/30 05:38 android-4.14 63d1657d00e0 aa432daf .config console log report ci-android-414-kasan-gce-root
2019/01/09 09:53 android-4.14 3c207c880674 45c0c1b1 .config console log report ci-android-414-kasan-gce-root
2018/09/23 21:40 android-4.14 666c420fa3ea 28d9ac76 .config console log report ci-android-414-kasan-gce-root
* Struck through repros no longer work on HEAD.