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 6F3E11A23B9 for ; Wed, 26 Feb 2025 01:58:34 +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=1740535114; cv=none; b=hrpSTTN9dFcBB4PhAP1SKlVegVofu9r7kYE50qATFpkK2mRFHe0/LdkezKNCP3gzVgI6yw7ULBrlgNCIGWytyS5O//9nNbv9pPZs+n7jD7I1Ngv+t/ipcmueAOQSvYPys8b2FYIL1U1uyp8mzoES/RjLDcoTqwWY/LMKSw+h8RQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740535114; c=relaxed/simple; bh=4kmAbWOv12xS6ItAmZGtc5Knzj5yxwI5XJMmPYOLkok=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jCAy+Vl72SYPS6sWXbW0o/sHyPnkw/oNuBMqIGKMvYUYj/L2yqoYKZG79ghDP5dLPY5kBCS7GWrQ/F8tuzBkvZ3o4EQAdi/HdAjV0kslphG32eGVOtLfHUgXm+ZlBwp7caYhP1s5e6lweWNXr0FyjVLkRkr3JkMXtYiVa7781c4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=dMdCyOz/; 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="dMdCyOz/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 42E33C4CEDD; Wed, 26 Feb 2025 01:58:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740535114; bh=4kmAbWOv12xS6ItAmZGtc5Knzj5yxwI5XJMmPYOLkok=; h=From:To:Cc:Subject:Date:Reply-to:From; b=dMdCyOz/+1uCC+oT5KAdgTPlunkKM7V9N06Uo7Qt76oBd3n51u+KWVFCrlD4cvAGp +3V8P1lko24mXKyRRas83uvBKGZ4vsrkhAC3Hi53ft0CXPf+wQP1awVcNW4WXYFEr2 buc8nxGKISI36nJB0J6DN/fq1+zPgDX8yM3dM8AM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49129: mt76: mt7921: fix crash when startup fails. Date: Wed, 26 Feb 2025 02:55:34 +0100 Message-ID: <2025022605-CVE-2022-49129-a098@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=2248; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=4kmAbWOv12xS6ItAmZGtc5Knzj5yxwI5XJMmPYOLkok=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7Smznfiq7nl7G8nMbx5xDp2xquw5cODTDXffj+twNP +x2zinj6YhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJ8GkyLLh2elJuz4bsHVty ZmpXtj9yZWjUVmRYcOapK+8Cv3N+R4xnige/VwiPqOSQAAA= 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: mt76: mt7921: fix crash when startup fails. If the nic fails to start, it is possible that the reset_work has already been scheduled. Ensure the work item is canceled so we do not have use-after-free crash in case cleanup is called before the work item is executed. This fixes crash on my x86_64 apu2 when mt7921k radio fails to work. Radio still fails, but OS does not crash. The Linux kernel CVE team has assigned CVE-2022-49129 to this issue. Affected and fixed versions =========================== Fixed in 5.15.34 with commit 38fbe806645090c07aa97171f20fc62c3d7d3a98 Fixed in 5.16.20 with commit c1a5e6002ec441a3b9fb4d048b4b49ae93409a46 Fixed in 5.17.3 with commit ac1260b661c2ef0d0a56680cdb5672b931b7be8f Fixed in 5.18 with commit 827e7799c61b978fbc2cc9dac66cb62401b2b3f0 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-49129 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/main.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/38fbe806645090c07aa97171f20fc62c3d7d3a98 https://git.kernel.org/stable/c/c1a5e6002ec441a3b9fb4d048b4b49ae93409a46 https://git.kernel.org/stable/c/ac1260b661c2ef0d0a56680cdb5672b931b7be8f https://git.kernel.org/stable/c/827e7799c61b978fbc2cc9dac66cb62401b2b3f0