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 C46292EB85E for ; Tue, 30 Dec 2025 12:20:41 +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=1767097241; cv=none; b=NtYR+CegaCCcZC6U30VY2fqfwXCkDgxkYuJatbAEo65r3WvkT3BDLVABsRQ6BkIhOdvPa1KEuQTDwKzaiPxDASj0+hcUGw2+0t1ATnyjvO5q5lTxOMtviw9c6xNh9ZSLLRToZmraJA9SW9LHuGJnON3apsNnsNRZFct60YW6Xh0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767097241; c=relaxed/simple; bh=4J+QcNihDJw58j/ZK36YcdQStiwNLfapIVdvRhEyMHs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=QvtEIOnDy4HInveQTLvXLuAWO8ZzE3g/lAk35UuY0+2D6WdJKZJMNL8+qNYbIi7sgu4NSUWNmaGGirW5fd0PJ2guNfaEtvURI+BX8E1swx1eIaXmPTOVhl8xohL4PaFxhdHd918ftt/7YGTYfvOrgirNADxX7/JPUw8a/uiCCUY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=EKGJkb5y; 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="EKGJkb5y" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1ED3FC4CEFB; Tue, 30 Dec 2025 12:20:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1767097241; bh=4J+QcNihDJw58j/ZK36YcdQStiwNLfapIVdvRhEyMHs=; h=From:To:Cc:Subject:Date:Reply-To:From; b=EKGJkb5ytx3I8MbYQeyqh/3h3vL64ykzRL1lOvL0jdxO2SjWNfKTi9m2yt64RcdG+ vC4jM7dbvCnshfREcp7X+N1yuT7IxOd09PAFC6zHP1u3EWeYYEg9yB2fh+BPHtXcQC pUoWAaW+tDAuMagwjgfPqRTc3eZY7Z5CQcsO0c5I= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50852: wifi: mt76: mt7921: fix use after free in mt7921_acpi_read() Date: Tue, 30 Dec 2025 13:19:48 +0100 Message-ID: <2025123045-CVE-2022-50852-978e@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1845; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=tMW8WdW17oW48lp/R2JCpgrOxIUb8+flkYzxJMimnyo=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnBhxMrkqKOeNvHalzY5J1vIivXM+v6nA5hYcdJLHN4b Off3TShI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACaypIphvn/bgW+bPjQ3bNjP w8J7RU0vmGXFc4YFO70CFk6ac+t8beTULxrioqeYDhRlAAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7921: fix use after free in mt7921_acpi_read() Don't dereference "sar_root" after it has been freed. The Linux kernel CVE team has assigned CVE-2022-50852 to this issue. Affected and fixed versions =========================== Issue introduced in 6.0 with commit f965333e491e36adb0fa91e389fba8685b704fb6 and fixed in 6.0.3 with commit 3ed0b382cb36f6dac9f93b3a5533cfcd699409a5 Issue introduced in 6.0 with commit f965333e491e36adb0fa91e389fba8685b704fb6 and fixed in 6.1 with commit e7de4b4979bd8d313ec837931dde936653ca82ea 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-2022-50852 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/mt7921/acpi_sar.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/3ed0b382cb36f6dac9f93b3a5533cfcd699409a5 https://git.kernel.org/stable/c/e7de4b4979bd8d313ec837931dde936653ca82ea