From nobody Mon Mar 31 17:41:07 2025 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 4ZRJMR1Ggyz5sLSd for ; Mon, 31 Mar 2025 17:41:07 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZRJMR0m0Dz3gxx for ; Mon, 31 Mar 2025 17:41:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1743442867; 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=Z/qzNCiRxZQ6OvEMMKER39fmdnGKlRxKq0Z4xel+N1o=; b=HU7OAC5RfZ3dwJsc7uIPd5/RPIJINnWZzVeNX1nn6jyIaXmIavIGmeCcv7Z772o9T4MXtD OpWjQ8l1cH6foIkhfi1tlwY+Zntp78qkSIfMwftxClLpbUiDWLoqh8TToJV/HsYPVc4DgO /kL2vVJ8XS7K9fqHfhy3s7csnm+4PAVqwzWTBPNwc4UJcu9nSvsaQUDSwCJCtnPY4cAFQ1 lVWkU+GnC/Ty88Bc1Pl8BVcIijYsWlyT6xWS5u2TeMGIdbVF6ALIGDKOimj9LKtReyvNJY OCii1Ea8CJHaQIPBabbWzke6k/0+EJvBPU8v4wYbcJJx94+C3jblu+U+mTCsWQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1743442867; a=rsa-sha256; cv=none; b=I3Q2JndttaoCQ1A4Yqqb/ywZLhFG3ZBk7tazlMA3a6LWLagDBipEKqJgximULK12VPNTJ6 pogoMU5B2qdxv8DKsip7V726r4M3kvCZKM5jgachZmWGW2Ncclu5IKwAHEpAeLqCz3axHU duVuI1tbDuJ1p64IQrV2Rs4Jq+1ok8WW+10ooScWy9tAx5nVO7adblKH7UHdnBie78vLXu dBvcRNbTBE3/FriNER6LfPhopoYzhdpuInmhtebQS8UVEBfUBtbXizQIivfRTobL0iQ7E9 zR2rwapbe2fkKTD29CROz8oXyB4BiQPuQ8Xl9xfUNWpumWVC4l2IaMqUojiNGw== 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=1743442867; 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=Z/qzNCiRxZQ6OvEMMKER39fmdnGKlRxKq0Z4xel+N1o=; b=g20Rc39l6gpJUq54CSMuxxQ39IOXVTzH+31oEhTp2cfvos2IsiHWAThHm6Pvfj41oP8+L9 23lCsVUnxilqLQqsf4xcZBZTDqqxHADZXqHbiAOwPDkb3HuYTGrfmSmUMHxIyuU6VwXrhV QulP+Vmk6v2FRTlMlbcXjiSIHFsZKMZJ+CSxM+0b+N+o3TvL+rZSZuKNXG4RJ/GCOd9jqF dxohi8mNVG+1F+j8BaPSZ6qK7oiYq/8UcKvMeCBmTGDk6dj51dvxtliBkBKxUzwPjW2XIK dhUEjUghiXq9igjARphdIAhMzD4WCswLm4aLVMehl72zMiMe0lX8qXyKurSU+g== 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 4ZRJMR0CFPzvMC for ; Mon, 31 Mar 2025 17:41:07 +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 52VHf6j5099898 for ; Mon, 31 Mar 2025 17:41:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 52VHf6i0099897 for bugs@FreeBSD.org; Mon, 31 Mar 2025 17:41:06 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 285813] Panic (NULL deref) in arptimer Date: Mon, 31 Mar 2025 17:41:07 +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: 14.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: peter.blok@bsd4all.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-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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=3D285813 Bug ID: 285813 Summary: Panic (NULL deref) in arptimer Product: Base System Version: 14.2-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: peter.blok@bsd4all.org Unread portion of the kernel message buffer: Fatal trap 12: page fault while in kernel mode cpuid =3D 2; apic id =3D 04 fault virtual address =3D 0x458 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff805e7410 stack pointer =3D 0x28:0xfffffe00109d6cf0 frame pointer =3D 0x28:0xfffffe00109d6d90 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 2 (clock (0)) rdi: fffff8001bc27d28 rsi: 0000000000000000 rdx: 0000000000000000 rcx: 0000000000000000 r8: ffffffff8063bd40 r9: 0000000000000004 rax: 0000000000000001 rbx: 0000000000000000 rbp: fffffe00109d6d90 r10: 0000000000000001 r11: fffff800014cd000 r12: fffff8001bc27d28 r13: fffff80001562740 r14: 0000000000000000 r15: fffffe00109d6d28 trap number =3D 12 panic: page fault cpuid =3D 2 time =3D 1743271861 KDB: stack backtrace: #0 0xffffffff80639e1d at kdb_backtrace+0x5d #1 0xffffffff805ec471 at vpanic+0x161 #2 0xffffffff805ec303 at panic+0x43 #3 0xffffffff809a61af at trap_pfault+0x3af #4 0xffffffff8097ecd8 at calltrap+0x8 #5 0xffffffff80748432 at arptimer+0x252 #6 0xffffffff8060a249 at softclock_call_cc+0x129 #7 0xffffffff8060ba15 at softclock_thread+0xe5 #8 0xffffffff805a6a41 at fork_exit+0x81 #9 0xffffffff8097fd3e at fork_trampoline+0xe Analysis sys/kern/kern_rwlock.c:__rw_wlock_hard() ..... if (!(v & RW_LOCK_READ)) { rw_drop_critical(v, &in_critical, &extra_work); sleep_reason =3D WRITER; owner =3D lv_rw_wowner(v); if (!TD_IS_RUNNING(owner)) goto ts; Although RW_LOCK_READ is 0, RW_LOCK_READ is 1 after returning from rw_drop_critical. This causes lv_rw_owner() to return NULL Please let me know if more info is needed --=20 You are receiving this mail because: You are the assignee for the bug.=