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 67DC5C125 for ; Sun, 19 May 2024 11:14:59 +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=1716117299; cv=none; b=ZQEpLcM43cxAZjj/LivJCKxPDSJ69gff6p+f3x6xfMH2oUREEmCIG+SisgKDn8IOwg0izvX2jvQn5ctWwCRHJPSa3lrYN7RUsCWQNEOOE4rDxrXtdb09nW3l6vyl7vQp7CBWLvXW3uce6BJQQuvmLMhnE/iQNddCtkrYcxq9a54= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716117299; c=relaxed/simple; bh=EWUBcyCV7B4iZ2/suu4CjkYLIqsubgZmw1Al5/po3D0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=tJIN2tGLfDBUPam/COdvuDHCFELoMy1mwVQnrxkqIlDCQGfzX7nRy9uWvYP65nBanaEOpYeJoB9Pbqn/0/nTtF4kCR3DV7Xlik6paHVu9nMcGWN0SqAhwhdxTS03UBXRl+nGlt8Tzbb2+WUIIXH/R8o3hxZFDbaiq4LS7QJY0S4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=WymmaPz5; 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="WymmaPz5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 956B9C32781; Sun, 19 May 2024 11:14:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716117299; bh=EWUBcyCV7B4iZ2/suu4CjkYLIqsubgZmw1Al5/po3D0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=WymmaPz5Q2CWxpZpYr3HjKKxqGauOhAYkGwsKuJgDdej/Iw1nPzaFwQMsrnva+9V3 /Yn4mpWB90RCUbJXxvqSRcAegVDBen6IbsHHJlmh99lYGDqYmcVIuwZ53n6nUMVTCN P24wyYqc3/1gBNuzeIIoJSuifM10ZI6lYeZ0whNo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-35947: dyndbg: fix old BUG_ON in >control parser Date: Sun, 19 May 2024 13:14:53 +0200 Message-ID: <2024051952-CVE-2024-35947-09bb@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=2391; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=EWUBcyCV7B4iZ2/suu4CjkYLIqsubgZmw1Al5/po3D0=; b=owGbwMvMwCRo6H6F97bub03G02pJDGme93VKwm/4TJzOprlW+MrBL7fnG5W+N62Krpdcvv3cg Udhk/VYOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi68QYFvQtrZxXUFz3bLLv rvayGwsnXnR0vsgwT3/7lntFc8IZTLYdl+UreHLC6162LQA= 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: dyndbg: fix old BUG_ON in >control parser Fix a BUG_ON from 2009. Even if it looks "unreachable" (I didn't really look), lets make sure by removing it, doing pr_err and return -EINVAL instead. The Linux kernel CVE team has assigned CVE-2024-35947 to this issue. Affected and fixed versions =========================== Fixed in 4.19.314 with commit 3c718bddddca Fixed in 5.4.276 with commit 343081c21e56 Fixed in 5.10.217 with commit 41d8ac238ab1 Fixed in 5.15.159 with commit ba3c118cff7b Fixed in 6.1.91 with commit a66c869b17c4 Fixed in 6.6.31 with commit a69e1bdd777c Fixed in 6.8.10 with commit 529e18527855 Fixed in 6.9 with commit 00e7d3bea2ce 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-35947 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: lib/dynamic_debug.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/3c718bddddca9cbef177ac475b94c5c91147fb38 https://git.kernel.org/stable/c/343081c21e56bd6690d342e2f5ae8c00183bf081 https://git.kernel.org/stable/c/41d8ac238ab1cab01a8c71798d61903304f4e79b https://git.kernel.org/stable/c/ba3c118cff7bcb0fe6aa84ae1f9080d50e31c561 https://git.kernel.org/stable/c/a66c869b17c4c4dcf81d273b02cb0efe88e127ab https://git.kernel.org/stable/c/a69e1bdd777ce51061111dc419801e8a2fd241cc https://git.kernel.org/stable/c/529e1852785599160415e964ca322ee7add7aef0 https://git.kernel.org/stable/c/00e7d3bea2ce7dac7bee1cf501fb071fd0ea8f6c