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 E673D2116E9 for ; Thu, 6 Mar 2025 15:54:35 +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=1741276476; cv=none; b=DZgBicVibXYYuhwyPz8pSU7qZgRYBEbYrQr68djSqMuPM8dq96eRIm14T3Eo+k3gq2IlTM79empzE2mnwPIEi2TLFagDJVTf3CEnxnqt/ck4Sa3iY1+3nwATna8kCUU/YNWIel2kReBrRyCcgYfg6PrXJgDxR2636lCqssIlbiM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741276476; c=relaxed/simple; bh=s5S5EThNL3g3BdVwy3x4IZCPYohCHLR36WjPKmAvPvo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=KCY7fgz7mUtZGpfpJHCol6/usGVnpYBxf35WRF+wRhJlT8qinR1vEMuSwg2xd++82O4MpJ+NvUVZ9KTHAhRaVwg5Xp6Z0CPuDY6kWukOEcyeQhGiRrEy8mBeFYpatDwZux0RIv2huTsFfQqXAxZpiN9WkVw+m5Awm7hQ99X5buc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=JmgOWEcT; 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="JmgOWEcT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3D77AC4CEE0; Thu, 6 Mar 2025 15:54:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1741276475; bh=s5S5EThNL3g3BdVwy3x4IZCPYohCHLR36WjPKmAvPvo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=JmgOWEcT5Djpyrv2i7hycBL1bmmf8Sugl2jXd57yjx9ba5vIxJU5AI47J7jkYVmWj Uggku1onYoJ3w2LUlpaJiD/zUKIxAj8Cmi0Xac1bRKEIzmsfOWU9A+l7LTniNCTlFZ UZrKlleZ+4dGoOFMSSPDouqZRk8cllyqKW64CdSo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-58064: wifi: cfg80211: tests: Fix potential NULL dereference in test_cfg80211_parse_colocated_ap() Date: Thu, 6 Mar 2025 16:54:17 +0100 Message-ID: <2025030609-CVE-2024-58064-6aa6@gregkh> X-Mailer: git-send-email 2.48.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=2156; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=s5S5EThNL3g3BdVwy3x4IZCPYohCHLR36WjPKmAvPvo=; b=owGbwMvMwCRo6H6F97bub03G02pJDOknjyru3idw8HqdeMcB0QsLVO9ucZhk9Ux8/s23VZds3 5WWO/0+2hHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATia1jWLDpZl3+pB8T7usG rzJj1z1p2uXOvYVhwRSN6ijRR7xWxTe0byuerwrkPPOhAwA= 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: cfg80211: tests: Fix potential NULL dereference in test_cfg80211_parse_colocated_ap() kunit_kzalloc() may return NULL, dereferencing it without NULL check may lead to NULL dereference. Add a NULL check for ies. The Linux kernel CVE team has assigned CVE-2024-58064 to this issue. Affected and fixed versions =========================== Issue introduced in 6.9 with commit 45d43937a44c806b8649323b8f5d9f42ae838b0e and fixed in 6.12.13 with commit 886271409603956edd09df229dde7442c410a872 Issue introduced in 6.9 with commit 45d43937a44c806b8649323b8f5d9f42ae838b0e and fixed in 6.13.2 with commit 0d17d81143f5aa56ee87e60bb1000a2372a0ada8 Issue introduced in 6.9 with commit 45d43937a44c806b8649323b8f5d9f42ae838b0e and fixed in 6.14-rc1 with commit 13c4f7714c6a1ecf748a2f22099447c14fe6ed8c 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-58064 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: net/wireless/tests/scan.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/886271409603956edd09df229dde7442c410a872 https://git.kernel.org/stable/c/0d17d81143f5aa56ee87e60bb1000a2372a0ada8 https://git.kernel.org/stable/c/13c4f7714c6a1ecf748a2f22099447c14fe6ed8c