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 0C0BB192B81 for ; Tue, 30 Jul 2024 07:51:35 +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=1722325896; cv=none; b=hhnS7I5zMq181w+4C+f9ALOVFhzBg2RtF6LrHWZLnahrP4oSmJiqFnLZQ0tG5oINNGqBC/Md77mwG2fqapxUckN9c6XzFNAiAo4C0opsI6ZDBBDkeDDvLxlplLQZ+om/Y7cGLxpRcCDGwT162KeJw0gBP1ADnAhOEMfZqAQUg/c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722325896; c=relaxed/simple; bh=jUaXzcu6KZ9+2nlK509lgX3A+hhgcOTwBHNVCrITlvw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=KFn+tYvmarWVCmw8S+JP8Kdl/VLMG9cebJG8wGXkaUIF1TSB1QAi0VTJlF+N93p/rn7M4FplOcuGNZZrwN9HUmbv+xCXYPNRVadD6oQYWrHfBhGJBKpqOzcT54PFR5ha+nzlK5KB5zJUm7IIB7NPy2mjABz4ZzX3QtqzOgxIRUo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=s9X9pV/k; 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="s9X9pV/k" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2BBB0C4AF0B; Tue, 30 Jul 2024 07:51:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1722325895; bh=jUaXzcu6KZ9+2nlK509lgX3A+hhgcOTwBHNVCrITlvw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=s9X9pV/k0wPgrkrraiWDo4Tj76bx4ir91q2pwYsv+kAbAnNvUqnZpgVMISz66WYbS curl5fKwdkFYdxrpD0M3ylO7Su51GNitdla2cFMC+Q6hxexC9MgL4YjiUYqLifBsWt 28kQMLOH33uMD5tqm2jb0S+n7g6mBUh33n7v1GAQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-42225: wifi: mt76: replace skb_put with skb_put_zero Date: Tue, 30 Jul 2024 09:48:23 +0200 Message-ID: <2024073038-CVE-2024-42225-bdfa@gregkh> X-Mailer: git-send-email 2.45.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=2010; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=jUaXzcu6KZ9+2nlK509lgX3A+hhgcOTwBHNVCrITlvw=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkrZs0qbfgUEPBfZppJfZzZk+bpHR8SJWYWtsgWuuiUb AgzDNXviGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIn4JDAsOHo7qi6p8XPilfba v/H3TPoO/Jt4g2HBtTN3GWPlWAwfLZ/ot+Ge1peGtn/tAA== 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: mt76: replace skb_put with skb_put_zero Avoid potentially reusing uninitialized data The Linux kernel CVE team has assigned CVE-2024-42225 to this issue. Affected and fixed versions =========================== Fixed in 5.15.163 with commit dc7f14d00d0c Fixed in 6.1.98 with commit 22ea2a7f0b64 Fixed in 6.6.39 with commit ff6b26be1303 Fixed in 6.9.9 with commit 64f86337ccfe Fixed in 6.10 with commit 7f819a2f4fbc 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-42225 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/mediatek/mt76/mt76_connac_mcu.c drivers/net/wireless/mediatek/mt76/mt7915/mcu.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/dc7f14d00d0c4c21898f3504607f4a31079065a2 https://git.kernel.org/stable/c/22ea2a7f0b64d323625950414a4496520fb33657 https://git.kernel.org/stable/c/ff6b26be13032c5fbd6b6a0b24358f8eaac4f3af https://git.kernel.org/stable/c/64f86337ccfe77fe3be5a9356b0dabde23fbb074 https://git.kernel.org/stable/c/7f819a2f4fbc510e088b49c79addcf1734503578