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 3730679F6 for ; Fri, 17 May 2024 14:40:25 +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=1715956825; cv=none; b=f7eAnic+Dvf2yg8RbQZx5gD9xzo2c9ddQ1M4eyyITQKZ+PagNL1phJ+sgtbmiozhvg/JSqSwFMsEp1nQz9CDYdDztxGkxQjjcFvoSUhLn3f3wMMeycPlMOtAJMtDTDsIUIoa8CWxc1bFVGw+jbc9zfSTRS/mc/I6bkr9rebaCfo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715956825; c=relaxed/simple; bh=9hALLsZjgtc3xpcKIW2xYgafWRherBnUtJJnvS4pbj4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tSeAQkuCc11zR4fw3G3KgIQNHEMQRk5wK0n6zyuN84ntftzwSUdrF8pcJXe/yeW8jW8/XsFToRfJn9x0IsUktK31KT/Doxg+xwo+Y0e4VQGz7Ufk5sPEk/RgSVLgMfv+fzNjftiV8EabhNSYg3dYEToZW18VZhkDS9mSmm+g59w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=BGfcMpmX; 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="BGfcMpmX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A3AE0C2BD10; Fri, 17 May 2024 14:40:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1715956825; bh=9hALLsZjgtc3xpcKIW2xYgafWRherBnUtJJnvS4pbj4=; h=From:To:Cc:Subject:Date:Reply-to:From; b=BGfcMpmXDWkNKSSMGXN6kNQTvEzNSyv5Q/lfJkPbJEbKYYd+ExMi1PVJDQV8bWBBd c36nwnJVzbP4zTaEIdjzGl4m/Nt1IxA1FTEtbdTI7O6jO/oXt2RjvB1RN8beNHTezn u+x25pIn9U46i52P+wYTAX8ZYgrrSR3SG1bvddUw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-35845: wifi: iwlwifi: dbg-tlv: ensure NUL termination Date: Fri, 17 May 2024 16:40:20 +0200 Message-ID: <2024051718-CVE-2024-35845-65bd@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=2642; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=9hALLsZjgtc3xpcKIW2xYgafWRherBnUtJJnvS4pbj4=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnuOUETGLa/+fi4SeRkUGZ2Qe22Nxu8Vt1MnJb4WCvT0 2Ny7IOvHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRokCGecYX72xY6cRyfdPE QiffdVNsTcT0/jLMD9cvq53kYX/w1lUhnt9PBNa5Ved4AwA= 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: dbg-tlv: ensure NUL termination The iwl_fw_ini_debug_info_tlv is used as a string, so we must ensure the string is terminated correctly before using it. The Linux kernel CVE team has assigned CVE-2024-35845 to this issue. Affected and fixed versions =========================== Issue introduced in 5.5 with commit a9248de42464 and fixed in 5.10.214 with commit fabe2db7de32 Issue introduced in 5.5 with commit a9248de42464 and fixed in 5.15.153 with commit 96aa40761673 Issue introduced in 5.5 with commit a9248de42464 and fixed in 6.1.83 with commit c855a1a5b7e3 Issue introduced in 5.5 with commit a9248de42464 and fixed in 6.6.23 with commit 783d413f332a Issue introduced in 5.5 with commit a9248de42464 and fixed in 6.7.11 with commit fec14d1cdd92 Issue introduced in 5.5 with commit a9248de42464 and fixed in 6.8.2 with commit 71d4186d470e Issue introduced in 5.5 with commit a9248de42464 and fixed in 6.9 with commit ea1d166fae14 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-35845 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-dbg-tlv.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/fabe2db7de32a881e437ee69db32e0de785a6209 https://git.kernel.org/stable/c/96aa40761673da045a7774f874487cdb50c6a2f7 https://git.kernel.org/stable/c/c855a1a5b7e3de57e6b1b29563113d5e3bfdb89a https://git.kernel.org/stable/c/783d413f332a3ebec916664b366c28f58147f82c https://git.kernel.org/stable/c/fec14d1cdd92f340b9ba2bd220abf96f9609f2a9 https://git.kernel.org/stable/c/71d4186d470e9cda7cd1a0921b4afda737c6f641 https://git.kernel.org/stable/c/ea1d166fae14e05d49ffb0ea9fcd4658f8d3dcea