From mboxrd@z Thu Jan 1 00:00:00 1970 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 152CC145B2D for ; Sat, 17 Aug 2024 09:11:54 +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=1723885914; cv=none; b=hDl3LNnVqBBIPAcQsQ6ZNF5+IxCRGcYpMWFovMWfHLOCPMp8ZvS2ZLADpUT7lfELR1k47cZb6xq9n/Whs9e2veS4C9xjiVNe7N4NspyLP7VCxiILF4uTGOE08vC0yAWHpT2+POi0WzO3Y7bRmK4d5kaiwcKiit5FTKHOBzXG18U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723885914; c=relaxed/simple; bh=uJ1ELOS/uVZ0atn1NgID0S4nFXg33Yv/6+RMpVtL9RE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=uwpvosv48d4aUvT+C26/8/+2LD8r4AcvffH35Gl7/iuj4md5wA7/5vZa1u1frQiY82pC0ecjGE8C23bYJ0zNlk53bG20o0VqqxzQWbKggVigqnmFXcni3L+jeEWOM84lpn38LNstqF6xK0Yux0naVtZFEyS2O2TWmJwysSEkCdo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=zwUJrlih; 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="zwUJrlih" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8F603C116B1; Sat, 17 Aug 2024 09:11:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1723885914; bh=uJ1ELOS/uVZ0atn1NgID0S4nFXg33Yv/6+RMpVtL9RE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=zwUJrlihgpqgNHZ8vGoH69UKMWEzw/tnv5Lerz1HyBcIrLjbvuDAt6S+owVgps3bP 6zuk3UfCko9n8vgghRpJ3+vRMdjPj1ZGyyZAd3wBix/rmg9A7FYnmF00HA7jwe/j7n qELRnyAihOKyR84UiQYsXmvioqpcfIOd5NSkcFGk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-42284: tipc: Return non-zero value from tipc_udp_addr2str() on error Date: Sat, 17 Aug 2024 11:09:49 +0200 Message-ID: <2024081743-CVE-2024-42284-bbfa@gregkh> X-Mailer: git-send-email 2.46.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=2218; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=uJ1ELOS/uVZ0atn1NgID0S4nFXg33Yv/6+RMpVtL9RE=; b=owGbwMvMwCRo6H6F97bub03G02pJDGkHMm7cKiyok4pjyJ+bc151wr+Hn264Z348rBO/+0qZo sSjBdpTO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAizT4M84uUQn7tbp365EOb 6JPPyXLnDu9vn8ywYGt8zbmYWLFrokwBU9IndD7pY2dYBgA= 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: tipc: Return non-zero value from tipc_udp_addr2str() on error tipc_udp_addr2str() should return non-zero value if the UDP media address is invalid. Otherwise, a buffer overflow access can occur in tipc_media_addr_printf(). Fix this by returning 1 on an invalid UDP media address. The Linux kernel CVE team has assigned CVE-2024-42284 to this issue. Affected and fixed versions =========================== Issue introduced in 4.1 with commit d0f91938bede and fixed in 6.1.103 with commit 728734352743 Issue introduced in 4.1 with commit d0f91938bede and fixed in 6.6.44 with commit 76ddf84a52f0 Issue introduced in 4.1 with commit d0f91938bede and fixed in 6.10.3 with commit 2abe350db1aa Issue introduced in 4.1 with commit d0f91938bede and fixed in 6.11-rc1 with commit fa96c6baef1b 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-42284 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/tipc/udp_media.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/728734352743a78b4c5a7285b282127696a4a813 https://git.kernel.org/stable/c/76ddf84a52f0d8ec3f5db6ccce08faf202a17d28 https://git.kernel.org/stable/c/2abe350db1aa599eeebc6892237d0bce0f1de62a https://git.kernel.org/stable/c/fa96c6baef1b5385e2f0c0677b32b3839e716076