From nobody Wed Dec 08 22:02:05 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 0F27218C656C for ; Wed, 8 Dec 2021 22:02:07 +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 4J8WNY6j9Kz4Tg2 for ; Wed, 8 Dec 2021 22:02:05 +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 6B3411B207 for ; Wed, 8 Dec 2021 22:02:05 +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 1B8M25ie082959 for ; Wed, 8 Dec 2021 22:02:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1B8M25S3082958 for bugs@FreeBSD.org; Wed, 8 Dec 2021 22:02:05 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 260272] short OPEN reply can crash NFS v4 client Date: Wed, 08 Dec 2021 22:02:05 +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: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rmacklem@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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=1639000926; 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=Bb05DIkv6nnEw6xSqG2Hw8VK3Z8G8xaqu19rlUQZhWU=; b=K0m/SO1XmD1khvdJiMKor7QsWXTtqcWOXQN8vj09ofTdzy7c99Ow6k8uL1iEeQPpibV7rJ OuzRflI024Xrl+Ycq/eKRm7f4qXJ0oaV598P6hJPeUryp4YpAcO0aC1ArZUgJ4kyyEhIDr gZewmNFxkVPRuzHnIDjakoGQ+OumQrLMDZQQKIaX1pu/8BDp1SMvgkmkU2kuvxP95ZGojd UkxbqJ7ovx6JVO5o99nrViyXWH4hZcfrVDr8nvYw0QT83Xrp7YJV3v/66Bz2/Sp1FkxpUD fs+9J5s8uQ1gtNAIvqiXajY7bwdf06JNjlQmkWON4gGqQrtK/rhsQCVib1bgdg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639000926; a=rsa-sha256; cv=none; b=Otw/09KQWAMJ50K5GSX+juj6DfYKHsL4xuzsdQRQmppiQ67YwYpFiPKTm2dUWLNNdxlaso gd3DWUPHX/z+db7ivdQnlrUnxnxxAy1w7SrwbFpnh/98zEwiuHk8u4Rg2JxLTTpYVYF3HM W6XTN8u/8CexORuLQr0pjqdrIOzwrqJNEQXaiToXa4//+2dN/TPMQxXR2r95p1PQ+kUIvB XXEhII/TWAsAUC5rYWZOcHmjsGMRk3Llwnbzl5Mlcxpppza3iDmnNsVikbdC62SvwLV2VO SF/MZasGwnB9/7ENMMhh5KwdC78z9y2aNOiIH7F2UFCsITWkP1YoMTe6CLz0Pg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260272 Rick Macklem changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open Assignee|bugs@FreeBSD.org |rmacklem@FreeBSD.org --- Comment #1 from Rick Macklem --- Created attachment 229982 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D229982&action= =3Dedit fix two places that need to check for an error return from nfsrv_getattrbits nfsrv_getattrbits() can return an error when the received attribute bitmap does not parse correctly. There were two places in the client where the code did not check for such an error return. This patch fixes these two cases and should fix the crashes. Maybe the reporter can confirm that the patch stops the crashes for them? --=20 You are receiving this mail because: You are the assignee for the bug.=