From nobody Fri Nov 26 02:56:11 2021 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 AC6B318A415D for ; Fri, 26 Nov 2021 02:56:11 +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 4J0fWv32qnz3wKM for ; Fri, 26 Nov 2021 02:56:11 +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 3DEA628DAC for ; Fri, 26 Nov 2021 02:56:11 +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 1AQ2uBPV001128 for ; Fri, 26 Nov 2021 02:56:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1AQ2uBZh001127 for bugs@FreeBSD.org; Fri, 26 Nov 2021 02:56:11 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 260046] An NFS v4 client can crash the server with a LISTXATTRS RPC Date: Fri, 26 Nov 2021 02:56:11 +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: CURRENT 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: rmacklem@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to attachments.created 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=1637895371; 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=LKyQAoa4gEOmQBnykF1yYkX7W1FjkF93f6QyqCD4d4A=; b=Z7dxoUWGQQW1FpkedvtPvMtEb44o5GKyDUJHp15N2SgESKhrDg5jSakij3qxcuIsLKOHci 72ty4I0q/hWarEGp/AmwpzEQ0y1IAeKr77fWv6MufXK1db7KJQdOjX1Xpm9D1SfJWhrUvM pfL7T/6bA9F9jhy++oQVAIQQiDhdMkElhANwtp2cq9DbBB07e2E9cVH+2x2tkfKxml4ttd hSz+fjlT4ZH9oab4HHfxGGJgmUUFbDNM7BkcIdTyGwAjA9CWZp6erfo4kydkSyKnmFktzD WVVqanTuF9JDGzAPjHhHvJCuVe+AU0UaLkIeuGbs9jjiLKpXZZH2Rhy0TodRsA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1637895371; a=rsa-sha256; cv=none; b=ythS72KIkbyStZk38BFkyuMcMFu3Q8wg8zVWwg3HY9GrBxqq93bLtSnWc94r8TsvJ7vclG eZTqV8cwALJDqOaubNlWtjjHKY1+7TFYtrnW30D4R8pnJiY1INRl8uYNBamzFaxJxeLENJ puo9pwkmqFpUf/2Q+GLXGogds2rHo02olqgoHD73xyqQyMzrsYFFjZ9d/mOFape1ueUa5L LOnQsDl3lSOLcoaLheKeqTPeEdTLcgbO9XzCGcbeC2t6/ZoRJpwLh1Rm3Uw2yk2MsI3vS0 FbUOkhbNARw+/9QK0285zIt7FQ96wQoy8OilJcSi2JTm6oMA/yLUmZS+q1+EXw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260046 Rick Macklem changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |rmacklem@FreeBSD.org --- Comment #1 from Rick Macklem --- Created attachment 229735 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D229735&action= =3Dedit Handle the case of a small maxcount < minimum reply I think this patch will fix the crash (although the demo program used a maxcount =3D=3D 16K), which I don't think would cause the crash. Anyhow, it tests ok with 16K and with 5, so I think it deals with the problem. Maybe the reporter can test this patch? --=20 You are receiving this mail because: You are the assignee for the bug.=