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 A090710F7 for ; Sun, 19 May 2024 08:38:02 +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=1716107882; cv=none; b=jk5TrJfX86IKj37rv7psNKeDnAhQaE2Ug9gR0R8BVMo8JZMX3XUr3+fPoPUXP4Fy1x9+t4susXZoSLRNEd1RjROtrQAIa7dztCq4eBuyow8i/9luElkQtHNUw82tuJbPN9JLzfQ7TicPJCenKyMTWTI5jnAPhWf7zLIkWwN0xJg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716107882; c=relaxed/simple; bh=LkafumfaxYEwGartkJ0lWUOuLOJlfqjMYkbzH45wlbY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=PxKE74/aS6Yss94jzut+RBrJE8ZK6hf4uATtnh6mYJt9Ykr0dmzWXEVotgzVwNmrh6MfqaZyKuBBVi+5gZm5emOpS8qLo5m3JGI2hjoqTxysritrPwf+taw7k8jpVSdbyf9Wuy2YzWv/d4nAJ2GLVmmZoWx+L6aV0jqQZvHzNFk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=LvRtfwdR; 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="LvRtfwdR" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0DB85C32781; Sun, 19 May 2024 08:38:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716107882; bh=LkafumfaxYEwGartkJ0lWUOuLOJlfqjMYkbzH45wlbY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=LvRtfwdR4tBN4L0IiJRvlH9bBKqL5cubBS+we4tiPQONo+7gD7vpi1G/s3+eW467C sGgj9JVMqZFp02QtjYKfxi5V2jnV5ic7dSnJr/9SJ3HMGSS0mTRPxbIUvbTW/Ozxt/ 6wcW8PU22PWGyP7JO5XvE7H4dEMQXZPEAg7nGccw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-35912: wifi: iwlwifi: mvm: rfi: fix potential response leaks Date: Sun, 19 May 2024 10:35:26 +0200 Message-ID: <2024051956-CVE-2024-35912-b093@gregkh> X-Mailer: git-send-email 2.45.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=2300; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=LkafumfaxYEwGartkJ0lWUOuLOJlfqjMYkbzH45wlbY=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmeOzdEf3t3KC/lrf3afadtrh6InCK42HLjepsLJnPbP CJ3fRBf0hHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATuaTHMD+5zaPodsLK/S3b 8p+GTb4k/sWNJYlhwcovcgx7V6fm/LeTbRH/n3V2keP3RwA= 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: iwlwifi: mvm: rfi: fix potential response leaks If the rx payload length check fails, or if kmemdup() fails, we still need to free the command response. Fix that. The Linux kernel CVE team has assigned CVE-2024-35912 to this issue. Affected and fixed versions =========================== Issue introduced in 5.12 with commit 21254908cbe9 and fixed in 5.15.154 with commit 28db0ae86cb9 Issue introduced in 5.12 with commit 21254908cbe9 and fixed in 6.1.85 with commit 99a75d750074 Issue introduced in 5.12 with commit 21254908cbe9 and fixed in 6.6.26 with commit c0a40f2f8eba Issue introduced in 5.12 with commit 21254908cbe9 and fixed in 6.8.5 with commit f7f0e784894d Issue introduced in 5.12 with commit 21254908cbe9 and fixed in 6.9 with commit 06a093807eb7 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-35912 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/intel/iwlwifi/mvm/rfi.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/28db0ae86cb91a4ab0e855cff779daead936b7d5 https://git.kernel.org/stable/c/99a75d75007421d8e08ba139e24f77395cd08f62 https://git.kernel.org/stable/c/c0a40f2f8eba07416f695ffe2011bf3f8b0b6dc8 https://git.kernel.org/stable/c/f7f0e784894dfcb265f0f9fa499103b0ca7eabde https://git.kernel.org/stable/c/06a093807eb7b5c5b29b6cff49f8174a4e702341