From owner-freebsd-bugs@freebsd.org Thu Nov 26 20:25:46 2020 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7265346F5F3 for ; Thu, 26 Nov 2020 20:25:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4Chq5Q2dgkz3Gl2 for ; Thu, 26 Nov 2020 20:25:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 5A70046F5F2; Thu, 26 Nov 2020 20:25:46 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5A30E46F5F1 for ; Thu, 26 Nov 2020 20:25:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Chq5Q20L6z3Ghg for ; Thu, 26 Nov 2020 20:25:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 37A2A14A9 for ; Thu, 26 Nov 2020 20:25:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0AQKPk9l003452 for ; Thu, 26 Nov 2020 20:25:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0AQKPkCn003451 for bugs@FreeBSD.org; Thu, 26 Nov 2020 20:25:46 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 251414] pf sometimes panics when reloading ruleset with tables Date: Thu, 26 Nov 2020 20:25:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sigsys@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Nov 2020 20:25:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251414 Bug ID: 251414 Summary: pf sometimes panics when reloading ruleset with tables Product: Base System Version: 12.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: sigsys@gmail.com Happens on 12.2-RELEASE when doing a `service pf reload` when pf.conf loads= a table from a file with about 2700 entries. Never had this problem before I added the table. [1232428] Fatal trap 12: page fault while in kernel mode [1232428] cpuid =3D 2; apic id =3D 02 [1232428] fault virtual address =3D 0x2010 [1232428] fault code =3D supervisor write data, page not present [1232428] instruction pointer =3D 0x20:0xffffffff83595228 [1232428] stack pointer =3D 0x0:0xfffffe0000504540 [1232428] frame pointer =3D 0x0:0xfffffe00005045a0 [1232428] code segment =3D base 0x0, limit 0xfffff, type 0x1b [1232428] =3D DPL 0, pres 1, long 1, def32 0, gran 1 [1232428] processor eflags =3D interrupt enabled, resume, IOPL =3D 0 [1232428] current process =3D 0 (if_io_tqg_2) [1232428] trap number =3D 12 [1232428] panic: page fault [1232428] cpuid =3D 2 [1232428] time =3D 1606389244 [1232428] KDB: stack backtrace: [1232428] db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0000504200 [1232428] vpanic() at vpanic+0x17b/frame 0xfffffe0000504250 [1232428] panic() at panic+0x43/frame 0xfffffe00005042b0 [1232428] trap_fatal() at trap_fatal+0x391/frame 0xfffffe0000504310 [1232428] trap_pfault() at trap_pfault+0x4f/frame 0xfffffe0000504360 [1232428] trap() at trap+0x286/frame 0xfffffe0000504470 [1232428] calltrap() at calltrap+0x8/frame 0xfffffe0000504470 [1232428] --- trap 0xc, rip =3D 0xffffffff83595228, rsp =3D 0xfffffe0000504= 540, rbp =3D 0xfffffe00005045a0 --- [1232428] pfr_update_stats() at pfr_update_stats+0x1a8/frame 0xfffffe000050= 45a0 [1232428] pf_test() at pf_test+0xebe/frame 0xfffffe0000504740 [1232428] pf_check_in() at pf_check_in+0x1d/frame 0xfffffe0000504760 [1232428] pfil_run_hooks() at pfil_run_hooks+0x87/frame 0xfffffe00005047f0 [1232428] ip_input() at ip_input+0x40e/frame 0xfffffe00005048a0 [1232428] netisr_dispatch_src() at netisr_dispatch_src+0xca/frame 0xfffffe00005048f0 [1232428] ether_demux() at ether_demux+0x138/frame 0xfffffe0000504920 [1232428] ether_nh_input() at ether_nh_input+0x33b/frame 0xfffffe0000504980 [1232428] netisr_dispatch_src() at netisr_dispatch_src+0xca/frame 0xfffffe00005049d0 [1232428] ether_input() at ether_input+0x4b/frame 0xfffffe0000504a00 [1232428] iflib_rxeof() at iflib_rxeof+0xae6/frame 0xfffffe0000504ae0 [1232428] _task_fn_rx() at _task_fn_rx+0x72/frame 0xfffffe0000504b20 [1232428] gtaskqueue_run_locked() at gtaskqueue_run_locked+0x121/frame 0xfffffe0000504b80 [1232428] gtaskqueue_thread_loop() at gtaskqueue_thread_loop+0xb6/frame 0xfffffe0000504bb0 [1232428] fork_exit() at fork_exit+0x7e/frame 0xfffffe0000504bf0 [1232428] fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe0000504bf0 [1232428] --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 --- [10502] Fatal trap 12: page fault while in kernel mode [10502] cpuid =3D 12; apic id =3D 0c [10502] fault virtual address =3D 0xc030 [10502] fault code =3D supervisor write data, page not present [10502] instruction pointer =3D 0x20:0xffffffff83595228 [10502] stack pointer =3D 0x28:0xfffffe0000536330 [10502] frame pointer =3D 0x28:0xfffffe0000536390 [10502] code segment =3D base 0x0, limit 0xfffff, type 0x1b [10502] =3D DPL 0, pres 1, long 1, def32 0, gran 1 [10502] processor eflags =3D interrupt enabled, resume, IOPL =3D 0 [10502] current process =3D 0 (if_io_tqg_12) [10502] trap number =3D 12 [10502] panic: page fault [10502] cpuid =3D 12 [10502] time =3D 1606400775 [10502] KDB: stack backtrace: [10502] db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0000535ff0 [10502] vpanic() at vpanic+0x17b/frame 0xfffffe0000536040 [10502] panic() at panic+0x43/frame 0xfffffe00005360a0 [10502] trap_fatal() at trap_fatal+0x391/frame 0xfffffe0000536100 [10502] trap_pfault() at trap_pfault+0x4f/frame 0xfffffe0000536150 [10502] trap() at trap+0x286/frame 0xfffffe0000536260 [10502] calltrap() at calltrap+0x8/frame 0xfffffe0000536260 [10502] --- trap 0xc, rip =3D 0xffffffff83595228, rsp =3D 0xfffffe000053633= 0, rbp =3D 0xfffffe0000536390 --- [10502] pfr_update_stats() at pfr_update_stats+0x1a8/frame 0xfffffe00005363= 90 [10502] pf_test() at pf_test+0xebe/frame 0xfffffe0000536530 [10502] pf_check_out() at pf_check_out+0x1d/frame 0xfffffe0000536550 [10502] pfil_run_hooks() at pfil_run_hooks+0x87/frame 0xfffffe00005365e0 [10502] ip_output() at ip_output+0xaf8/frame 0xfffffe0000536730 [10502] ip_forward() at ip_forward+0x32e/frame 0xfffffe00005367f0 [10502] ip_input() at ip_input+0x7c5/frame 0xfffffe00005368a0 [10502] netisr_dispatch_src() at netisr_dispatch_src+0xca/frame 0xfffffe00005368f0 [10502] ether_demux() at ether_demux+0x138/frame 0xfffffe0000536920 [10502] ether_nh_input() at ether_nh_input+0x33b/frame 0xfffffe0000536980 [10502] netisr_dispatch_src() at netisr_dispatch_src+0xca/frame 0xfffffe00005369d0 [10502] ether_input() at ether_input+0x4b/frame 0xfffffe0000536a00 [10502] iflib_rxeof() at iflib_rxeof+0xae6/frame 0xfffffe0000536ae0 [10502] _task_fn_rx() at _task_fn_rx+0x72/frame 0xfffffe0000536b20 [10502] gtaskqueue_run_locked() at gtaskqueue_run_locked+0x121/frame 0xfffffe0000536b80 [10502] gtaskqueue_thread_loop() at gtaskqueue_thread_loop+0xb6/frame 0xfffffe0000536bb0 [10502] fork_exit() at fork_exit+0x7e/frame 0xfffffe0000536bf0 [10502] fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe0000536bf0 [10502] --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 --- --=20 You are receiving this mail because: You are the assignee for the bug.=