Hello, thanks for the report. I was able to trigger it. I'll take a look at it.
regards sashan On Tue, Aug 20, 2019 at 11:03:02AM -0300, Kor son of Rynar wrote: > >Synopsis: pf.conf "set timeout interval 1" causes kernel crash > >Category: kernel amd64 > >Environment: > System : OpenBSD 6.6 > Details : OpenBSD 6.6-beta (GENERIC.MP) #235: Tue Aug 20 > 00:09:44 MDT 2019 > [email protected]: > /usr/src/sys/arch/amd64/compile/GENERIC.MP > > Architecture: OpenBSD.amd64 > Machine : amd64 > >Description: > Using "set timeout interval 1" inside pf.conf crashes the kernel: > > uvm_fault(0xffffffff81fef220, 0x27, 0, 2) -> e > kernel: page fault trap, code=0 > Stopped at pf_free_state+0xfe: movq %rcx,0x28(%rax) > ddb{0}> trace > pf_free_state(fffffd802a3d0e20) at pf_free_state+0xfe > pf_purge_expired_states() at pf_purge_expired_states+0x136 > pf_purge(ffffffff81fa8054) at pf_purge+0x35 > taskq_thread(ffff80000003b040) at taskq_thread+0x4d > end trace frame: 0x0, count: -4 > ddb{0}> > > >How-To-Repeat: > # echo "set timeout interval 1" >> /etc/pf.conf > # pfctl -f /etc/pf.conf > > <wait a few seconds> > > >Fix: > Not known.
