syzbot


kernel panic: Attempted to kill init! (5)

Status: auto-closed as invalid on 2022/09/05 15:05
Subsystems: kernel
[Documentation on labels]
First crash: 1204d, last: 965d
Cause bisection: introduced by (bisect log) :
commit 8b401f9ed2441ad9e219953927a842d24ed051fc
Author: Yonghong Song <yhs@fb.com>
Date: Thu May 23 21:47:45 2019 +0000

  bpf: implement bpf_send_signal() helper

Crash: kernel panic: Attempted to kill init! (log)
Repro: C syz .config
  
Fix bisection the fix commit could be any of (bisect log):
  a14d273ba159 net: macb: restore cmp registers on resume path
  1682d8df20aa Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf
  
Similar bugs (14)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 kernel panic: Attempted to kill init! origin:upstream missing-backport C error 407 20h53m 648d 0/2 premoderation: reported C repro on 2022/10/13 06:16
android-49 kernel panic: Attempted to kill init! (2) syz 1 2447d 2447d 0/3 closed as invalid on 2017/12/06 10:59
upstream kernel panic: Attempted to kill init! C 1 2540d 2539d 0/27 closed as invalid on 2017/08/11 14:48
linux-4.14 kernel panic: Attempted to kill init! C 1 513d 618d 0/1 upstream: reported C repro on 2022/11/11 22:11
android-49 kernel panic: Attempted to kill init! C 1 2507d 2507d 0/3 closed as invalid on 2017/09/12 18:13
upstream kernel panic: Attempted to kill init! (2) kernel syz 347 2404d 2398d 0/27 closed as invalid on 2017/12/28 09:40
upstream kernel panic: Attempted to kill init! (6) kernel 2 453d 464d 0/27 auto-obsoleted due to no activity on 2023/07/25 19:19
android-54 kernel panic: Attempted to kill init! C 1 1422d 1422d 0/2 auto-obsoleted due to no activity on 2023/04/14 11:56
upstream kernel panic: Attempted to kill init! (4) kernel C done 19 1588d 2204d 0/27 closed as invalid on 2020/03/18 10:26
upstream kernel panic: Attempted to kill init! (3) kernel C 9 2284d 2396d 0/27 closed as invalid on 2018/06/14 08:46
android-414 kernel panic: Attempted to kill init! C 3 1820d 1930d 0/1 public: reported C repro on 2019/04/10 16:04
android-5-10 kernel panic: Attempted to kill init! C error 648 1d05h 444d 0/2 premoderation: reported C repro on 2023/05/05 07:30
android-44 kernel panic: Attempted to kill init! C 8 2064d 1927d 0/2 public: reported C repro on 2019/04/13 00:00
android-49 kernel panic: Attempted to kill init! (3) C 22 1820d 1927d 0/3 public: reported C repro on 2019/04/13 00:00
Last patch testing requests (2)
Created Duration User Patch Repo Result
2022/09/05 11:27 12m retest repro bpf-next OK log
2022/09/04 13:27 11m retest repro bpf OK log

Sample crash report:
Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
CPU: 1 PID: 1 Comm: systemd Not tainted 5.12.0-rc4-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:79 [inline]
 dump_stack+0x141/0x1d7 lib/dump_stack.c:120
 panic+0x306/0x73d kernel/panic.c:231
 do_exit.cold+0x160/0x242 kernel/exit.c:794
 do_group_exit+0x125/0x310 kernel/exit.c:922
 get_signal+0x42c/0x2100 kernel/signal.c:2777
 arch_do_signal_or_restart+0x2a8/0x1eb0 arch/x86/kernel/signal.c:789
 handle_signal_work kernel/entry/common.c:147 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:171 [inline]
 exit_to_user_mode_prepare+0x148/0x250 kernel/entry/common.c:208
 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline]
 syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:301
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fa356e3ef17
Code: ff ff ff 48 8b 4d a0 0f b7 51 fe 48 8b 4d a8 66 89 54 08 fe e9 1a ff ff ff 66 2e 0f 1f 84 00 00 00 00 00 b8 27 00 00 00 0f 05 <c3> 0f 1f 84 00 00 00 00 00 b8 6e 00 00 00 0f 05 c3 0f 1f 84 00 00
RSP: 002b:00007ffeaf340578 EFLAGS: 00000246 ORIG_RAX: 0000000000000027
RAX: 0000000000000001 RBX: 00005596f4d81f50 RCX: 00007fa356e3ef17
RDX: 00007ffeaf340700 RSI: 00007ffeaf340830 RDI: 0000000000000007
RBP: 0000000000000007 R08: 9f57686934ffeb3a R09: 00000000000073c0
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffeafb3ea70
R13: 0000000000000001 R14: ffffffffffffffff R15: 0000000000000002
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/04/04 23:16 bpf a14d273ba159 6a81331a .config console log report syz C ci-upstream-bpf-kasan-gce kernel panic: Attempted to kill init!
2021/04/05 07:10 bpf-next f73ea1eb4cce 6a81331a .config console log report syz C ci-upstream-bpf-next-kasan-gce kernel panic: Attempted to kill init!
2021/11/18 12:43 upstream ee1703cda8dc cafff8b6 .config console log report info ci-qemu-upstream-386 kernel panic: Attempted to kill init!
2021/07/20 20:33 bpf d6371c76e20d 1b201b48 .config console log report info ci-upstream-bpf-kasan-gce kernel panic: Attempted to kill init!
2021/06/07 09:26 bpf 1a8024239dac 500c2339 .config console log report info ci-upstream-bpf-kasan-gce kernel panic: Attempted to kill init!
2021/04/04 22:13 bpf a14d273ba159 6a81331a .config console log report info ci-upstream-bpf-kasan-gce kernel panic: Attempted to kill init!
2021/11/30 21:07 net-next-old 72a2ff567fc3 80270552 .config console log report info ci-upstream-net-kasan-gce kernel panic: Attempted to kill init!
2021/09/06 12:05 bpf-next a16ef91aa61a d236a457 .config console log report info ci-upstream-bpf-next-kasan-gce kernel panic: Attempted to kill init!
2021/07/01 14:58 net-next-old dbe69e433722 658ebc66 .config console log report info ci-upstream-net-kasan-gce kernel panic: Attempted to kill init!
* Struck through repros no longer work on HEAD.