CVE-2026-31515
kernel: af_key: validate families in pfkey_send_migrate()
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · April 22, 2026
Updated · June 28, 2026
Description
A flaw was found in the Linux kernel. The pfkey_send_migrate function, which manages security associations, does not properly validate address families. This oversight can lead to an overfill of the socket buffer (skb), a data structure used for network packets, when processing certain requests. A local user could exploit this vulnerability to trigger a kernel crash, resulting in a Denial of Service (DoS) for the affected system.
Statement
Upstream validates PF_KEY migrate families early to prevent skb_put() overruns from truncated family fields. Red Hat treats this as a local DoS in the AF_KEY/IPsec management path. Apply kernel errata; unloading af_key may be possible where IP_KEY sockets are unused (often impractical on VPN nodes).
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-131 · Incorrect Calculation of Buffer Size