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 52C9780633 for ; Mon, 29 Jul 2024 17:40:17 +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=1722274817; cv=none; b=bWmnda+rDl8/nstVWxaK5ds9l2HMbngRpfd62eHXj089C/1XTa+rT0zaG74sEC0/WDYFRpE7FHz1C3BcrHKHAPzdTfOjW7AWxRNbgvG0jM979+UfqWn8vVny8qAviMmBLSI6UTaqsVTAcA3+KtyyqnguOhYSSe65jBitx3zzh88= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722274817; c=relaxed/simple; bh=qjB4dDJNnXd7xFDx8LUDTzLUENbU/pWwtP4nM+Te+/Y=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=m5D2vl7q3EGXIgDkf/DJ5BiTmxEIuqOzm1OY/yVwDjTroCRxr97M2oz/OLLLgLkDsWoSPMtDwsDLyityCNi5XLi+b9XyryVbeqS39OMEVfdmADbslxL0kDKYJQSpsITDzpCM5J16YAJaJMJp72H9w0K7CL83eB3m9YJEDjF++VI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=SxYtAR79; 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="SxYtAR79" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5F837C32786; Mon, 29 Jul 2024 17:40:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1722274816; bh=qjB4dDJNnXd7xFDx8LUDTzLUENbU/pWwtP4nM+Te+/Y=; h=From:To:Cc:Subject:Date:Reply-to:From; b=SxYtAR79GZFI6LxUyWPDt78q8IFRmaWR+/5x6bwxVrbPjUlIuY29gf/cGxl0BNELJ dWdf4kjc7gGdKz6QO1zV1NmfYOT6j4M0pLY6F5csydNSGLAbXpr2n82cpEOGLrMVzE +01l98j7LISRV4sWwkkxB2yadcvDSu+uf+6Mjelw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-42094: net/iucv: Avoid explicit cpumask var allocation on stack Date: Mon, 29 Jul 2024 19:40:12 +0200 Message-ID: <2024072911-CVE-2024-42094-135f@gregkh> X-Mailer: git-send-email 2.45.2 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=2610; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=qjB4dDJNnXd7xFDx8LUDTzLUENbU/pWwtP4nM+Te+/Y=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnLL/8WmbSsl3lj2e3zTS1fRBp35hjOmmSyZcU68eiK3 fujYhoWdcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBE0hMYFkz7YxHkZsGacDFL TqT5fOgX97RZRQzzNJM2/tMomfnXYLJxWEaC56cv9V77AA== 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: net/iucv: Avoid explicit cpumask var allocation on stack For CONFIG_CPUMASK_OFFSTACK=y kernel, explicit allocation of cpumask variable on stack is not recommended since it can cause potential stack overflow. Instead, kernel code should always use *cpumask_var API(s) to allocate cpumask var in config-neutral way, leaving allocation strategy to CONFIG_CPUMASK_OFFSTACK. Use *cpumask_var API(s) to address it. The Linux kernel CVE team has assigned CVE-2024-42094 to this issue. Affected and fixed versions =========================== Fixed in 4.19.317 with commit 2b085521be52 Fixed in 5.4.279 with commit 842afb47d845 Fixed in 5.10.221 with commit 9dadab0db7d9 Fixed in 5.15.162 with commit 0af718a690ac Fixed in 6.1.97 with commit d85ca8179a54 Fixed in 6.6.37 with commit 724e7965af05 Fixed in 6.9.8 with commit 2d090c7f7be3 Fixed in 6.10 with commit be4e1304419c 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-42094 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/iucv/iucv.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/2b085521be5292016097b5e7ca81b26be3f7098d https://git.kernel.org/stable/c/842afb47d84536fc976fece8fb6c54bea711ad1a https://git.kernel.org/stable/c/9dadab0db7d904413ea1cdaa13f127da05c31e71 https://git.kernel.org/stable/c/0af718a690acc089aa1bbb95a93df833d864ef53 https://git.kernel.org/stable/c/d85ca8179a54ff8cf1e1f8c3c9e3799831319bae https://git.kernel.org/stable/c/724e7965af054079242b8d6f7e50ee226730a756 https://git.kernel.org/stable/c/2d090c7f7be3b26fcb80ac04d08a4a8062b1d959 https://git.kernel.org/stable/c/be4e1304419c99a164b4c0e101c7c2a756b635b9