Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CAF63182D0B for ; Thu, 30 May 2024 15:36:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717083365; cv=none; b=n2v8ByZWu8tXFwVokrThea9838PhXPXSnSDFFUB7TCZXEl36vWCUJBd5r3+GPmk6n6IFanB0MWWscYNIjNcyhugag6rp7hgyL63o6RVVWXOIB6UaWfEFmaVrpq1ra+oDZ03u0MOmjnJv5zyXFQnP0Uvp+yyz9eUxwzkNNsY0AVA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717083365; c=relaxed/simple; bh=jvDDKzsma/feOpr/3AOiNprfgsRh0VKy/pD0AcfOkyo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=IfaaEawPyp0d9jZ51PsV3sMZxkaUjMLb98xtPFZToWAukkOX7lSsfwVfPug6roRdHSpMIZlvq3HDDZVn6sedOEluVaELWS0P7kfvHV3fo45bYRXxETN4wcS1pD2nrhlKuiEUdTuhdCyFBtba1prxRD63vV0x+C/Lp00AbJtJS7c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=sRYgGL6f; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="sRYgGL6f" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F3324C2BBFC; Thu, 30 May 2024 15:36:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1717083365; bh=jvDDKzsma/feOpr/3AOiNprfgsRh0VKy/pD0AcfOkyo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=sRYgGL6fyyi3yul+4dhtTPrrgsoH9zEnPiS3lwlCC/Gr0/TZZ/dxvthSAgSfIyIyT t21Y47b/+LXJ2iyf5MKer1Tk/SJ90t87W8w7VfNteE5LnHafuIwq2zkveXQ6ezvsHa NimFQGdS5BHwOTJCII6+guG0Obd3N1fhA7l0k+ao= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-36958: NFSD: Fix nfsd4_encode_fattr4() crasher Date: Thu, 30 May 2024 17:35:55 +0200 Message-ID: <2024053041-CVE-2024-36958-541a@gregkh> X-Mailer: git-send-email 2.45.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=1757; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=jvDDKzsma/feOpr/3AOiNprfgsRh0VKy/pD0AcfOkyo=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkRc846W4oUMZ2I/h5zqvBp6sFbW9KupDDGsnAJ/t9pb +F3SW56RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkyEmGBZOyrLkuOytL3PXl cSi9cVZXNnTPEYYFe8pOJrQuSkziOKixXcLmQ9KXVWe2AgA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: NFSD: Fix nfsd4_encode_fattr4() crasher Ensure that args.acl is initialized early. It is used in an unconditional call to kfree() on the way out of nfsd4_encode_fattr4(). The Linux kernel CVE team has assigned CVE-2024-36958 to this issue. Affected and fixed versions =========================== Issue introduced in 6.7 with commit 83ab8678ad0c and fixed in 6.8.10 with commit 6a7b07689af6 Issue introduced in 6.7 with commit 83ab8678ad0c and fixed in 6.9 with commit 18180a4550d0 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2024-36958 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: fs/nfsd/nfs4xdr.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/6a7b07689af6e4e023404bf69b1230f43b2a15bc https://git.kernel.org/stable/c/18180a4550d08be4eb0387fe83f02f703f92d4e7