From nobody Mon May 20 13:29:41 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 4Vjdhj5R1Rz5LGpL for ; Mon, 20 May 2024 13:29:41 +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 4Vjdhj3h9xz4Mt8 for ; Mon, 20 May 2024 13:29:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716211781; a=rsa-sha256; cv=none; b=DlR+Ooyvvurz4zHVDobVow5CqFi6wSW1wfqqoM0B3Rb2u7EADRgM+0Jht9B0UUK+zXNakW ATJlHv57R70YtIPLVvWp331KuunP3Yg/gjHL6PuOoLvc2T/kHHY1GNBWEu6wU+UeSNuXw7 Nw1Fhn5yKoQH5JVQbymGkwog8Oa31M+hyr0zJUECMIjAeoXC2dq74Giu4ZXwHoVyZYzLGx DCM+t2W/Q43h4bGZATyNI/qfiNiiLzz7RcxSkKTE8T+Qt2gCB66oa9rhhbahkt/nSfBbor 4lW7ue55Z/Sz1Ywe75Dsc3AGQGQpRJzdNLKMS9Po8Rdjiiy6fZc9u5i+AEV1ng== 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=1716211781; 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: in-reply-to:in-reply-to:references:references; bh=/iHVetYLR6YyMa5EqT5zRDXdlkn4kAIj9FJdHKUZ3dQ=; b=rjHhgOnEQadLT7X35fUkYaGHap99vSlpCdF8MjmYLeHI4Z7A4VgCqoTqdSWaokUAyVnnRN JdDTNeh/D9HZDa+n50Vc5Nbj6Ntfz6vElchLo6soRw1IvKTz6/Jmi0i15gGh0ehpgsMX1o FoqnelILhe+EZuRV/+VOk1xMBqaKusl7pVktmiuopQL6z1XTGoxHN74sg+j3XzJsmvQMai Cn3FiiErJk+a0VZz4rY2gm1SzcL4vRgyvtAbA+aIGnexH6gVto0DJq+lmG8fTm26dAg0lZ JMECLKUwcQS0dUQGb4N4tu/DZ7Io2O4YNQnrUkW7clZOrjy7u63h9xOVHrAomw== 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 4Vjdhj38CkzgYg for ; Mon, 20 May 2024 13:29:41 +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 44KDTf0T090430 for ; Mon, 20 May 2024 13:29:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44KDTfY3090429 for bugs@FreeBSD.org; Mon, 20 May 2024 13:29:41 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: Mon, 20 May 2024 13:29:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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: Message-ID: In-Reply-To: References: 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 --- Comment #3 from Ricardo Branco --- I managed to crash -STABLE (didn't try -RELEASE) like this: $ sudo mount -t mqueuefs none /mnt $ touch /mnt/{1..101} # Needs Bash I think touch: /mnt/101: Resource temporarily unavailable $ sysctl kern.mqueue kern.mqueue.curmq: 100 kern.mqueue.maxmq: 100 kern.mqueue.maxmsgsize: 16384 kern.mqueue.maxmsg: 100 $ rm -f /mnt/* $ sysctl kern.mqueue kern.mqueue.curmq: 0 kern.mqueue.maxmq: 100 kern.mqueue.maxmsgsize: 16384 kern.mqueue.maxmsg: 100 $ for i in {1..101} ; do posixmqcontrol create -d /$i -s 1 -d 1; done posixmqcontrol: mq_open(create): Too many open files in system $ rm -f /mnt/* POSIX message queues seem broken on FreeBSD. There's no limit per-user. I t= ried this on Linux and it only allowed me to create only 10 messages queues as u= ser, without limiting root. --=20 You are receiving this mail because: You are the assignee for the bug.=