Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 4FD2E3EB7EC for ; Wed, 27 May 2026 09:25:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779873940; cv=none; b=Sot6KNp+X5MtpHWiqnE0zzICHiL18ttsisEh1wrr2UapvXGkqw4y0UfrssGH3DNiNNJPNP9LvnVkzxQDS4HXNNDfubcqTG2xQT2yq2UfM7JnxZUmqnOGr8IAVbT86qJNGC1SJL9z5ZQgFxcTXLzuGv/CIbsOcDCg3xd3Pm+kw8g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779873940; c=relaxed/simple; bh=gvUdfXCYk8AW9+0oV54LiJ46L34JNWkviS6vWrHBLXk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Eh1B+66tCJ7+1YaPBARdqwKsSNdlTmuXri654lgmn7uJzxiuSmzWoL6+Mv32t+8y0AqjhxmMs+mMt5iwRTLFnU5pI3fvIVYmQtyKnmGiYYlbcRgu7es3UcBGEmSTJe/HDv1tnkCHgA/viJ9MwRyBcEVYXEOqua1H2UnFp29qHIk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=nVCMBOHx; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="nVCMBOHx" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 692551F00A3C; Wed, 27 May 2026 09:25:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779873936; bh=UgMLhy3yRgSVI9NgUVAV2D6+9iOSrZXN6NWySAJwbOQ=; h=From:To:Cc:Subject:Date:Reply-To; b=nVCMBOHxfcsTrylwpTPooIFhMfnbhqSnaqagIFqIxEBEhG1ADOHv6E2RDDThO5kkC BSP29dSj5hWP+F7xg8VXM2fSd0izZ8Dd30mNvnXcTYDGO9PryD+GjJygnJj1eugS+0 uDPLMO/Do+JjNRaFUKnUg1J2oyQNzO5BOVn9YYk4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-45844: netfilter: arp_tables: fix IEEE1394 ARP payload parsing Date: Wed, 27 May 2026 11:24:16 +0200 Message-ID: <2026052713-CVE-2026-45844-703b@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4701; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=srqkjHZacf8HHqBQpiBnGou5oLKEBHW0L+QjJ/3yYt0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFliO2wn5rVLTDqS3SMaGRYRwaETKD/7i0fH0mltT5kF5 hz8suhlRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzk7zGGuYKG63NutOU1PLhb Kf90/h2L0uWu3xjmaQaoXbYKsznE7tPKtvjyqiY1Fv9iAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: netfilter: arp_tables: fix IEEE1394 ARP payload parsing Weiming Shi says: "arp_packet_match() unconditionally parses the ARP payload assuming two hardware addresses are present (source and target). However, IPv4-over-IEEE1394 ARP (RFC 2734) omits the target hardware address field, and arp_hdr_len() already accounts for this by returning a shorter length for ARPHRD_IEEE1394 devices. As a result, on IEEE1394 interfaces arp_packet_match() advances past a nonexistent target hardware address and reads the wrong bytes for both the target device address comparison and the target IP address. This causes arptables rules to match against garbage data, leading to incorrect filtering decisions: packets that should be accepted may be dropped and vice versa. The ARP stack in net/ipv4/arp.c (arp_create and arp_process) already handles this correctly by skipping the target hardware address for ARPHRD_IEEE1394. Apply the same pattern to arp_packet_match()." Mangle the original patch to always return 0 (no match) in case user matches on the target hardware address which is never present in IEEE1394. Note that this returns 0 (no match) for either normal and inverse match because matching in the target hardware address in ARPHRD_IEEE1394 has never been supported by arptables. This is intentional, matching on the target hardware address should never evaluate true for ARPHRD_IEEE1394. Moreover, adjust arpt_mangle to drop the packet too as AI suggests: In arpt_mangle, the logic assumes a standard ARP layout. Because IEEE1394 (FireWire) omits the target hardware address, the linear pointer arithmetic miscalculates the offset for the target IP address. This causes mangling operations to write to the wrong location, leading to packet corruption. To ensure safety, this patch drops packets (NF_DROP) when mangling is requested for these fields on IEEE1394 devices, as the current implementation cannot correctly map the FireWire ARP payload. This omits both mangling target hardware and IP address. Even if IP address mangling should be possible in IEEE1394, this would require to adjust arpt_mangle offset calculation, which has never been supported. Based on patch from Weiming Shi . The Linux kernel CVE team has assigned CVE-2026-45844 to this issue. Affected and fixed versions =========================== Issue introduced in 3.10 with commit 6752c8db8e0cfedb44ba62806dd15b383ed64000 and fixed in 6.6.141 with commit ad9973df8e0eeb123d9ec4d18828e05b7d44ff4b Issue introduced in 3.10 with commit 6752c8db8e0cfedb44ba62806dd15b383ed64000 and fixed in 6.12.91 with commit 03ea11dbefaa55c502735ee551c89ef773fe753b Issue introduced in 3.10 with commit 6752c8db8e0cfedb44ba62806dd15b383ed64000 and fixed in 6.18.33 with commit 1c55053f8ffdc060006df898fd3664e3d1bfac7b Issue introduced in 3.10 with commit 6752c8db8e0cfedb44ba62806dd15b383ed64000 and fixed in 7.0.10 with commit ac698d81fd6619c7504cee913f1cab5285fba1b7 Issue introduced in 3.10 with commit 6752c8db8e0cfedb44ba62806dd15b383ed64000 and fixed in 7.1-rc2 with commit 1e8e3f449b1e73b73a843257635b9c50f0cc0f0a 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-2026-45844 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/ipv4/netfilter/arp_tables.c net/ipv4/netfilter/arpt_mangle.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/ad9973df8e0eeb123d9ec4d18828e05b7d44ff4b https://git.kernel.org/stable/c/03ea11dbefaa55c502735ee551c89ef773fe753b https://git.kernel.org/stable/c/1c55053f8ffdc060006df898fd3664e3d1bfac7b https://git.kernel.org/stable/c/ac698d81fd6619c7504cee913f1cab5285fba1b7 https://git.kernel.org/stable/c/1e8e3f449b1e73b73a843257635b9c50f0cc0f0a