syzbot


protection_fault: bpfdetach

Status: upstream: reported on 2025/02/16 16:28
Reported-by: syzbot+47d95e88904ebdae1d04@syzkaller.appspotmail.com
First crash: 473d, last: 15h07m

Sample crash report:
kernel: protection fault trap, code=0
Stopped at      bpfdetach+0x40: movq    0(%r15),%r12
ddb> 
ddb> set $lines = 0
ddb> set $maxwidth = 0
ddb> show panic
the kernel did not panic
ddb> trace
bpfdetach(ffff8000015bc800) at bpfdetach+0x40 sys/net/bpf.c:1770
if_detach(ffff8000015bc800) at if_detach+0x12b sys/net/if.c:1289
tun_clone_destroy(ffff8000015bc800) at tun_clone_destroy+0x2a2 sys/net/if_tun.c:343
if_clone_destroy(ffff80003c975cd0) at if_clone_destroy+0x1d5 sys/net/if.c:1479
sys_ioctl(ffff80002f0b1770,ffff80003c975ea0,ffff80003c975df0) at sys_ioctl+0x660 sys/kern/sys_generic.c:-1
syscall(ffff80003c975ea0) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80003c975ea0) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xd4cb40f0570, count: -7
ddb> show registers
rdi                                0
rsi                                0
rbp               0xffff80003c975bc0
rbx                                0
rdx                                0
rcx               0x4e9a4f97644bbefe
rax               0xffff80002f0b1770
r8                               0x2
r9                                 0
r10               0xdbc64efd0ab97db0
r11               0x1a4acf48169fe1cd
r12               0xdeaf0002deafbead
r13               0xffff8000015bcd80
r14               0xffff8000015bc800
r15               0xdeaf0002deafbead
rip               0xffffffff82b2a9d0    bpfdetach+0x40
cs                               0x8
rflags                       0x10246    __ALIGN_SIZE+0xf246
rsp               0xffff80003c975b90
ss                              0x10
bpfdetach+0x40: movq    0(%r15),%r12
ddb> show proc
PROC (syz-executor) tid=13622 pid=55869 tcnt=2 stat=onproc
    flags process=1000<SINGLEEXIT> proc=4080000<SUSPSINGLE,THREAD>
    runpri=32, usrpri=50, slppri=32, nice=20
    wchan=0x0, wmesg=, ps_single=0xffff80002f0b0fa8 scnt=1 ecnt=1
    forw=0xffffffffffffffff, list=0xffff80002f0b0fa8,0xffff80003c8edcc0
    process=0xffff8000ffff8018 user=0xffff80003c970000, vmspace=0xfffffd807ec5e730
    estcpu=36, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0
ddb> 

Crashes (78):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/06/04 05:57 openbsd e8e5aa2db9cf 197909be .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2026/06/04 01:58 openbsd e8e5aa2db9cf 197909be .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2026/05/15 22:45 openbsd 25d4b1a85733 340bcdf0 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2026/05/07 21:50 openbsd d8525c0ee876 340bcdf0 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2026/04/30 08:43 openbsd 04e2410ca848 340bcdf0 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2026/04/28 06:18 openbsd 623596ce970b ce741359 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2026/04/22 04:14 openbsd 9a8e8d261fbe 0b6ab7ec .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2026/04/06 15:37 openbsd 8a4a3a78bbe7 4b3d9a38 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2026/03/23 20:42 openbsd ccfcb3e6ef18 5e3db351 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2026/03/17 17:31 openbsd 7b59c65f5490 c8810548 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2026/03/13 17:09 openbsd 7210d95da7cb 351cb5cf .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2026/03/12 12:48 openbsd 7210d95da7cb 4efadf07 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2026/03/12 11:09 openbsd 7210d95da7cb 4efadf07 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2026/03/12 06:56 openbsd 73e77b6607d4 2d88ab01 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2026/02/13 12:26 openbsd 7d8bc7d2b639 018ebef2 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2026/02/12 12:49 openbsd 012cf974ca6d 018ebef2 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2026/02/09 23:36 openbsd a82d9bb4a825 018ebef2 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2026/02/02 18:11 openbsd 28dc9acc561e 018ebef2 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2026/01/31 10:02 openbsd ffeb3c477d3b c75a2f6e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2026/01/30 20:18 openbsd dfcd5193b8f0 ae7dc18c .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2026/01/19 14:23 openbsd 665aeba05e03 56f88057 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2026/01/15 16:51 openbsd c600931321c7 56f88057 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2026/01/13 13:20 openbsd 67ddd48175b9 56f88057 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2026/01/10 23:59 openbsd 7ae91379da7d 56f88057 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2026/01/08 05:04 openbsd d77c41cf8f5a c1f5c7d0 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/12/30 06:40 openbsd 163664d81c58 17e6c961 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/12/20 21:09 openbsd df8f251ef5f9 e14dbeb9 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/12/20 06:14 openbsd ddef1afac53e e14dbeb9 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/12/15 18:56 openbsd 2c50c5af38ad a066d2bc .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/12/15 07:26 openbsd b46de5080dd7 a066d2bc .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/12/11 08:06 openbsd d004c0aeba6f 48b27acc .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/12/11 06:57 openbsd d004c0aeba6f 48b27acc .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/12/07 05:48 openbsd e763f357d7fa cee4cb10 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/11/19 16:23 openbsd 809b9478d116 82d7b894 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/11/18 01:38 openbsd 8720e5dd1696 ef766cd7 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/11/16 09:27 openbsd 9c41abc406e3 f7988ea4 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/11/09 13:02 openbsd e187005a6767 4e1406b4 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/10/29 11:37 openbsd 9abc5df53d8a fd2207e7 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/10/28 20:13 openbsd 46d840b2b363 fd2207e7 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/10/18 07:49 openbsd 47c08dbbd8a3 1c8c8cd8 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/10/12 00:48 openbsd ba3be980ae71 ff1712fe .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/10/06 06:08 openbsd 005f30971033 770ff59f .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/09/24 18:01 openbsd 3b2384bb597f 770ff59f .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/09/17 21:56 openbsd cfdf5dc3e7db e2beed91 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/09/15 20:19 openbsd f5fd5ebfe1eb e2beed91 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/09/11 03:27 openbsd 56696e8786be fdeaa69b .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/08/26 06:41 openbsd 07d23478ec82 bf27483f .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/08/20 14:39 openbsd 8dd4d68c0f49 0b9605c8 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/08/15 02:24 openbsd bc42849e5050 1804e95e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/08/14 08:05 openbsd 7a15ea66e78c 22ec1469 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/08/08 18:23 openbsd 297fbc8e674e 32a0e5ed .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/08/01 08:20 openbsd 3b565b651350 3cda49cf .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/07/27 19:35 openbsd 7b0d12c26b01 3cda49cf .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/07/27 03:19 openbsd 6ef41150cbc6 3cda49cf .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/07/23 17:58 openbsd ceb7068b172a 3cda49cf .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/07/21 09:37 openbsd df9e633562d5 3cda49cf .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/07/18 16:31 openbsd 5561167ae35d 3cda49cf .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/07/17 03:41 openbsd 9ce74a582983 3cda49cf .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/07/16 18:25 openbsd 054bb2fd459c 3cda49cf .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/07/15 13:18 openbsd feb5a82c5bff 3cda49cf .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/07/12 10:45 openbsd 36cc672466d3 3cda49cf .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/06/29 14:17 openbsd b4d1cb14c459 fc9d8ee5 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/06/17 14:03 openbsd 154de61c2e99 a5686133 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/06/16 12:43 openbsd b38eaba60654 d1716036 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/06/10 05:28 openbsd eb252dbb8be6 4826c28e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/06/09 16:58 openbsd 1ccd80029b5d 4826c28e .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/06/06 05:41 openbsd b57dcb7bc7e3 6b6b5f21 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/06/03 20:25 openbsd e4273848146a a30356b7 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/05/17 18:02 openbsd 007267a8c99a f41472b0 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/05/16 05:41 openbsd 84d74105a289 cfde8269 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/04/11 09:46 openbsd 5990a1963d9d 94486846 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/04/01 07:11 openbsd 6cbbb384a28a e2826670 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/03/08 12:51 openbsd 083866324387 7e3bd60d .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/03/04 05:09 openbsd 4602d4e06be3 c3901742 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-main protection_fault: bpfdetach
2025/02/23 19:47 openbsd c8d1658b9cef d34966d1 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/02/17 13:02 openbsd c48feb9479a9 4121cf9d .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
2025/02/16 16:27 openbsd 3411e7e2a484 40a34ec9 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore protection_fault: bpfdetach
* Struck through repros no longer work on HEAD.