syzbot


kernel panic: Damn Damn! Unhandled trap in the kernel! (2)

Status: fixed on 2019/04/30 00:21
Reported-by: syzbot+23841a68e22cc895cab7@syzkaller.appspotmail.com
Fix commit: 2a2a3b425db1 Fix unsanitized input to remove_fd_tap()
First crash: 1827d, last: 1827d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
akaros kernel panic: Damn Damn! Unhandled trap in the kernel! (5) syz 41 1131d 1748d 0/1 upstream: reported syz repro on 2019/07/12 04:31
akaros kernel panic: Damn Damn! Unhandled trap in the kernel! C 97385 1841d 2109d 1/1 fixed on 2019/04/11 01:13
akaros kernel panic: Damn Damn! Unhandled trap in the kernel! (3) C 3 1820d 1820d 1/1 fixed on 2019/05/02 02:02
akaros kernel panic: Damn Damn! Unhandled trap in the kernel! (4) syz 3 1813d 1817d 1/1 fixed on 2019/05/09 14:48

Sample crash report:
kernel panic at kern/arch/x86/trap.c:628, from core 0: Damn Damn!  Unhandled trap in the kernel!
HW TRAP frame at 0xfffffff00006dd00 on core 0
  rax  0x0000000000000001
  rbx  0x002c000000000040
  rcx  0x0000000000000000
  rdx  0x002c000000000048
  rbp  0xfffffff00006ddc8
  rsi  0x00000000ffffff9c
  rdi  0x002c000000000048
  r8   0x0000000000000000
  r9   0x0000000000000000
  r10  0x0000000000000000
  r11  0x0000000000000202
  r12  0xffff80000218bc70
  r13  0x00000000ffffff9c
  r14  0x0000000000000002
  r15  0xffff80000218b900
  trap 0x0000000d General Protection
  gsbs 0xffffffffc8e37b00
  fsbs 0x0000000000000000
  err  0x--------00000000
  rip  0xffffffffc2007b87
  cs   0x------------0008
  flag 0x0000000000010202
  rsp  0xfffffff00006ddc8
  ss   0x------------0010
Backtrace of kernel context on Core 0:
#01 [<0xffffffffc2007b87>] in kref_put at include/kref.h:67
#02 [<0xffffffffc2007f06>] in remove_fd_tap at src/fdtap.c:140
#03 [<     [inline]     >] in handle_tap_req at src/syscall.c:2434
#03 [<0xffffffffc2058c1c>] in sys_tap_fds at src/syscall.c:2456
#04 [<0xffffffffc2059e69>] in syscall at src/syscall.c:2575
#05 [<0xffffffffc205aa18>] in run_local_syscall at src/syscall.c:2612
#06 [<0xffffffffc205af59>] in prep_syscalls at src/syscall.c:2632
#07 [<0xffffffffc20ac842>] in sysenter_callwrapper at arch/x86/trap.c:877

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/04/24 11:15 akaros fbc86e4fb740 8e3c52b1 .config console log report syz C ci-akaros-main
2019/04/24 10:58 akaros fbc86e4fb740 8e3c52b1 .config console log report ci-akaros-main
* Struck through repros no longer work on HEAD.