CVE-2026-45844

CVE-2026-45844

Medium · published May 27, 2026

CVSS v3.1
5.5
EPSS
0%
Percentile
5.6
In the wild
Unconfirmed
What it is

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 <[email protected]>.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00166 · 5.6th percentile
Published
2026-05-27T15:16Z
Affected products (8)
ProductVersionsFixed in
linux/linux_kernel≥ 3.10, < 5.10.2585.10.258
linux/linux_kernel≥ 5.11, < 5.15.2095.15.209
linux/linux_kernel≥ 5.16, < 6.1.1756.1.175
linux/linux_kernel≥ 6.2, < 6.6.1416.6.141
linux/linux_kernel≥ 6.7, < 6.12.916.12.91
linux/linux_kernel≥ 6.13, < 6.18.336.18.33
linux/linux_kernel≥ 6.19, < 7.0.107.0.10
linux/linux_kernelall versions—
References (9)
EPSS history
Timeline
  • 27 MAY 09:24Z
    netfilter: arp_tables: fix IEEE1394 ARP payload parsing
    cvelistv5