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 8EC721EABC4 for ; Mon, 21 Oct 2024 12:03:55 +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=1729512235; cv=none; b=iuTfUIb/VYKmnd0x9v0spf2rUHDvwbv4ELpqECCv5Tf3qx90FhrnRNe15YySJicapNGOUq6UmaM9meQumzklt+a7KY4C+EV25JFNz19JlVrhsiHkoPHtUg0AWlBTGZ+Wfbiu5T/osaXwWWV/1KIrowTArJKS5R875224T+9spAk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729512235; c=relaxed/simple; bh=ixCchLyrJ+53osd2YuEOVdahTV+zqBMZLEG1PGizEOM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jf27FnhSbJLr9wNU2wya5oMAt12uDTbObU76o+vocrVcbRKoVh1BjrO02gCpjC4WU1xCNFa7paOle+6YfwfRCQBYtC9sq8koMXzwyFacpxXaO6sbVqli6pPity1yyqi+AiIeUYwy/a/6q3nYQthsRl56ogisYiC0rjVrg5INoiE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=KwAHaJIA; 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="KwAHaJIA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B5237C4CEC3; Mon, 21 Oct 2024 12:03:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729512235; bh=ixCchLyrJ+53osd2YuEOVdahTV+zqBMZLEG1PGizEOM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=KwAHaJIAj5f5Rp1KAvfdhCkdqpc/tkkHVkCZLJJBnD+2kHRri+TV75i2kCB6vbVSQ uXjsLf0XJOmuBvDBJp8qL3BD1ziw/nbIcgn6Ax1+MuaMI55HwRKcyA7Gb4v7lJsnl/ qOujzmb4wXbHzNlgYK9vuLpevlNbISNoRec5sG34= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-47721: wifi: rtw89: remove unused C2H event ID RTW89_MAC_C2H_FUNC_READ_WOW_CAM to prevent out-of-bounds reading Date: Mon, 21 Oct 2024 14:00:49 +0200 Message-ID: <2024102122-CVE-2024-47721-cb0a@gregkh> X-Mailer: git-send-email 2.47.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=2161; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ixCchLyrJ+53osd2YuEOVdahTV+zqBMZLEG1PGizEOM=; b=owGbwMvMwCRo6H6F97bub03G02pJDOliTmEKtfVXjrwWFM3ZmbVXLn+xcFtWDOe5ypevm48t+ 3q7yTGqI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbyU4Fhnp3A6f8TrsyzdTv6 7uann9+LmI/mrWRYMNXhApeKts/2z0zvThw6Wei9rYObBQA= 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: rtw89: remove unused C2H event ID RTW89_MAC_C2H_FUNC_READ_WOW_CAM to prevent out-of-bounds reading The handler of firmware C2H event RTW89_MAC_C2H_FUNC_READ_WOW_CAM isn't implemented, but driver expects number of handlers is NUM_OF_RTW89_MAC_C2H_FUNC_WOW causing out-of-bounds access. Fix it by removing ID. Addresses-Coverity-ID: 1598775 ("Out-of-bounds read") The Linux kernel CVE team has assigned CVE-2024-47721 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit ff53fce5c78b and fixed in 6.10.13 with commit 10463308b945 Issue introduced in 6.10 with commit ff53fce5c78b and fixed in 6.11.2 with commit 2c9c2d1a2091 Issue introduced in 6.10 with commit ff53fce5c78b and fixed in 6.12-rc1 with commit 56310ddb50b1 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-47721 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/realtek/rtw89/mac.h 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/10463308b9454f534d03300cf679bc4b3d078f46 https://git.kernel.org/stable/c/2c9c2d1a20916589497a7facbea3e82cabec4ab8 https://git.kernel.org/stable/c/56310ddb50b190b3390fdc974aec455d0a516bd2