From nobody Sun May 12 16:43:43 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 4VcpNJ3h4qz5KKt5 for ; Sun, 12 May 2024 16:43:44 +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 4VcpNJ16vcz4Vt3 for ; Sun, 12 May 2024 16:43:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715532224; a=rsa-sha256; cv=none; b=ZAPMon5APbo4O55GugK5443sWuA0rnAF9GZFxr1Zi9x8kCFGLrPH11QwgeRkxWkwRJ7bmT zj1+dAkUEscfPrxXeCEqp3yUq1pfrHBTYV5zlwYUppdhvTT1zswpI6I5eBUflwI7MReLcg Gi7/6UYUPgfEy/nhUNiQBAp+szgR6Kc08li6vpkEF69btcZUIfyL90PysZxzQBmSxu3V3A IkrdJ0mNEzhMJ+dGwqgHerhxZkHTjd6m16ZjlLTItx7dZbYYvu7X/vpN6yiHmjZA2Dfs7J jBU8k10Jpo6dM3qtTPxW/oFjR8RZE9WC/gW4H4yiCB0ODojTN3IGWDbiDsGbOA== 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=1715532224; 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=4duiLs6+XDjVZz6qsk7v3ul0nS5dxjUN9YamfOs96DI=; b=rRzp95HUQkBRtJ1wGUUjM5wlfmWgSfLK9/wRwWzS7lXEgCCjdABs8/byCt5diPznv7scdl sOE8J/hWQSk1fSypex4oYYuKiNlyM1o1w1CHqX78XH/o3S+frqE+/Zovgyuj5ScMcBThDC p60pfoEQBCc94XYnvzE0NS4YyBuX5Aezo1KS2Fs7LsnmKkVIWAvkN31D11mGEnC/mfjjFA G8ryCSIG4j8lxW57Ym19EhB01WnzKaTZBn9ig9+H5/CbB947hGDhaWwicTWUsoyIeszCno BGrVAxlZVlvLkcS2JWEvVHS6eGeOQaz2AP+DOtWP9KtDTe7MZDLfdxMg4AGllA== 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 4VcpNJ0kPFz1BnQ for ; Sun, 12 May 2024 16:43:44 +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 44CGhidP043063 for ; Sun, 12 May 2024 16:43:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44CGhhO1043049 for bugs@FreeBSD.org; Sun, 12 May 2024 16:43:44 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 278936] mqueuefs: Crashes when removing queue as user Date: Sun, 12 May 2024 16:43:43 +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=3D278936 Bug ID: 278936 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.=