syzbot


WARNING in pcpu_alloc

Status: public: reported C repro on 2019/04/11 08:44
Reported-by: syzbot+5e34ec0c4a00d39535f9@syzkaller.appspotmail.com
First crash: 2277d, last: 1844d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in pcpu_alloc bpf C 4 2236d 2245d 11/28 fixed on 2018/10/11 14:33

Sample crash report:
random: crng init done
------------[ cut here ]------------
WARNING: CPU: 0 PID: 2113 at mm/percpu.c:892 pcpu_alloc+0x7aa/0xad0 mm/percpu.c:891
illegal size (32816) or align (8) for percpu allocation
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 2113 Comm: syz-executor146 Not tainted 4.9.124+ #32
 ffff8801ca1b79a0 ffffffff81af4529 ffffffff82838de0 00000000ffffffff
 0000000000000000 0000000000000000 000000000000037c ffff8801ca1b7a60
 ffffffff813f1b55 0000000041b58ab3 ffffffff82c2889b ffffffff813f1996
Call Trace:
 [<ffffffff81af4529>] __dump_stack lib/dump_stack.c:15 [inline]
 [<ffffffff81af4529>] dump_stack+0xc1/0x128 lib/dump_stack.c:51
 [<ffffffff813f1b55>] panic+0x1bf/0x39f kernel/panic.c:179
 [<ffffffff813f1e24>] __warn.cold.9+0xc1/0x17f kernel/panic.c:542
 [<ffffffff810dcd52>] warn_slowpath_fmt+0xc2/0x100 kernel/panic.c:565
 [<ffffffff8146ca1a>] pcpu_alloc+0x7aa/0xad0 mm/percpu.c:891
 [<ffffffff8146cd67>] __alloc_percpu_gfp+0x27/0x30 mm/percpu.c:1066
 [<ffffffff813adb3f>] alloc_extra_elems kernel/bpf/hashtab.c:133 [inline]
 [<ffffffff813adb3f>] htab_map_alloc+0x75f/0xec0 kernel/bpf/hashtab.c:243
 [<ffffffff8139871a>] find_and_alloc_map kernel/bpf/syscall.c:38 [inline]
 [<ffffffff8139871a>] map_create kernel/bpf/syscall.c:259 [inline]
 [<ffffffff8139871a>] SYSC_bpf kernel/bpf/syscall.c:1019 [inline]
 [<ffffffff8139871a>] SyS_bpf+0x16ba/0x2620 kernel/bpf/syscall.c:972
 [<ffffffff8100554f>] do_syscall_64+0x19f/0x480 arch/x86/entry/common.c:282
 [<ffffffff8278ba53>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1032):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/08/30 04:10 https://android.googlesource.com/kernel/common android-4.9 09eb2ba5ed0c 6c7e9d3d .config console log report syz C ci-android-49-kasan-gce-root
2019/11/06 09:16 https://android.googlesource.com/kernel/common android-4.9 7fe05eede1c8 bc2c6e45 .config console log report ci-android-49-kasan-gce-root
2019/10/09 17:35 https://android.googlesource.com/kernel/common android-4.9 7fe05eede1c8 312c6a5a .config console log report ci-android-49-kasan-gce-root
2019/10/06 03:42 https://android.googlesource.com/kernel/common android-4.9 7fe05eede1c8 f3f7d9c8 .config console log report ci-android-49-kasan-gce-root
2019/10/04 00:57 https://android.googlesource.com/kernel/common android-4.9 7fe05eede1c8 fc17ba49 .config console log report ci-android-49-kasan-gce-root
2019/09/30 21:50 https://android.googlesource.com/kernel/common android-4.9 7fe05eede1c8 c7a4fb99 .config console log report ci-android-49-kasan-gce-root
2019/09/27 06:03 https://android.googlesource.com/kernel/common android-4.9 7fe05eede1c8 2f1548bc .config console log report ci-android-49-kasan-gce-root
2019/08/29 13:44 https://android.googlesource.com/kernel/common android-4.9 76ae5009ed0a fd37b39e .config console log report ci-android-49-kasan-gce-root
2019/08/20 09:52 https://android.googlesource.com/kernel/common android-4.9 9e50cb052183 ee12860b .config console log report ci-android-49-kasan-gce-root
2019/07/28 19:12 https://android.googlesource.com/kernel/common android-4.9 3244efed0310 c85e1c5b .config console log report ci-android-49-kasan-gce-root
2019/07/19 05:47 https://android.googlesource.com/kernel/common android-4.9 5e2c340821b1 7bb222f7 .config console log report ci-android-49-kasan-gce-root
2019/07/04 13:24 https://android.googlesource.com/kernel/common android-4.9 ab758e1039d6 55565fa0 .config console log report ci-android-49-kasan-gce-root
2019/06/29 22:35 https://android.googlesource.com/kernel/common android-4.9 ab758e1039d6 7509bf36 .config console log report ci-android-49-kasan-gce-root
2019/06/29 00:36 https://android.googlesource.com/kernel/common android-4.9 ab758e1039d6 7509bf36 .config console log report ci-android-49-kasan-gce-root
2019/06/25 12:17 https://android.googlesource.com/kernel/common android-4.9 a80a7ab5f7c3 82c13b6b .config console log report ci-android-49-kasan-gce-root
2019/06/24 13:43 https://android.googlesource.com/kernel/common android-4.9 4395469838e0 472f0082 .config console log report ci-android-49-kasan-gce-root
2019/06/16 18:51 https://android.googlesource.com/kernel/common android-4.9 0c1ee05e1e72 442206d7 .config console log report ci-android-49-kasan-gce-root
2019/06/15 21:44 https://android.googlesource.com/kernel/common android-4.9 0c1ee05e1e72 442206d7 .config console log report ci-android-49-kasan-gce-root
2019/06/15 07:24 https://android.googlesource.com/kernel/common android-4.9 0c1ee05e1e72 442206d7 .config console log report ci-android-49-kasan-gce-root
2019/06/09 19:44 https://android.googlesource.com/kernel/common android-4.9 83ae225d5ce3 0159583c .config console log report ci-android-49-kasan-gce-root
2019/04/21 19:52 https://android.googlesource.com/kernel/common android-4.9 1ef64dae6217 b0e8efcb .config console log report ci-android-49-kasan-gce-root
2019/04/20 11:24 https://android.googlesource.com/kernel/common android-4.9 73ab44b8080b b0e8efcb .config console log report ci-android-49-kasan-gce-root
2019/04/15 11:32 https://android.googlesource.com/kernel/common android-4.9 fc67a895f0a5 505ab413 .config console log report ci-android-49-kasan-gce-root
2019/04/07 20:29 https://android.googlesource.com/kernel/common android-4.9 286f971000f1 c34fde03 .config console log report ci-android-49-kasan-gce-root
2019/04/06 18:49 https://android.googlesource.com/kernel/common android-4.9 286f971000f1 c34fde03 .config console log report ci-android-49-kasan-gce-root
2019/04/06 02:07 https://android.googlesource.com/kernel/common android-4.9 286f971000f1 fa763482 .config console log report ci-android-49-kasan-gce-root
2019/04/05 18:59 https://android.googlesource.com/kernel/common android-4.9 90e40e0bf6cb 40f2363e .config console log report ci-android-49-kasan-gce-root
2019/04/04 17:08 https://android.googlesource.com/kernel/common android-4.9 f509aa2e1e51 6a475fff .config console log report ci-android-49-kasan-gce-root
2019/04/03 05:55 https://android.googlesource.com/kernel/common android-4.9 5f5c16578d2b dfd3394d .config console log report ci-android-49-kasan-gce-root
2019/04/03 01:13 https://android.googlesource.com/kernel/common android-4.9 5f5c16578d2b dfd3394d .config console log report ci-android-49-kasan-gce-root
2019/03/31 11:10 https://android.googlesource.com/kernel/common android-4.9 86a136d920c7 0c624d4d .config console log report ci-android-49-kasan-gce-root
2019/03/27 00:12 https://android.googlesource.com/kernel/common android-4.9 cbbb29d81d4b 55684ce1 .config console log report ci-android-49-kasan-gce-root
2019/03/26 10:31 https://android.googlesource.com/kernel/common android-4.9 de12cfe6e937 55684ce1 .config console log report ci-android-49-kasan-gce-root
2019/03/26 08:22 https://android.googlesource.com/kernel/common android-4.9 de12cfe6e937 55684ce1 .config console log report ci-android-49-kasan-gce-root
2019/03/26 05:11 https://android.googlesource.com/kernel/common android-4.9 de12cfe6e937 55684ce1 .config console log report ci-android-49-kasan-gce-root
2019/03/25 17:08 https://android.googlesource.com/kernel/common android-4.9 72b54df9a5ef 2c86e0a5 .config console log report ci-android-49-kasan-gce-root
2019/03/25 15:21 https://android.googlesource.com/kernel/common android-4.9 72b54df9a5ef 2c86e0a5 .config console log report ci-android-49-kasan-gce-root
2019/03/24 18:22 https://android.googlesource.com/kernel/common android-4.9 72b54df9a5ef acbc5b7d .config console log report ci-android-49-kasan-gce-root
2019/03/24 03:18 https://android.googlesource.com/kernel/common android-4.9 a163d3fb8a23 a2cef203 .config console log report ci-android-49-kasan-gce-root
2019/03/23 02:17 https://android.googlesource.com/kernel/common android-4.9 270fbfb501f1 3361bde5 .config console log report ci-android-49-kasan-gce-root
2019/03/22 20:39 https://android.googlesource.com/kernel/common android-4.9 270fbfb501f1 3361bde5 .config console log report ci-android-49-kasan-gce-root
2019/03/22 16:47 https://android.googlesource.com/kernel/common android-4.9 1597fdfe52ba dce6e62f .config console log report ci-android-49-kasan-gce-root
2019/03/22 12:41 https://android.googlesource.com/kernel/common android-4.9 1597fdfe52ba dce6e62f .config console log report ci-android-49-kasan-gce-root
* Struck through repros no longer work on HEAD.