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 06A3C18B48B for ; Fri, 27 Sep 2024 12:44:31 +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=1727441072; cv=none; b=pQt/8Q5HbjpCf+z+svBPC+iFFYFF8C44HsawayTtuWfPyQRDpmMr/SjWZe4yflooZpAZzG4efaZwmecGy6Tf1NSlsx/lqdKtkC6H+S1Q0oWyFb/hRh9aFGbtZrXLOYzAzyh6QPq416F8u1n7wqgtfM2m3VmZSUlygXKQ4KtUIMk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727441072; c=relaxed/simple; bh=9rkbWRq5BS4Wcs0rNC/trMMelhq2OWDqE4suH5KKIAU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=t/aJBifKn8Dg89hwXmpU5zstpMWlAWMLc6b/ZN2O/WLMkJzSRarnKDeumkMIOm/RN3TNyBICgtlEEDs/JxXDYzcNrYggX5k/BOqI9+n8zZ3662YfJ7QEHPsBGzUXsKf3rRKdJB4Q5BTXVqtqb+79m9jBVW8w96MoF7gS23Hu3Xo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CBIyxHoM; 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="CBIyxHoM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AD806C4CEC4; Fri, 27 Sep 2024 12:44:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1727441071; bh=9rkbWRq5BS4Wcs0rNC/trMMelhq2OWDqE4suH5KKIAU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=CBIyxHoMAFqhL5T0P4XnP5cSH7mLzV4dwDKcfuFvw7j5QVdUkSk38apFXPnHJf8C9 OMhZ5W0E+L+t/pUcwdxjYOWJ+q/ZfY/lb7MeyF07+GQ1HskOy9gxlm7hssDYUj4nkb 23Qp0rm05zXvWfDrK2DotOJ10u0/Bk+2KbG1BYVQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-46854: net: dpaa: Pad packets to ETH_ZLEN Date: Fri, 27 Sep 2024 14:43:47 +0200 Message-ID: <2024092743-CVE-2024-46854-3404@gregkh> X-Mailer: git-send-email 2.46.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=2262; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=9rkbWRq5BS4Wcs0rNC/trMMelhq2OWDqE4suH5KKIAU=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnfVtT3fni5sYOZ0dpgY/qc2VcCNZlyl1mtNkzZGZ01z /6Lc2p7RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEwkPp1hvjdDq8w9ecYzbJ48 v487LguLnfP9K8OCaQuvq2hOiOpfaCSrceRu+/4dTstfAgA= 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: dpaa: Pad packets to ETH_ZLEN When sending packets under 60 bytes, up to three bytes of the buffer following the data may be leaked. Avoid this by extending all packets to ETH_ZLEN, ensuring nothing is leaked in the padding. This bug can be reproduced by running $ ping -s 11 destination The Linux kernel CVE team has assigned CVE-2024-46854 to this issue. Affected and fixed versions =========================== Issue introduced in 4.10 with commit 9ad1a3749333 and fixed in 6.1.111 with commit f43190e33224 Issue introduced in 4.10 with commit 9ad1a3749333 and fixed in 6.6.52 with commit 34fcac26216c Issue introduced in 4.10 with commit 9ad1a3749333 and fixed in 6.10.11 with commit ce8eabc912fe Issue introduced in 4.10 with commit 9ad1a3749333 and fixed in 6.11 with commit cbd7ec083413 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-46854 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: drivers/net/ethernet/freescale/dpaa/dpaa_eth.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/f43190e33224c49e1c7ebbc25923ff400d87ec00 https://git.kernel.org/stable/c/34fcac26216ce17886af3eb392355b459367af1a https://git.kernel.org/stable/c/ce8eabc912fe9b9a62be1a5c6af5ad2196e90fc2 https://git.kernel.org/stable/c/cbd7ec083413c6a2e0c326d49e24ec7d12c7a9e0