From mboxrd@z Thu Jan 1 00:00:00 1970 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 67EC61DD88D for ; Tue, 5 Nov 2024 17:12:39 +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=1730826759; cv=none; b=sPX4s8HSEhtR6BMugM7nbO9pE3wteR+jzdCSK67cE7H73vZjw0I4sW54D18acCvlmsenVw6/BQRSTheEZp9cva5CaspB7oatPTKQ8RHOJcCMOBf2pYbiLRRtqiq46oLWOK+dFh/QlZLJvgKc2zDrXyxRLGtVIfLhMzJ6Pk5ma1E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730826759; c=relaxed/simple; bh=kZsvyrx7QXDRYMF7fB0iU3Inz6JRxNCJjiEAp/FiZIk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=gEZW5l1mc4ak4ur7Ss8P/snyhYPCn2R0SR/toulnN/nK7Q40ED6aKqntHPtw2KDqxCW57aQ/Qh6Gt12E3VRGreJ+mK51kGRmI06oABtgwyC/hy2UwnAgw2a7BXIGctiqykTN2gFNyjlf8FnKYkMXkaBo8wPm71Uul9bHaa7A7Bo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=zF/a+S+v; 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="zF/a+S+v" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E1D9BC4CECF; Tue, 5 Nov 2024 17:12:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1730826759; bh=kZsvyrx7QXDRYMF7fB0iU3Inz6JRxNCJjiEAp/FiZIk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=zF/a+S+vpYyaj9kHPGQd0vTjy5zU27Ru8fDe+y/EcASWMZWBvkEonZAOpM/LTwXcZ kwIgJVxXEVDzRFrNbHfgZVgFPw2geOxrTb9cxTl6n3tmmA8zMGdHgo/hkoHNm6nFv9 YnqV90efgRj+qB4DXZveWGA2VLeypmXohitTLfvM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-50129: net: pse-pd: Fix out of bound for loop Date: Tue, 5 Nov 2024 18:11:18 +0100 Message-ID: <2024110558-CVE-2024-50129-e68c@gregkh> X-Mailer: git-send-email 2.47.0 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=1918; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=kZsvyrx7QXDRYMF7fB0iU3Inz6JRxNCJjiEAp/FiZIk=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlagYv2TFggdGufTdrRmVemuP/0+bCc9YKNsVqAx8O3q x5MTE1a0RHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATuc7BMD9GaqXkt8BH00T2 pho7e1kXrb263pthntbfrNOqbn/m/9RufXd4w7Ovzw5/uw0A 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: pse-pd: Fix out of bound for loop Adjust the loop limit to prevent out-of-bounds access when iterating over PI structures. The loop should not reach the index pcdev->nr_lines since we allocate exactly pcdev->nr_lines number of PI structures. This fix ensures proper bounds are maintained during iterations. The Linux kernel CVE team has assigned CVE-2024-50129 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit 9be9567a7c59 and fixed in 6.11.6 with commit 50ea68146d82 Issue introduced in 6.10 with commit 9be9567a7c59 and fixed in 6.12-rc5 with commit f2767a41959e 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-50129 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/pse-pd/pse_core.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/50ea68146d82f34b3ad80d8290ef8222136dedd7 https://git.kernel.org/stable/c/f2767a41959e60763949c73ee180e40c686e807e