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 22D0818C341 for ; Fri, 27 Sep 2024 12:41:01 +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=1727440861; cv=none; b=eupWAHkDDt7WOzv4FOAxBkizsZ1wOs+6RDeZG2KiRL3YOOnHorhcg2OBLOaL5FjcBsVyUd/gtgiTo443zce3laUm7hAPSGlbvkDduiLwuhskb6it5rdhnIp65r7KKnIMCtrbfPbJBmo2wuCi/tfSoEGQM50PZTBye6Sdl9FXSgQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727440861; c=relaxed/simple; bh=NvNYF0fyJie3IpjFmd1FgG9HjdAOXy2MF2r7yxLMtyM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=sSdenFSIjGbWUajGlSc5Ot5CCv3wzTDd1oQdzlW1on8q/KfI0+E1qx6TKfRcis5YwuQ5bNxjrUCAdN4rb7ZGD2CYQXDexq5XOhZLtOuc6eGQWpTwu68tn4zzePmqyovQdFK3IggP0y9x0x3JyahxBAJkcPMh6IrvZXcuAewOSkU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=hMXmLRZy; 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="hMXmLRZy" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A4DD3C4CEC4; Fri, 27 Sep 2024 12:41:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1727440861; bh=NvNYF0fyJie3IpjFmd1FgG9HjdAOXy2MF2r7yxLMtyM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=hMXmLRZyHHzyQGtzea0AMSAlUFsWgJziX1G7EzJxrlY8YulQualkDA6HNAMF9oULK s31Bw9lVQ48CNeel9piRV7Qf85+TPMPenxt4DGn+Ihvb/s/Nl2Zjk/WWKSOPUaIr/6 dUpYVSSjEH0vZr100IoaI1PEuMww69JRP4IGMUFI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-46836: usb: gadget: aspeed_udc: validate endpoint index for ast udc Date: Fri, 27 Sep 2024 14:40:04 +0200 Message-ID: <2024092753-CVE-2024-46836-acff@gregkh> X-Mailer: git-send-email 2.46.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=1945; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=NvNYF0fyJie3IpjFmd1FgG9HjdAOXy2MF2r7yxLMtyM=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnfls/U6zywqyZq5y3vFcacFsaCkscbTos/vKh20vVlx pZZtvJPO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiJUcZFhxIn/lyi35h8suN 61Ksd0RvEJkxfz/Dgqnbv4qubcrapdzmmWt8zVna97zvHwA= 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: usb: gadget: aspeed_udc: validate endpoint index for ast udc We should verify the bound of the array to assure that host may not manipulate the index to point past endpoint array. Found by static analysis. The Linux kernel CVE team has assigned CVE-2024-46836 to this issue. Affected and fixed versions =========================== Fixed in 6.1.110 with commit 31bd4fab49c0 Fixed in 6.6.51 with commit b2a50ffdd1a0 Fixed in 6.10.10 with commit 6fe9ca2ca389 Fixed in 6.11 with commit ee0d382feb44 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-46836 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/usb/gadget/udc/aspeed_udc.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/31bd4fab49c0adc6228848357c1b1df9395858af https://git.kernel.org/stable/c/b2a50ffdd1a079869a62198a8d1441355c513c7c https://git.kernel.org/stable/c/6fe9ca2ca389114c8da66e534c18273497843e8a https://git.kernel.org/stable/c/ee0d382feb44ec0f445e2ad63786cd7f3f6a8199