From nobody Tue Dec 24 00:33:42 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 4YHG8l1ql8z5hh4W for ; Tue, 24 Dec 2024 00:33:43 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YHG8l09shz4Zw6 for ; Tue, 24 Dec 2024 00:33:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735000423; 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=DsMbRPWys2Rgj9mycHnYN8trEYWNiu/7tLTeRRw3r5o=; b=LFwuElX8JXfVYHqs+6G2jk8kWRY4kYN5pQ3mouIAIMriw4BGTaX6G3m14azjHJsDe5DV4R a5WkhRGX2cHL7bb7HSQm9ZomSFRalBYSsHTXm9Q4ALJA6rzwGGVnBkVhGJN5JWIa65TmmL 1LYqhvwFA/oo3sfrCE1cCkz5pdgkymg/WccV6QUXUYiymHQ2CdZI6qivoixBtaOYiJnUt6 M6KiW3D2VJhQ12EIZRah6zmWhz2ywBYCah+MYKXgb8M5aPwv2b5Q0reY1IJ1cfn/0aU6Yf e5vXznLb+/eBYqgatY9khPBbBFC0CHJ+kMkq8h2YPJGDbiNraSDgD4NU2q8juA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735000423; a=rsa-sha256; cv=none; b=AAWWEjeR8SZ3j+DG87Y9L7DVvo+NXnW1zU2Ml39ci3OdMo/SnG3nZcoCNPTOWpXJno/DeA awNXxuNeMp/jLHmX9CiMzVXETMpXqb0ZsqD6jUdJvEIx/UdKAOL8fHaE0b+2zvCkhOkE53 5GSfp97O8RzBinvv1fvZ7p2hRLAXgdoaJ6gVOnQjraTxHslemNHGkiy/pzGQ9P8x4Vsh9x 56pTvBMhsqgzIkB7aOW9K70xZAiikX4AUfA+m3q+2i7y5XhveZnO6wsgrnGV37VJCTKRxV zrFM1JpSAJWkmPiAursfecrBiZyF1szfUhn5Dp+ozfdOqfEd9dYWCOkNqviK0A== 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 4YHG8k6vQTzG5N for ; Tue, 24 Dec 2024 00:33:42 +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 4BO0Xg2v022566 for ; Tue, 24 Dec 2024 00:33:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BO0Xgjr022565 for bugs@FreeBSD.org; Tue, 24 Dec 2024 00:33:42 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 283538] Linux NFSv4 server generates incorrect XDR for RPC reply Date: Tue, 24 Dec 2024 00:33:42 +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: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rmacklem@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-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=3D283538 Bug ID: 283538 Summary: Linux NFSv4 server generates incorrect XDR for RPC reply Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: rmacklem@FreeBSD.org When a NFSv4 mount of a Linux knfsd (the default one in the Linux kernel) is done, it is possible for the Linux server to generate incorrect XDR for an RPC reply. This occurs when the reply XDR for an operation before the last one ends at exactly 4bytes shy of a page boundary in the Linux server's reply buffer. This has been observed for Readdir replies, resulting in a truncated "ls" output in the client, although the files exist in the file system on the Linux server. Although this is a Linux server bug, the PR is being created to keep track of it, since the FreeBSD client is most likely to experience it, since it does a GETATTR operation after the READDIR operation in the compound RPC. --=20 You are receiving this mail because: You are the assignee for the bug.=