From nobody Thu Jul 18 19:43:13 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 4WQ3BT5jplz5QGJx for ; Thu, 18 Jul 2024 19:43:13 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WQ3BT3G1Hz3xDk for ; Thu, 18 Jul 2024 19:43:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721331793; a=rsa-sha256; cv=none; b=mnwvv0jZYUdGeXIXAFHqLBUXmL/i4NSlu+gFwwv4rP0xalepuHsMwxrf2esfLnAH6hZwW8 V9Lassxu6cI83gDpqHMYNs/iky3L+a2fgDVPbuqIDFI/xLl2QT2sbYrV+sXRWCKl/fMmr7 +M4DhJdNO1eC5GBSKs54Mvg6796EmLkn31LsRZnqLg4XdIg22V4UzzlriZGepIYSZmexmW aYFadXdfvQqYQfprH7cvH847IChZxL2Iwqx0MGrSEBF1dD01Dt2Z29GlxIr2VbJEUGxkYq Fl7EFLgNwREcVPAwKndXK96uilunuuV34SvCZBVVddHy4lrmZb9ZMiCT79ePdw== 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=1721331793; 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=zXhV/BLHLAd0/1tjoI1zxDSlXRSrcMzM86fjismbeZY=; b=QRDJxxjlIvreJ8s+OzxoxLPiTfw4vl3HN4ket9mfXGz+L/h+HpjSh79inVoB5GCb/XbssQ QZ+XCcrIcPOQqiq3fumJuqmrGs4VX6QavtJQPvd0r89cNZGecxIY1nRVz583MhATaBmtmv Y80nm+4hQqs3k0naC6S+Rc4OQ29j1tkiLKPScTKwuk5AO41atpKbUzfXcxQf27x/qdR0a9 xMGTj11eenLdJokrS3j6Nlw70pEXOBT+mxMHboiH5iXcjcHMO9M++CHlpHRkTVqPrhctAt 2D87r/OARlClivVlGEWYR12KN9JXD8AL2T5OHxK3OFJbk/wbvIWAG/qvQIje4w== 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 4WQ3BT2s5Dz11gc for ; Thu, 18 Jul 2024 19:43:13 +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 46IJhD0C025070 for ; Thu, 18 Jul 2024 19:43:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 46IJhDuw025069 for bugs@FreeBSD.org; Thu, 18 Jul 2024 19:43:13 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 280351] siftr.ko load/unload caused Fatal trap 12: page fault while in kernel mode Date: Thu, 18 Jul 2024 19:43:13 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: cc@FreeBSD.org 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=3D280351 Bug ID: 280351 Summary: siftr.ko load/unload caused Fatal trap 12: page fault while in kernel mode Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: cc@FreeBSD.org Can reliably hit this panic with the following reproduce method in a Virtual Machine(VM) under Bhyve. I suspect it has something to do with commit d79a9edb5ce1, so I add the Author: Mitchell Horne in this bug report. root@n1fbsd:~ # kldload siftr Statistical Information For TCP Research (SIFTR) 1.3.0 http://caia.swin.edu.au/urp/newtcp root@n1fbsd:~ # kldstat Id Refs Address Size Name 1 5 0xffffffff80200000 1d66830 kernel 2 1 0xffffffff82610000 3e70 siftr.ko 3 1 0xffffffff82614000 3230 alq.ko root@n1fbsd:~ # kldunload siftr root@n1fbsd:~ # kldstat Id Refs Address Size Name 1 1 0xffffffff80200000 1d66830 kernel root@n1fbsd:~ # reboot Connection to n1fbsd closed by remote host. Connection to n1fbsd closed. The kernel is rebuilt and is running on top of commit 9207f9d206a4. The pan= ic message from console is like below, and it keeps panicing in loop if reboot from console. login: Jul 18 15:33:15 n1fbsd reboot[874]: rebooted by root Jul 18 15:33:15 n1fbsd syslogd: exiting on signal 15 Waiting (max 60 seconds) for system process `vnlru' to stop... done Fatal trap 12: page fault while in kernel mode cpuid =3D 0; apic id =3D 00 fault virtual address =3D 0xffffffff82611680 fault code =3D supervisor read instruction, page not present instruction pointer =3D 0x20:0xffffffff82611680 stack pointer =3D 0x28:0xfffffe007db94d78 frame pointer =3D 0x28:0xfffffe007db94db0 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 874 (reboot) rdi: 0000000000000000 rsi: 0000000000000000 rdx: ffffffff81a4b3f8 rcx: 0000000000000000 r8: 0000000000000000 r9: 0000000000010000 rax: 0000000000000000 rbx: 0000000000000000 rbp: fffffe007db94db0 r10: 0000000000000001 r11: 0000000000010000 r12: fffff80007370240 r13: fffffe000d4f8000 r14: fffff800030ee4a8 r15: fffff800030ee480 trap number =3D 12 panic: page fault cpuid =3D 0 time =3D 1721331200 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe007db94= a40 vpanic() at vpanic+0x13f/frame 0xfffffe007db94b70 panic() at panic+0x43/frame 0xfffffe007db94bd0 trap_fatal() at trap_fatal+0x40f/frame 0xfffffe007db94c30 trap_pfault() at trap_pfault+0xae/frame 0xfffffe007db94ca0 calltrap() at calltrap+0x8/frame 0xfffffe007db94ca0 --- trap 0xc, rip =3D 0xffffffff82611680, rsp =3D 0xfffffe007db94d78, rbp = =3D 0xfffffe007db94db0 --- _end() at 0xffffffff82611680/frame 0xfffffe007db94db0 sys_reboot() at sys_reboot+0x3a9/frame 0xfffffe007db94e00 amd64_syscall() at amd64_syscall+0x15c/frame 0xfffffe007db94f30 fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe007db94f30 --- syscall (55, FreeBSD ELF64, reboot), rip =3D 0x3c0f272a7d1a, rsp =3D 0x3c0f26819248, rbp =3D 0x3c0f26819c60 --- KDB: enter: panic [ thread pid 874 tid 100186 ] Stopped at kdb_enter+0x33: movq $0,0xe4b992(%rip) db> --=20 You are receiving this mail because: You are the assignee for the bug.=