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 9BA7F1F7062 for ; Mon, 21 Oct 2024 12:19:31 +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=1729513171; cv=none; b=VxY9pAFxKJVzTYc2LY1cCcGrcYNztEqFPMo3oVAPLNwdVV2FAcdc1PSDOyJpc953ae7TEWNIupNzBWoShQpfR0OiwaJ8Cy841V2KYin9NK7xtH1MSbPrEPThuXd/bOMN68uyxv/MAhPrrj+Kf35lU0Jde2RR9kWQFH7x1PDEWdg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729513171; c=relaxed/simple; bh=aSWmLoQp0+/FLfFOzSooWq0rLuI1212He9PgryvaaTw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XxHPHhMUVOdUopqMWnoVK+DY8bZWPIuwPLi7Wni0qgKrqtSErX0ikSr7ePAV7V9kMp4wIoBwqk5hx8PwoNJstB3evfsWA1MTY6X6KM4ywBteCgRRc6HuCRdi6ODYF5e7VHli6cJ0aL17B4x5MuMoN6kqUQrZoUrF91YUnqvb1K0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ntpIjF01; 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="ntpIjF01" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 05475C4CEE4; Mon, 21 Oct 2024 12:19:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729513171; bh=aSWmLoQp0+/FLfFOzSooWq0rLuI1212He9PgryvaaTw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ntpIjF01UC2e9Bo6dKKlpHlSvH8E8C9FHwuaXETLNHf7SV+4K/6e760/sXIfYWbyD 2WSGh7vujM5M9zqtYGyoVA0cqSb4N2rVgcdXt/KiuXMKgQC0ZvRHiP6+jRz2wtWzej Tz7Bb4DPzvSNy3C6oAojVWUTkLzSiE6BUZrVx0pE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-49857: wifi: iwlwifi: mvm: set the cipher for secured NDP ranging Date: Mon, 21 Oct 2024 14:18:59 +0200 Message-ID: <2024102154-CVE-2024-49857-7233@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=1874; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=aSWmLoQp0+/FLfFOzSooWq0rLuI1212He9PgryvaaTw=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlibus6Xqlqp9fvVwn6KNFv/7E1/3Liyb/u6g7XOjJKn j9gefe2I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZi384wT9N8nsj3T9WN80oa tgf4Tjy7Rz2pmWHBtne9fvv9Vz5uiY97/m3Gghs6lxLvAAA= 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: set the cipher for secured NDP ranging The cipher pointer is not set, but is derefereced trying to set its content, which leads to a NULL pointer dereference. Fix it by pointing to the cipher parameter before dereferencing. The Linux kernel CVE team has assigned CVE-2024-49857 to this issue. Affected and fixed versions =========================== Issue introduced in 6.11 with commit 626be4bf99f6 and fixed in 6.11.2 with commit b3322a6d6aa9 Issue introduced in 6.11 with commit 626be4bf99f6 and fixed in 6.12-rc1 with commit a949075d4bbf 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-49857 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/ftm-initiator.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/b3322a6d6aa9bc17b395c4b38d3b97578887aa8a https://git.kernel.org/stable/c/a949075d4bbf1ca83ccdeaa6ef4ac2ce7526c5f4