From nobody Sun Oct 26 17:44:43 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 4cvkY80F79z6Dffn for ; Sun, 26 Oct 2025 17:44: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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cvkY76dR8z40wK for ; Sun, 26 Oct 2025 17:44:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761500684; 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=q2Xync1W7KNd7ap+4hnb6coylMgbxV4f1IQbejbKiCQ=; b=EPjqgZJcJZ1bluNjjcMz5SROaV+COxMZJloSKmqtaV2y5+IUtR0WxACRJofcbIrKiZLrh9 5hK21gA+PwComqaU4zNvJ/jFF4TUvUzSXj9XSzpw+ZnAoSJdkFnbK4+87/T9pRgNdRoELr zjcbO0hVJHUaH00YfzZRa+I9Bq+LstfcKvDqCOQt3UfSGy3JezXrcF4pcNopg2ia5WSv2r 3TqqHjkRKzMI7K45ZxPI5F9N/VARmOoeC8D/rkaL/Vo6ctlTh/McVfJi/w+nb3Js6F9u/M +7OwnKHmRMGADAEV5bpvR3U4bNaWP9oul9OOoYe8cj/MgozBIl2iV9XXIakqNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761500684; 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=q2Xync1W7KNd7ap+4hnb6coylMgbxV4f1IQbejbKiCQ=; b=krW9jw7nzL8IcdRL4jP0zmv71wOYa//++JoRkGTurnKIR5/u4bmyNgbaDxuSaJNYx0ljr4 rd5smCnNYXrQItN3kZIGCTPMZFGBnbm4GI+hOVXZeznZkmW4q3fs0NJlC/hfYhYx45kkbc Lbm8vlK4Wr3axnSSvP6jzAZ3HhevOuEDIfbb65M/C2ak+zmsuZ0U1XyCXHqfjzpittBg3P XFjM3r1kX3n4/6vKnFLJasz06fUxOdMh2/6YVSHNSeBu9Zz8H8cIO2TAExS+QYA4oFk6y0 E74hAbueXM/St+Z4SjFiZtRhhZASIVzgNwP65Y0XEn8v4oNxdBNXcBzbkXMQrQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1761500684; a=rsa-sha256; cv=none; b=yqakZlyjtPIkNF+JTKnquxuyZsubrl/TUlnqvSXj3W2o+WKogme99F+YUqjxYCRGqRAhvH zIHkm/LiL+gtcSMvMCWItTPJ70V08LynNuDbEnk/s/bTml7UcZpew3mcHH+aL/nDe0Z2wL aO5UItcOwhLfvzaiXo0Dncgg3yLDFUj8LD3uKkMBu2AsWG2ppkejw3w0DbeJdKVHp8mulY gp0KG8JTjolakoo0jeeV0bQCa0cBLLUmb3h56Y2XzIfu7q92CSBKUU/cYGbdYnj8ObmaDb yYiojZg2vvtXO3QwV7/yghFIQtygsCQgW74YHpeBF19mc6qtEaUQGaMQydYS9A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4cvkY75pJ4zjjC for ; Sun, 26 Oct 2025 17:44:43 +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 59QHih0b067584 for ; Sun, 26 Oct 2025 17:44:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 59QHihP4067583 for bugs@FreeBSD.org; Sun, 26 Oct 2025 17:44:43 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 290547] [fusefs]: kernel unconditionally sends FUSE_SETXATTR requests in extended format Date: Sun, 26 Oct 2025 17:44: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-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: asomers@FreeBSD.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=3D290547 Bug ID: 290547 Summary: [fusefs]: kernel unconditionally sends FUSE_SETXATTR requests in extended format Product: Base System Version: 15.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: asomers@FreeBSD.org In FUSE protocols 7.1 through 7.32, the FUSE_SETXATTR request includes an 8-byte header. Protocol 7.33 optionally extends that to 16 bytes, but only= if the server sets FUSE_SETXATTR_EXT in its reply to FUSE_INIT. Ever since d5e3cf41e89400e75da87aad0cc9bde108e2573b FreeBSD 15.0-CURRENT has used the extended format. However, it has wrongly used that extended format even if the server does not set FUSE_SETXATTR_EXT. FreeBSD 14.3 and earlier are unaffected. This bug only affects file systems that use protocol 7.33 or later, and do _not_ set FUSE_SETXATTR_EXT. So anything using libfuse is unaffected, as a= re any Rust-based file systems using the popular fuse3 or fuser crates. I don= 't know of any off-the-shelf file systems that are affected. This issue was originally reported on Github by user CismonX. --=20 You are receiving this mail because: You are the assignee for the bug.=