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 700864683 for ; Thu, 27 Feb 2025 02:08:37 +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=1740622117; cv=none; b=n5UERoWX2Zlb0b6Bdf5D7O6p1bZ83HFoTvLX/wfp7QA5nAyzvxtYu+EL0avVLQKj0jyXBQIcaQvgK5+p5pNW3lK2U6bH/BukEjYBvM00uJu7kOEORPFfzh17BmDRlg2nTugaCyf5iYrtXpnBrGogfWqwcQRaA7BSvplb/Hygd38= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740622117; c=relaxed/simple; bh=GOVCf6u7AvY4u+BZv8Poc8CPKQv2TKReQ8Y+OFiy/rw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=R1HtPQpjwt7saWe8BkP2kB3ziBM17jUmn5fT2NI2pwDoNBmRI8fjkvCruO6CFkLXqV3E2dpg5h9u2AxVNGKqxBtFRMPF+ugIrfEirZ34HWeqroW6yeQGms3l+JGkyJS3FojjCS8nYEtydCtGR/EN2eUuPin9kq922Vcd4xYPvvQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=LF78CCqO; 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="LF78CCqO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 41F1CC4CEE2; Thu, 27 Feb 2025 02:08:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740622117; bh=GOVCf6u7AvY4u+BZv8Poc8CPKQv2TKReQ8Y+OFiy/rw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=LF78CCqOtxzO4rhEdiRdNnZinCHlXu55NDr6DSbtZFSWt/O/TTd9h6fiTAnBQ9Mh0 cXsXQX/nI+/mXTIefFqfBXvB861CtNGtN/hJqtOP611O0IzIpkv2DpFNzsqPfjUmAW 2NRKgz9NPwQAoEOSOc2GxdV/o0wb3wTGsO8bWpH4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-57989: wifi: mt76: mt7925: fix NULL deref check in mt7925_change_vif_links Date: Wed, 26 Feb 2025 18:05:48 -0800 Message-ID: <2025022638-CVE-2024-57989-0a14@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=2132; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=GOVCf6u7AvY4u+BZv8Poc8CPKQv2TKReQ8Y+OFiy/rw=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7TxS5yJ3/udhynuu9tRes7luJHvk1x7vqg+LPhO8LX 1zSn3ogvyOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAm0mHFMIfjRq7r49/fP16S jPX5ukU/2Xpd/V6GBV1ZS+dL+09epzI3rOjicp7p1RyNmgA= 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: mt7925: fix NULL deref check in mt7925_change_vif_links In mt7925_change_vif_links() devm_kzalloc() may return NULL but this returned value is not checked. The Linux kernel CVE team has assigned CVE-2024-57989 to this issue. Affected and fixed versions =========================== Issue introduced in 6.11 with commit 69acd6d910b0c83842bd45c36224d4f8fe59d1d4 and fixed in 6.12.13 with commit 5872530c2862700070223a2c2ea85642bf2f8875 Issue introduced in 6.11 with commit 69acd6d910b0c83842bd45c36224d4f8fe59d1d4 and fixed in 6.13.2 with commit 2f709fe755c16b811ba7339ae4c3ee2c72323d3d Issue introduced in 6.11 with commit 69acd6d910b0c83842bd45c36224d4f8fe59d1d4 and fixed in 6.14-rc1 with commit 5cd0bd815c8a48862a296df9b30e0ea0da14acd3 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-57989 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/mt7925/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/5872530c2862700070223a2c2ea85642bf2f8875 https://git.kernel.org/stable/c/2f709fe755c16b811ba7339ae4c3ee2c72323d3d https://git.kernel.org/stable/c/5cd0bd815c8a48862a296df9b30e0ea0da14acd3