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 7793A208B6 for ; Sun, 19 May 2024 08:37:49 +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=1716107869; cv=none; b=ettXJXuOWqDgCaztO2wBUGRyNqNcvkn0+baDdc2Y7NYBQoMakduE5PXDNf/SzyNotL50Psh+fi2xC1/mhwdasIip1eaukkHsPO268YcfdzKGGENfiSS7nUXmjEMv0uM+8lVLd+og21Fwurco3Mum3O42GbPoMggsFrQFQ7V/NLc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716107869; c=relaxed/simple; bh=TkSY1Lea4H71Uo7qlSP8lYVlZ5fYr+tBIeu+owfD+qM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VVSRvT+66CBPDSERfN0aa6jyrFZw3JW/iq9B/t7fqPCtShNxugjmHkYPUnr6X00OKK3V2tjfBqc8PBI76HvmSsOjLyymbuzvM1O7CtqWG1c4GZ3NqWU8m7bdBsqYAzkHeLxj4N48xRZF2AOYj5MvhorBrsFcvK+FUQ34FcLDmCQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=P2FA9x/a; 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="P2FA9x/a" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6AAD1C32781; Sun, 19 May 2024 08:37:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716107869; bh=TkSY1Lea4H71Uo7qlSP8lYVlZ5fYr+tBIeu+owfD+qM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=P2FA9x/agp4j0Om2za4MkpaAtiHA4/1WY7BwbuchHrcNKM7L06l17crmFrxVmU+8b WibM3pLw16HB2oFL91Y/hkjvWTDXyM5mjYw1JIEk07pWzhbFNLvr1Qb5HmgAAkQmTW KXEwOWVn1WOZQjOuK9jk04Ipw7E1rnBe6zKk8B+8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-35889: idpf: fix kernel panic on unknown packet types Date: Sun, 19 May 2024 10:35:03 +0200 Message-ID: <2024051948-CVE-2024-35889-023e@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=2075; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=TkSY1Lea4H71Uo7qlSP8lYVlZ5fYr+tBIeu+owfD+qM=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmeO1fwaASuCK6dtdnEI4xRx4h70aq8mwriUayK4b8Pu UudunmnI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACairsAwh2f68T112lWS+0/O rT/jyXa5KfSXKsNcoSm/i9eqnpxZF1Z94ZHsvYb+3+r/AQ== 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: idpf: fix kernel panic on unknown packet types In the very rare case where a packet type is unknown to the driver, idpf_rx_process_skb_fields would return early without calling eth_type_trans to set the skb protocol / the network layer handler. This is especially problematic if tcpdump is running when such a packet is received, i.e. it would cause a kernel panic. Instead, call eth_type_trans for every single packet, even when the packet type is unknown. The Linux kernel CVE team has assigned CVE-2024-35889 to this issue. Affected and fixed versions =========================== Issue introduced in 6.7 with commit 3a8845af66ed and fixed in 6.8.5 with commit b4d28f7fa4dd Issue introduced in 6.7 with commit 3a8845af66ed and fixed in 6.9 with commit dd19e827d63a 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-35889 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/intel/idpf/idpf_txrx.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/b4d28f7fa4dd531cf503a4fe1ca7008960cc5832 https://git.kernel.org/stable/c/dd19e827d63ac60debf117676d1126bff884bdb8