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 7A1F2374C4 for ; Sun, 29 Dec 2024 08:49:14 +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=1735462154; cv=none; b=Z5AFxXxSEY2KJlQn2z4lR0XXSIUsiUTwEThFMXiqIscLPubG+2ZfDTte6XPWaq4aT04k0UFNEwUZtgQUyoH5Z3qQFoTD+j66h62Xn9x5jLRFzGUd5Lm1cAgDagCIu83Gxz3k42PbxvzZmsbfa7QnSffUgh7et5YOKNcqe9rxbas= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735462154; c=relaxed/simple; bh=OqApGgHexfv8bs1KuzIaoxWkxn19ZEl1NtX3BsE7kZI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=aCl8vVB3FOo5vsKIcgOI4dJIVnfaMcQOWHewWml0yPlPSgBXvoE3LgUclIYAtcfWcAClDwpkeOJ61c7N/F8Q+83OsaqBnTB1QZbkXuSM+Y8s9ctQ50En7SkXYyzW4ZgtGYtflug3NCYVgG+oeM0seZooTs4wz4PZxEuNPVpl1WQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FXzmb8m2; 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="FXzmb8m2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E87A2C4CED1; Sun, 29 Dec 2024 08:49:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1735462154; bh=OqApGgHexfv8bs1KuzIaoxWkxn19ZEl1NtX3BsE7kZI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=FXzmb8m2/VfR4BZSAU0H3ohzU0olFm/6rs7HEL4av4ed357Wm1cuDwMSLH3Lrgi3V ylOCOV1DhI04X2fElI3aqVDZbIAa39Qlz8nzt19Fgk7xPtzhYMZP535L3WdrE5I9aj 8srKZceuULT/yy6Z6WntWb+bJDlO/ftVAqzfHKtw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-56713: net: netdevsim: fix nsim_pp_hold_write() Date: Sun, 29 Dec 2024 09:48:17 +0100 Message-ID: <2024122914-CVE-2024-56713-f78a@gregkh> X-Mailer: git-send-email 2.47.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=1911; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=OqApGgHexfv8bs1KuzIaoxWkxn19ZEl1NtX3BsE7kZI=; b=owGbwMvMwCRo6H6F97bub03G02pJDOmFPOfCTwrVVH0v6YudulJGXOpG3Bm2grUvZ7tGXjD/v 3LGjbTAjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIwRKGBYuk+c+8ev68+JOU 28X1uaGfSoK9cxnmp607FmOoGf367FmJJia+7cUcIl11AA== 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: net: netdevsim: fix nsim_pp_hold_write() nsim_pp_hold_write() has two problems: 1) It may return with rtnl held, as found by syzbot. 2) Its return value does not propagate an error if any. The Linux kernel CVE team has assigned CVE-2024-56713 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit 1580cbcbfe770b0a7fb76735c1a601483335c1c2 and fixed in 6.12.7 with commit 5c553262f063b3bf85df3b22a9818a8d92510f4d Issue introduced in 6.10 with commit 1580cbcbfe770b0a7fb76735c1a601483335c1c2 and fixed in 6.13-rc4 with commit b9b8301d369b4c876de5255dbf067b19ba88ac71 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-56713 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: drivers/net/netdevsim/netdev.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/5c553262f063b3bf85df3b22a9818a8d92510f4d https://git.kernel.org/stable/c/b9b8301d369b4c876de5255dbf067b19ba88ac71