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 AB90515530F for ; Mon, 6 Jan 2025 16:21:36 +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=1736180496; cv=none; b=i6Sv7Wog49geuMVC/k7pZV/3hRiynJOWFLH1xdRUO5A7uKlWqlbmz/wJ7J/9j1r9GI3VdqxZeQfgMxSAjAdrAvXLm/ryfsro/tK2pK5Ik30PoNs6iBDIqEt6lV7PcGD7+lasQeTz4RqqH5ZBL1HusOQvtj38QEa5nk7F153oJJ0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736180496; c=relaxed/simple; bh=+H9vVXALKikwxMLpLxc93fDYQkn0IXVzXvjAmvYT1uw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=j47c8BeD8MkWidA+LtbEoQvPk78wz6HE/lgQb6ufvoBmO8+lXqqNDuadKYnbIp1vATZRr5lFL1T6RcajCs30vp6+F5Y9X6UEEkjolD1FA82E+DIeKjWOn7nD1PHk2rfY9GlsaPAdcYB8pueyqbbJbYpML4BeTIk4gdGZGIbVTH4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=iRq87alk; 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="iRq87alk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DB50CC4CED2; Mon, 6 Jan 2025 16:21:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1736180496; bh=+H9vVXALKikwxMLpLxc93fDYQkn0IXVzXvjAmvYT1uw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=iRq87alk1Zr+9v9V1jf8v1W/kiZyd3+cYLaAef5TADrwnveJJlb6gqzDLbFM7dZyV 5JRDdu5gjn67O6A6Ifbljw9xrYOzNBTCKob4H0zLkVvBMfcUZ4H8okzzuknzpyx7d0 hzuStYZA6EBLz1aiW1buLUWe+wniTE7L5TBaAnvQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-56763: tracing: Prevent bad count for tracing_cpumask_write Date: Mon, 6 Jan 2025 17:20:57 +0100 Message-ID: <2025010655-CVE-2024-56763-17fd@gregkh> X-Mailer: git-send-email 2.47.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=2327; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=+H9vVXALKikwxMLpLxc93fDYQkn0IXVzXvjAmvYT1uw=; b=kA0DAAIRMUfUDdst+ykByyZiAGd8AuehB0UMh50zmIoYz/+qXjVW9E8dF0A86bS9buGaMVzD1 4hdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmd8AucACgkQMUfUDdst+yl/xwCdFULi qDr8u+3fcijaqlaVSr9n+J0AnRTyu82MKbmbjIBeRrclHxCrxPNA 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: tracing: Prevent bad count for tracing_cpumask_write If a large count is provided, it will trigger a warning in bitmap_parse_user. Also check zero for it. The Linux kernel CVE team has assigned CVE-2024-56763 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.29 with commit 9e01c1b74c9531e301c900edaa92a99fcb7738f2 and fixed in 6.1.123 with commit 3d15f4c2449558ffe83b4dba30614ef1cd6937c3 Issue introduced in 2.6.29 with commit 9e01c1b74c9531e301c900edaa92a99fcb7738f2 and fixed in 6.6.69 with commit 03041e474a6a8f1bfd4b96b164bb3165c48fa1a3 Issue introduced in 2.6.29 with commit 9e01c1b74c9531e301c900edaa92a99fcb7738f2 and fixed in 6.12.8 with commit 1cca920af19df5dd91254e5ff35e68e911683706 Issue introduced in 2.6.29 with commit 9e01c1b74c9531e301c900edaa92a99fcb7738f2 and fixed in 6.13-rc5 with commit 98feccbf32cfdde8c722bc4587aaa60ee5ac33f0 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-56763 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: kernel/trace/trace.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/3d15f4c2449558ffe83b4dba30614ef1cd6937c3 https://git.kernel.org/stable/c/03041e474a6a8f1bfd4b96b164bb3165c48fa1a3 https://git.kernel.org/stable/c/1cca920af19df5dd91254e5ff35e68e911683706 https://git.kernel.org/stable/c/98feccbf32cfdde8c722bc4587aaa60ee5ac33f0