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 43E63156237 for ; Mon, 29 Jul 2024 14:59:22 +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=1722265162; cv=none; b=MO9lEjluANWXmDqxQg8wTlBjXdDB6MLUQhlmnMPMj2SpQ4uWfx7XhzImLm9irw3RGyVdQHNyCPbHt4kR7jfrmqX+i/KEK8T7q9ZdlgLnkknCJF5mztm+iV0BsXPCFc72ny1vOVy2KGW3rqM0I2fRblxDo1q8UGrmXaDRbj5yEcs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722265162; c=relaxed/simple; bh=H1S9DJkmwBu8oVJ2vormb+RO6k/72KAkIvjndO+nwVk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ZEqfKzzl//13RcmldU4dERwwk3oDLff40DmGzShdqw9Pw60F/CtjSmr+r6LV+2tlypXemXZqw8CwyknKQF3NpbUHZ4MsE+UUNTsxyPRnVW3NGW8O3ojw4oVbS8ZbATwz+RLb/o/GDKIAEEVG3gEUtRp/F0gedsPYDVGFHDVlkAQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=bsE6LbzY; 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="bsE6LbzY" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A7765C4AF09; Mon, 29 Jul 2024 14:59:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1722265162; bh=H1S9DJkmwBu8oVJ2vormb+RO6k/72KAkIvjndO+nwVk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=bsE6LbzYOxW6uV/6BQBuaELt6sjb3ZwQXciNHtcqWOWFNGUTAwAEiUIYhEAA+H6RZ s9BhHwRcanWDOcjNL/fq61crxjLiwRH7KzJYt7c4101MH96VA30IUDrvQlC0zxsdTU y+MsU/jVmUXiTI//dgrsskWRqvMOn7WlyeVJ2ztk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-41076: NFSv4: Fix memory leak in nfs4_set_security_label Date: Mon, 29 Jul 2024 16:58:22 +0200 Message-ID: <2024072910-CVE-2024-41076-6124@gregkh> X-Mailer: git-send-email 2.45.2 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=1835; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=H1S9DJkmwBu8oVJ2vormb+RO6k/72KAkIvjndO+nwVk=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnL1zH1m0twhRvP5p25o1Xq/e0fc1eamR2WfGUwq39R+ dPWehv5jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIHh2GBSez/1zYUsjv5n44 QLV9lt5i9Q1a9xkWTDzeszvyNdO/T3d6z28slvJf9Jy9DwA= 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: NFSv4: Fix memory leak in nfs4_set_security_label We leak nfs_fattr and nfs4_label every time we set a security xattr. The Linux kernel CVE team has assigned CVE-2024-41076 to this issue. Affected and fixed versions =========================== Fixed in 6.1.101 with commit 899604a7c958 Fixed in 6.6.42 with commit b98090699319 Fixed in 6.9.11 with commit d130220ccc94 Fixed in 6.10 with commit aad11473f8f4 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-41076 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/nfs/nfs4proc.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/899604a7c958771840941caff9ee3dd8193d984c https://git.kernel.org/stable/c/b98090699319e64f5de1e8db5bb75870f1eb1c6e https://git.kernel.org/stable/c/d130220ccc94d74d70da984a199477937e7bf03c https://git.kernel.org/stable/c/aad11473f8f4be3df86461081ce35ec5b145ba68