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 5FE83275854 for ; Wed, 1 Oct 2025 07:55:24 +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=1759305325; cv=none; b=f50UsShJF1BGYMiLN9dMB7+ghMC7ZKI+VJa5Xm1AXR85gPDNGupoGaU50D7SXT0rBwavtEfe4jfAYulcjt3G/DwcUttwjhw4lZeubceabusQGk9WAkERqpX2K1xu5ehLd1dZJM8QFbpZxln8Nn0KEMSzIQlGBSVsWIpVZAvXFtM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759305325; c=relaxed/simple; bh=1f5mLeZc081mjKAU/raS7CfvAXDvYGc1W+K1Df631Xk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=QkfiM7lrKHTGZC9EsytkRrRXwhGjsaiyFQ99lWI3RIzQzWm4Mf0bemv0JFALztOb5KLzENEwGUCvUZpFILO8t6pij0x8EdhOnc3yr+LDFJhAhZ8B4s4i5fYteBjQb5AI4WbWbCo6aY5gLOd5CGq4BMnP1f+YH000pJGl2IzBE0o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=knJxVvr0; 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="knJxVvr0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5036BC16AAE; Wed, 1 Oct 2025 07:55:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759305324; bh=1f5mLeZc081mjKAU/raS7CfvAXDvYGc1W+K1Df631Xk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=knJxVvr0f2opvXCnc6hRaVbn0Z33A2PUnuVFkvqPidDtplHDGC5OKokoAB0n1kRDs PUqae+4yQnS5/iaOpNnKl44UYJLBAyzoilC6x8YznivIfWAOso2l3vEX008cL1nOS6 sjqB89ZtKh4ft/ao/bzVkn66zy3AnpPjqX/A7LKs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-39919: wifi: mt76: mt7996: add missing check for rx wcid entries Date: Wed, 1 Oct 2025 09:55:21 +0200 Message-ID: <2025100119-CVE-2025-39919-b28a@gregkh> X-Mailer: git-send-email 2.51.0 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=2013; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=eE6E0ZaTqAtOLJtOReXgV43yTw/zLo2PWfrvwTQj1p0=; b=owGbwMvMwCRo6H6F97bub03G02pJDBl37qVvN959PTuH5ULd8mlyxT/mRzEnOK+9Py3q/qYTN x71dtUc7ohlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJdPAwzGR8uCjxoVy0wIJ/ t1euv62eltQ0pY5hftBykU9pBjPd3UvjHS4aTZYITr6aBQA= 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: mt7996: add missing check for rx wcid entries Non-station wcid entries must not be passed to the rx functions. In case of the global wcid entry, it could even lead to corruption in the wcid array due to pointer being casted to struct mt7996_sta_link using container_of. The Linux kernel CVE team has assigned CVE-2025-39919 to this issue. Affected and fixed versions =========================== Issue introduced in 6.15 with commit 7464b12b7d92b9641d4664735b9f3c3f0b6173d9 and fixed in 6.16.6 with commit 69dcc19048fcdc3fb166fd25b805470ee8fc0eb1 Issue introduced in 6.15 with commit 7464b12b7d92b9641d4664735b9f3c3f0b6173d9 and fixed in 6.17 with commit 4a522b01e368eec58d182ecc47d24f49a39e440d 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-2025-39919 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/mt7996/mac.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/69dcc19048fcdc3fb166fd25b805470ee8fc0eb1 https://git.kernel.org/stable/c/4a522b01e368eec58d182ecc47d24f49a39e440d