From nobody Wed Feb 16 01:03:33 2022 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 D223619BF18E for ; Wed, 16 Feb 2022 01:03:33 +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 4Jz0846y2Kz4ZTM for ; Wed, 16 Feb 2022 01:03:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 AE17549CA for ; Wed, 16 Feb 2022 01:03:32 +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 21G13WPj032291 for ; Wed, 16 Feb 2022 01:03:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 21G13WbG032290 for bugs@FreeBSD.org; Wed, 16 Feb 2022 01:03:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 261291] ESX NFS4.1 client hangs, server never responds to EXCHANGE_ID/CREATE_SESSION Date: Wed, 16 Feb 2022 01:03:33 +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: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@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: 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644973413; 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=VyhXr0/N0IONqIDrWcUMY8KxiEkiE1XvC470ig/ksvs=; b=E/cJiwiv0w+aTZ2zmHPQpOZLHWlxSz6eopKFzN1gg4l/89hcheJROGEjnm+V90XlCUsn6R VmcHm5NvrI+WiH888yfXMmRMKDSDTBHiH4vxMZxErd1Bxz0jvBocZSZ90tMfOukOruItoH 286fCcjEs/tdye67KUEHQ8Fqyol+k1v6nl+jHMwDXeM0kA5OKitt09PAd5T/yx5kDRgdv2 G8eDYUCdj7FFiiqdlrffCJO8Fv8Ufk6V8fdvzRRmvLvmLsNptLJ67JRzC2r+h9IQ7pVIuZ IwgjHTZedzVEX/lBDux021Mqvohdn90mSRvqAoZRoInere1M/Lu6xN/ixpyHYA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644973413; a=rsa-sha256; cv=none; b=eR4GUMQnyjwFbZ6X4FBZvIL3oeGRol6lvSHU5adiIZbwx3pgJbZX6g556NLpG1rzHYFg13 pUNSZm43z4uem4AxQNna2SX6Z+rs6nl65T4i0vEemwEQ1PEOMdpeHpfowGO0PuF1usVa5c dJiwLzJ8ULmx9my6enHjIOStLARdykkqMXSqoghxlLdXcBT8w/s7B/dIEZBRf32w2FAYT+ KVEFCI3CcXUprQ3JuqgtsF+uptF19Ha4QH+cFiBVKsv1NbamYuqBoniQ7wnft7c2hGvNcZ patlt7c9VXeFR8w+TXhq6yF1jNN1250S9L6/zl/RcOKCTWqDxHYAiYujogQe7Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261291 --- Comment #21 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D7deb47265d12caf83fb3d0ed047fc291d= a187937 commit 7deb47265d12caf83fb3d0ed047fc291da187937 Author: Rick Macklem AuthorDate: 2022-02-09 23:17:50 +0000 Commit: Rick Macklem CommitDate: 2022-02-16 01:02:28 +0000 nfsd: Reply NFSERR_SEQMISORDERED for bogus seqid argument The ESXi NFSv4.1 client bogusly sends the wrong value for the csa_sequence argument for a Create_session operation. RFC8881 requires this value to be the same as the sequence reply from the ExchangeID operation most recently done for the client ID. Without this patch, the server replies NFSERR_STALECLIENTID, which is the correct response for an NFSv4.0 SetClientIDConfirm but is not the correct error for NFSv4.1/4.2, which is specified as NFSERR_SEQMISORDERED in RFC8881. This patch fixes this. This change does not fix the issue reported in the PR, where the ESXi client loops, attempting ExchangeID/Create_session repeatedly. PR: 261291 (cherry picked from commit 17a56f3fabdfacb62f6d8858643cdb1861c8c1b5) sys/fs/nfsserver/nfs_nfsdstate.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=