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 395331F94A for ; Thu, 27 Feb 2025 02:13:09 +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=1740622390; cv=none; b=CPtWCfaNlgIbfVaNA+nOu8V5uRXu93aYKUHGjttVvM0VDNeh0qnRnpOdyBrLb49xVXSRrpO29mEhnytVJiRhWf+YM2LPxLDvMFyFt5evraEKL2Av/hkJ53SvnY7LsVkAMYQxS/ZkGp6teStJCxH2sxW3VusnpxrPAdvLagPSKzI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740622390; c=relaxed/simple; bh=YOWiBjt7IoAnaC2cgCqRidDh4btxu/sLy4NWVwxbjHg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=LCdxJzqJ6bq/2x8FBc6fPrd9Fem/eG3SKeVkucPT/UZf6a2bagy6FxvFJ7ffkWKgNfxrzUYbr6gECqX1HhXqkfbe8WwCap9E/Ey1JMuhFZdw/vBe8A36Q4CAHQyqpFra/qhOz3mXhGd69ymZBg9yK9NH17yIis4eGcbyAUhsW3s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=YZJCxb9E; 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="YZJCxb9E" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A44C2C4CEE2; Thu, 27 Feb 2025 02:13:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740622389; bh=YOWiBjt7IoAnaC2cgCqRidDh4btxu/sLy4NWVwxbjHg=; h=From:To:Cc:Subject:Date:Reply-to:From; b=YZJCxb9Ez6Kj8xkh3khC+dO8814TI+JKh+7FCVZZTYyr45y3BzoJN0lHu7GTkFJtB ykuZwLkf0J7Ll8Ro5oqCDiHkOdL6olhZPmiu7RxftU7Gnpii0mObgZ6CmKegnwWD/Q r8vnIjqFcUmCyBy/XBgoFmgXFsDLolSC5SuHI3xg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-58015: wifi: ath12k: Fix for out-of bound access error Date: Wed, 26 Feb 2025 18:11:09 -0800 Message-ID: <2025022657-CVE-2024-58015-f72e@gregkh> X-Mailer: git-send-email 2.48.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=1943; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=YOWiBjt7IoAnaC2cgCqRidDh4btxu/sLy4NWVwxbjHg=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7T260/WJpMfda8CLzXW8KpVja9TeVbdxz7qf8p1W7+ Lc/Trfr6ohlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJBHsxzFNhnuIS3Ty/zUxi 959/rQ3Pz1gyfmGYKzrhqFOixy3d0L+RMYZ7J8ScPhzcAgA= 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: wifi: ath12k: Fix for out-of bound access error Selfgen stats are placed in a buffer using print_array_to_buf_index() function. Array length parameter passed to the function is too big, resulting in possible out-of bound memory error. Decreasing buffer size by one fixes faulty upper bound of passed array. Discovered in coverity scan, CID 1600742 and CID 1600758 The Linux kernel CVE team has assigned CVE-2024-58015 to this issue. Affected and fixed versions =========================== Fixed in 6.13.3 with commit 8700c4bf8b7ed98037d2acf1eaf770ad6dd431d4 Fixed in 6.14-rc1 with commit eb8c0534713865d190856f10bfc97cf0b88475b1 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-58015 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/wireless/ath/ath12k/debugfs_htt_stats.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/8700c4bf8b7ed98037d2acf1eaf770ad6dd431d4 https://git.kernel.org/stable/c/eb8c0534713865d190856f10bfc97cf0b88475b1