From nobody Thu Dec 21 19:29:17 2023 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 4Sx0qK6Wndz549gm for ; Thu, 21 Dec 2023 19:29:17 +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 4Sx0qK2NXJz4DSH for ; Thu, 21 Dec 2023 19:29:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703186957; a=rsa-sha256; cv=none; b=AZfeZWBRrU+9e8M9tfThrp//3AFaWOlQqsqW+w/nLvl+TV86AmdCdMZtY9Nc23KIGcg3xG uvlT+DQWC0j+9e81BJkxxRK4xZyEn3uE3tu+zWfjLTkIyE7CG+5JEYBxKeknnYzZNux9Ea PGbpaAuxKz44Ox0Kyy+MEKa9ZTzkL6CmkLcb3fXjl7CawWW9yWktFB0LlJBprDM61huOfJ 6DfQZkkYCSk+hauv+Todtpg+VuLXBHEw8naIgmaU6ct0f/E+u4Ccyomxg5wrbhHZ1+/2eX vkSkzDcfeivt7g5Px/fvLFfkFQHzE2bNEsKPBYcLPpIrdL3qDQUOeZrMIVM4Yg== 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=1703186957; 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=bBsq22Z8yQYy5+mNdcYmtwwXnS73Z501yKdsSDI/bms=; b=tbxjg2ve205RFJq4Y/TW9nKM+cawww2mfN2le92TsT61N+fivU5URHhld+HJSQHLlq9VN1 E1/LcemqWBh7kb6POohWQ0P4Ae9qsXYdGUYAvZ02bEsc4t8ykJdrOESpEjSdnz4YPQFbkH ptJ6FHdQXWyLKdc1HEfxgGq37dtAlLc47fS/TmNlo7IuxHfVKzgX2gxJ6Dmt327wzrASd5 cLM7W2p0o3450+kk7O4F7q3prGOGs3a+WcScANDOkT7EoueRWxgKiaLANMFcu+hCnH1Oo2 zzF6zJw6aZWVDrYKutBrqDOvRLLNncAoFueHyUlVc2hp7DAz3si/v8B6DyiSDg== 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 4Sx0qK1VT5zllb for ; Thu, 21 Dec 2023 19:29:17 +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 3BLJTHtG085641 for ; Thu, 21 Dec 2023 19:29:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3BLJTHKE085640 for bugs@FreeBSD.org; Thu, 21 Dec 2023 19:29:17 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 275871] [unionfs] [nullfs] [zfs] corrupt filesystem Date: Thu, 21 Dec 2023 19:29:17 +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.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: karlo98.m@gmail.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=3D275871 Bug ID: 275871 Summary: [unionfs] [nullfs] [zfs] corrupt filesystem Product: Base System Version: 14.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: karlo98.m@gmail.com I stumbled upon a way to reliably create files with "/" in their names in FreeBSD 14.0. It works fine when using UFS or FreeBSD 13. The filesystem works fine with those files - they are just impossible to destroy or access apart from destroying them with zfs operations (rollback = or destroy). I provide a small script that produces a file named "a/b" in directory "/var/repro/y": #!/bin/sh zfs destroy zroot/var/repro zfs create zroot/var/repro mkdir -p /var/repro/z/a echo > /var/repro/z/a/b chmod +x /var/repro/z/a/b mkdir -p /var/repro/x mkdir -p /var/repro/y mount_nullfs /var/repro/z /var/repro/x mount_unionfs /var/repro/y /var/repro/x /var/repro/x/a/b umount /var/repro/x umount /var/repro/x rmdir /var/repro/x rm -r /var/repro/z ls -Rl /var/repro/y IMPORTANT: If you 'ls' /var/repro/x/a/b before executing it everything works fine. NOTE: I stumbled upon this when trying to run IMUNES (https://github.com/imunes/imunes) on the newest release. Currently, this bug is blocking the project from porting to 14.0. --=20 You are receiving this mail because: You are the assignee for the bug.=