From nobody Tue Apr 16 13:36:22 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VJlS651b5z5GsqS for ; Tue, 16 Apr 2024 13:36:22 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VJlS61zRsz46C9 for ; Tue, 16 Apr 2024 13:36:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713274582; a=rsa-sha256; cv=none; b=um2I9T9pTHnl7Pg4JZ0JUgD4TkQvvvwj2YgxRYw4NCGz5uU8b2iUTRVXVT+9eNCh3LC4IU PANetri/ySayCWGzL7XURFy81SwQL/PGKoVW3MAqEOPfvLTzuW1LeHNA5VFEK8taXKhuNJ B3BZ4tkhzbVrW13omOCetGTpVBz2t+p5069dPDQ7yCkYTH8ryndEFIUQ0Iv9au8DjvmWd2 tAiAsO6lPFZY4zB9+zxF0m/ltDC5gIBVtl0ANC1MCKnKian1JkP35sX/x5yaSaQ6Ukpfki e96/mfgbD3GBML1JCAw3o+R2zeDxegAs6stxphgaXrZnaPRU7Q3OeHm9QNLOkA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713274582; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6AJNjkQYsaQF/0MasJbyCOY6HT1XygUhsjqSzpkYkxE=; b=khQmhwCr/ABXAS732pNMwOSFbtZiIg1PUQSPtLG7mfyYJPigkjzZZd9LsfJfksSSyfItyu ynBInPYsBATuXcSOlUp5xci0K6DRa5l1TX3G/2G3ymZ34rSWOIt1y4GpFQibablgYuT5Mb cxRI1lRgqCApD0kEmIblrQMFlkO0HY7iDrqwGHRWoD1K3oZnrdy9ygjHFsg2gGc5s+aMfC caNoCbz/ZR6DKG7a83CtLd7UGaQ2F1ZXAOcxP/vYhZ+aQoCOEZ+SyGXp3o13xPO4W0Qkt6 2iYrnvWdgUX/SSSbMEPSbI5b29/+7Ja2pkqeT0H129TPohy2g+7y9kF+2vSRRQ== 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 4VJlS61SPjzkrV for ; Tue, 16 Apr 2024 13:36:22 +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 43GDaMAY068840 for ; Tue, 16 Apr 2024 13:36:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43GDaMis068834 for bugs@FreeBSD.org; Tue, 16 Apr 2024 13:36:22 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 278389] kernel panic, kernel core generated from ipfw_chk() function, patch given was not working Date: Tue, 16 Apr 2024 13:36:22 +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: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bkeertha@cisco.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 List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278389 Bug ID: 278389 Summary: kernel panic, kernel core generated from ipfw_chk() function, patch given was not working Product: Base System Version: Unspecified Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: bkeertha@cisco.com We have observed kernel crash from ipfw_chk() function. Given patch https://reviews.freebsd.org/D31484, is not working in 11.2 free= bsd, we are still seeing the kernel panic. Environment : =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D hw.model: Intel(R) Xeon(R) Gold 5118 CPU @ 2.30GHz hw.machine: amd64 hw.ncpu: 24 FreeBSD 11.2-RELEASE Here is the BT : =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D (kgdb) bt #0 __curthread () at ./machine/pcpu.h:229 #1 doadump (textdump=3D1) at ../../../kern/kern_shutdown.c:327 #2 0xffffffff80614a9b in kern_reboot (howto=3D260) at ../../../kern/kern_shutdown.c:395 #3 0xffffffff80614f99 in vpanic (fmt=3D, ap=3D) at ../../../kern/kern_shutdown.c:799 #4 0xffffffff80614cd3 in panic (fmt=3D) at ../../../kern/kern_shutdown.c:719 #5 0xffffffff808997df in trap_fatal (frame=3D0xfffffe103e2f4b00, eva=3D4) = at ../../../amd64/amd64/trap.c:875 #6 0xffffffff80899839 in trap_pfault (frame=3D0xfffffe103e2f4b00, usermode= =3D0) at ../../../amd64/amd64/trap.c:712 #7 0xffffffff80899028 in trap (frame=3D0xfffffe103e2f4b00) at ../../../amd64/amd64/trap.c:415 #8 #9 ipfw_find_rule (chain=3D, key=3D2000, id=3D0) at ../../../netpfil/ipfw/ip_fw_sockopt.c:236 #10 0xffffffff807a8403 in jump_lookup_pos (chain=3D, f=3D, num=3D, tablearg=3D, jump_backwards=3D) at ../../../netpfil/ipfw/ip_fw2.c:1284 #11 jump_cached (chain=3D, f=3D, num=3D, tablearg=3D, jump_backwards=3D) at ../../../netpfil/ipfw/ip_fw2.c:1323 #12 ipfw_chk (args=3D) at ../../../netpfil/ipfw/ip_fw2.c:2773 #13 0xffffffff807afd9f in ipfw_check_packet (arg=3D, m0=3D0xfffffe103e2f4f90, ifp=3D, dir=3D1, inp=3D0x0) at ../../../netpfil/ipfw/ip_fw_pfil.c:151 #14 0xffffffff80723514 in pfil_run_hooks (ph=3D0xffffffff8101bdf8 , mp=3D, ifp=3D0xfffff8000a288800, dir=3D1, flags=3D0, inp=3D0x0) at ../../../ne= t/pfil.c:116 #15 0xffffffff807465d9 in ip_input (m=3D0xfffff80253911300) at ../../../netinet/ip_input.c:601 #16 0xffffffff80722561 in netisr_dispatch_src (proto=3D1, source=3D, m=3D0x4a) at ../../../net/netisr.c:1120 #17 0xffffffff8070ac72 in ether_demux (ifp=3D0xfffff8000a288800, m=3D0x7d0)= at ../../../net/if_ethersubr.c:884 #18 0xffffffff8070bd77 in ether_input_internal (ifp=3D0xfffff8000a288800, m=3D0x7d0) at ../../../net/if_ethersubr.c:660 #19 ether_nh_input (m=3D) at ../../../net/if_ethersubr.c:690 #20 0xffffffff80722561 in netisr_dispatch_src (proto=3D5, source=3D, m=3D0x4a) at ../../../net/netisr.c:1120 #21 0xffffffff8070aff6 in ether_input (ifp=3D, m=3D0x0) at ../../../net/if_ethersubr.c:780 #22 0xffffffff808c3d3c in ixl_rx_input (ptype=3D0 '\000', rxr=3D, ifp=3D, m=3D) at ../../../dev/ixl/ixl_txrx.c:1579 #23 ixl_rxeof (que=3D0xfffffe0002880e38, count=3D512) at ../../../dev/ixl/ixl_txrx.c:1910 #24 0xffffffff808b0ddf in ixl_msix_que (arg=3D0xfffffe0002880e38) at ../../../dev/ixl/ixl_pf_main.c:751 #25 0xffffffff805e585f in intr_event_execute_handlers (p=3D, ie=3D0xfffff80016814d00) at ../../../kern/kern_intr.c:1336 #26 0xffffffff805e5ef7 in ithread_execute_handlers (ie=3D, p=3D) at ../../../kern/kern_intr.c:1349 #27 ithread_loop (arg=3D0xfffff80010cf4d00) at ../../../kern/kern_intr.c:14= 30 ---Type to continue, or q to quit--- #28 0xffffffff805e2ed6 in fork_exit (callout=3D0xffffffff805e5e40 , arg=3D0xfffff80010cf4d00, frame=3D0xfffffe103e2f5340) at ../../../kern/kern_fork.c:1054 #29 We observed the crash was still happening from same code which was given by aadhya in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263078, Is th= ere any proper fix available for this issue? Is this core obseverd in latest FreeBSD releases? --=20 You are receiving this mail because: You are the assignee for the bug.=