All reports
Medium

kernel: arp: do not assume dev_hard_header() does not change skb->head

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-22988

Probability of exploitation in the next 30 days: 0.14%

FIRST EPSS · 2026-11-19

Description

In the Linux kernel, the following vulnerability has been resolved: arp: do not assume dev_hard_header() does not change skb->head arp_create() is the only dev_hard_header() caller making assumption about skb->head being unchanged. A recent commit broke this assumption. Initialize @arp pointer after dev_hard_header() call.

A use-after-free vulnerability was found in the Linux kernel's ARP implementation. The arp_create() function initializes a pointer to the ARP header before calling dev_hard_header(), incorrectly assuming that skb->head will not change. A recent kernel change broke this assumption, causing the @arp pointer to reference stale memory after dev_hard_header() potentially reallocates the socket buffer.