From nobody Sun May 12 16:45:45 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 4VcpQf5PWzz5KL4f for ; Sun, 12 May 2024 16:45: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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VcpQf3vxlz4Vpy for ; Sun, 12 May 2024 16:45:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715532346; a=rsa-sha256; cv=none; b=llf78PTqHMTxbIDoV5guk5oWgqR8RaaGCn4dL+P3vuc1/OCbouZ/oT7oXm/0iCfOd0HgQg W4t6ylVgBgmRCgyeDjlZsnKh6mJjD+fn1KkYuJ6Pb+xnvKXP0zitb1Bio/6bu1UnDExC2a b6OS/V8i/e79JvpND86K8Fyxet+PV+I46rle/AKknoWaTiSDzrhwbkoMcQ/8ui1rPgcD9M KcxtYscvThZV1bgAB4cWZWnvXbylBJd/4F8KUFIRPUjAfSlJPtp2QbucjXiGnu5dHfcfGu Y7bh/O7o8iLF5K1s3ItmV84o6r0yxEhz1aakY+fJvLvjvsv4XvQdr3OrOs0pLQ== 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=1715532346; 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=I0fSkCVlai1TunOGjczMMSisKwyQACrL45UoMk0HAnE=; b=vXS6hq5cZqDf6hac2RWLko+HVCrG6Q8wZeUhnZa9PfNiPo+fZjAs4MjEkk/+z5l0ogbq5I tVY5LvwfZ7NLEXuFgWvPDo+FkuCnDawZq8Dx+7tpY4HkPsvn7cjrXPgxzRdjqvoemaNioH aozOijw4MiMAIYija2r9TyH7IqCJPLD9w7rpYpqoSqOnCl02Y22Xy4gX5QkvG7cD4hTmXX ooG6VVTtH76j7mhzx6iHZCoW8evMKW0bqF+aNIAr58bTYj3uAPpnJSx8+9460X3qM8OMep jp6K1QoLAgozW+NaaIS3/Ptq2FNO3drU3ALx9Y0QJewSvFNAWg7S3pwFZz61OA== 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 4VcpQf3MQpz1BnS for ; Sun, 12 May 2024 16:45: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 44CGjkwp048870 for ; Sun, 12 May 2024 16:45:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44CGjk1u048865 for bugs@FreeBSD.org; Sun, 12 May 2024 16:45: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 278937] mqueuefs: Crashes when removing queue as user Date: Sun, 12 May 2024 16:45:45 +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: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rbranco@suse.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=3D278937 Bug ID: 278937 Summary: mqueuefs: Crashes when removing queue as user Product: Base System Version: 15.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: rbranco@suse.com A mounted mqueuefs crashes when removing queue as user. To reproduce: $ sudo mount -t mqueuefs none /mnt $ sudo touch /mnt/queue1 $ sudo rm -f /mnt/queue1 This only seems to crash on -CURRENT as I couldn't reproduce on -RELEASE or -STABLE. You can use the QEMU VM at=20 https://download.freebsd.org/snapshots/VM-IMAGES/15.0-CURRENT/amd64/Latest/= FreeBSD-15.0-CURRENT-amd64-ufs.qcow2.xz dmesg log: Fatal trap 9: general protection fault while in kernel mode cpuid =3D 1; apic id =3D 01 instruction pointer =3D 0x20:0xffffffff80ba8aae stack pointer =3D 0x28:0xfffffe0068c12e50 frame pointer =3D 0x28:0xfffffe0068c12ec0 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 0 (thread taskq) rdi: deadc0dedeadc0de rsi: 000000000000c0de rdx: 0000000000000000 rcx: 0000000000000001 r8: 0000000000000001 r9: 0000000000000000 rax: 0000000000000001 rbx: fffff800034f6400 rbp: fffffe0068c12ec0 r10: 0000000000010000 r11: 0000000000000001 r12: 0000000000000001 r13: 000000000000c0de r14: fffff800034f6458 r15: fffff80104001020 trap number =3D 9 panic: general protection fault cpuid =3D 1 time =3D 1715530856 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0068c12= b90 vpanic() at vpanic+0x13f/frame 0xfffffe0068c12cc0 panic() at panic+0x43/frame 0xfffffe0068c12d20 trap_fatal() at trap_fatal+0x40b/frame 0xfffffe0068c12d80 calltrap() at calltrap+0x8/frame 0xfffffe0068c12d80 --- trap 0x9, rip =3D 0xffffffff80ba8aae, rsp =3D 0xfffffe0068c12e50, rbp = =3D 0xfffffe0068c12ec0 --- taskqueue_run_locked() at taskqueue_run_locked+0x1be/frame 0xfffffe0068c12e= c0 taskqueue_thread_loop() at taskqueue_thread_loop+0xd3/frame 0xfffffe0068c12= ef0 fork_exit() at fork_exit+0x82/frame 0xfffffe0068c12f30 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe0068c12f30 --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 --- KDB: enter: panic --=20 You are receiving this mail because: You are the assignee for the bug.=