From patchwork Mon Jun 24 22:50:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bethany Jamison X-Patchwork-Id: 1951840 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4W7NTj29Tmz20ZS for ; Tue, 25 Jun 2024 08:50:32 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1sLsW1-0000G7-9Y; Mon, 24 Jun 2024 22:50:25 +0000 Received: from smtp-relay-internal-0.internal ([10.131.114.225] helo=smtp-relay-internal-0.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1sLsW0-0000Fe-Bu for kernel-team@lists.ubuntu.com; Mon, 24 Jun 2024 22:50:24 +0000 Received: from mail-il1-f199.google.com (mail-il1-f199.google.com [209.85.166.199]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id E07363FA5E for ; Mon, 24 Jun 2024 22:50:23 +0000 (UTC) Received: by mail-il1-f199.google.com with SMTP id e9e14a558f8ab-3737b3ae019so59517185ab.2 for ; Mon, 24 Jun 2024 15:50:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719269422; x=1719874222; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=GAmWSxX0lBpsqw9SUyFxQ1ixponkGzjKvOLeSzlQApc=; b=VGI6wNwJvUD8xY2mvqr4a/TSKTS+QKMbYtdEI/1/+ALdGT+mQA6Wg9IX8SUdN4Ojdn NOD2llQkQk2rLR8V+LvWeHeFdGFmeeD6jMLiSAuyvIgio69z81/2i+/pkxK3Z3K+ngo/ 8iSVKNV8aa0gT/gkMhr4tHYzirJn3pVuGRLlyaXvqQ/HqAqG8k9wGApPr+OLqr2Rza5y tLlfWuaUXOOxhobwy0M1/3CcxjY8h6Prrkvb92n6YZ/x/7Z+/pbZn/Hcvh3a6xFT04vl Zq3CBvUDw7lbziHBeMy8a9dtLlwcNpG6N698C5imD551lJU13tgmXhxZHHIzNAy5j5U5 QHow== X-Gm-Message-State: AOJu0YyFhCJtqcJdxeeeu7koynnIZ8Ow2Tr+UKbALoV78DT+qT5EHYp2 +/fyVX33yj2Nlo5GwmptKWbIWjL3e7YXxhRIijleTDSAdRmEd+aSTqPnThg6UPgqJdpXdLuf1Jc lQadaFL2l+w5398TCyP3qOfm+nfTVpgEW7CtjwwrgX3xy46cKGTNENRAdsc73bNc6I1f5IIy8IS KUfZEB7UxNgQ== X-Received: by 2002:a05:6e02:1c4c:b0:375:b095:808c with SMTP id e9e14a558f8ab-3763f5d731dmr67933305ab.16.1719269422141; Mon, 24 Jun 2024 15:50:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFU7zGLTCp81V7aSEzs/Uggat8i9fdzIxfo4DWInCx4c/jWuTiN1yl1+PcOvrLQmRSdMQSybA== X-Received: by 2002:a05:6e02:1c4c:b0:375:b095:808c with SMTP id e9e14a558f8ab-3763f5d731dmr67933225ab.16.1719269421782; Mon, 24 Jun 2024 15:50:21 -0700 (PDT) Received: from smtp.gmail.com (167-248-51-36.oa02.lnk04.ne.dynamic.allophone.net. [167.248.51.36]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4b9d10ca5casm2287480173.9.2024.06.24.15.50.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jun 2024 15:50:21 -0700 (PDT) From: Bethany Jamison To: kernel-team@lists.ubuntu.com Subject: [SRU][N][PATCH 0/1] CVE-2024-35992 Date: Mon, 24 Jun 2024 17:50:19 -0500 Message-Id: <20240624225020.39755-1-bethany.jamison@canonical.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" [Impact] phy: marvell: a3700-comphy: Fix out of bounds read There is an out of bounds read access of 'gbe_phy_init_fix[fix_idx].addr' every iteration after 'fix_idx' reaches 'ARRAY_SIZE(gbe_phy_init_fix)'. Make sure 'gbe_phy_init[addr]' is used when all elements of 'gbe_phy_init_fix' array are handled. Found by Linux Verification Center (linuxtesting.org) with SVACE. [Fix] Noble: Clean cherry-pick from linux-6.8.y Jammy: not affected Focal: not affected Bionic: not affected Xenial: not affected Trusty: not affected [Test Case] Compile and boot tested [Where problems could occur] This fix affects those who use the driver for the Marvell physical layer, an issue with this fix would be visible to the user via unexpected system behavior or a system crash. Mikhail Kobuk (1): phy: marvell: a3700-comphy: Fix out of bounds read drivers/phy/marvell/phy-mvebu-a3700-comphy.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) Acked-by: Manuel Diewald Acked-by: Andrei Gherzan