From mboxrd@z Thu Jan 1 00:00:00 1970 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 BB6311494B7 for ; Wed, 3 Apr 2024 14:56:05 +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=1712156165; cv=none; b=fkIsAXLkloR0FF6EJzvYnVoH1ie3amkeov3nMFHkFvBcnUuWyyKIRsNi17sewhN5FjF2OhOgj5Hle9CIojnVBaUW9w+MCK0/qhrn4Pr2U/NLM/lqE+RRtJRjoGPzSwQ63kePY8owzAcx7I9bCsK8PC7xmy8O7H+PHShbtbSYr2U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712156165; c=relaxed/simple; bh=diwEIesc/R9VM18G/1TAh7W2bKHVI0zNYDvVRNwH45o=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=NsjhxSBzbekDuZDr+8HpYoF/jpoimonrVSBd8qRr+31F9QDb3kxnmKNNt1O+aT3hSGMwtKJX78z/7SztD7NvQIiz85/MtFke6QPoTGr0/f6+GYNU7ZJJWIrbVNHpdz4siI4heizbfrvszEuTrOFRTglw027CplHUZTXjYGJ5bwU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=UzRgWNoE; 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="UzRgWNoE" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1CDB8C433F1; Wed, 3 Apr 2024 14:56:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712156165; bh=diwEIesc/R9VM18G/1TAh7W2bKHVI0zNYDvVRNwH45o=; h=From:To:Cc:Subject:Date:Reply-to:From; b=UzRgWNoEahy6NkvNkuDwrDJY+vTUM7KopGYnx5NED4lAtbaD6iGXrAv4bE4qbLqwo CZTP2OThCZXF2cRtuE0RFdg8at9fUmLxD6sr+1Btbx3WbGj+lTZzxXlU4IkZAq4oVv ePbEs9zBjJBwUCZZigxw4qrXTFVrQ3g7fvTUmass= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-26694: wifi: iwlwifi: fix double-free bug Date: Wed, 3 Apr 2024 16:55:45 +0200 Message-ID: <2024040337-CVE-2024-26694-b216@gregkh> X-Mailer: git-send-email 2.44.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=2286; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=diwEIesc/R9VM18G/1TAh7W2bKHVI0zNYDvVRNwH45o=; b=owGbwMvMwCRo6H6F97bub03G02pJDGm8uS/Pno1JkPdmKVfMfbXmsfwOc+tq+y9fu2OPah47O CXvLn9PRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzE7hbD/Lr6eRMWc/yp/pe5 mPl8Skvipo97HzMsuDDl2LTHG6Y4r31zeL7bppKiLebxjQA= 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: fix double-free bug The storage for the TLV PC register data wasn't done like all the other storage in the drv->fw area, which is cleared at the end of deallocation. Therefore, the freeing must also be done differently, explicitly NULL'ing it out after the free, since otherwise there's a nasty double-free bug here if a file fails to load after this has been parsed, and we get another free later (e.g. because no other file exists.) Fix that by adding the missing NULL assignment. The Linux kernel CVE team has assigned CVE-2024-26694 to this issue. Affected and fixed versions =========================== Issue introduced in 6.4 with commit 5e31b3df86ec and fixed in 6.6.18 with commit ab9d4bb9a189 Issue introduced in 6.4 with commit 5e31b3df86ec and fixed in 6.7.6 with commit d24eb9a27bea Issue introduced in 6.4 with commit 5e31b3df86ec and fixed in 6.8 with commit 353d321f63f7 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-26694 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/iwl-drv.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/ab9d4bb9a1892439b3123fc52b19e32b9cdf80ad https://git.kernel.org/stable/c/d24eb9a27bea8fe5237fa71be274391d9d51eff2 https://git.kernel.org/stable/c/353d321f63f7dbfc9ef58498cc732c9fe886a596