CVE-2026-31515CWE-476

CVE-2026-31515

Medium · published April 22, 2026

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

In the Linux kernel, the following vulnerability has been resolved:

af_key: validate families in pfkey_send_migrate()

syzbot was able to trigger a crash in skb_put() [1]

Issue is that pfkey_send_migrate() does not check old/new families,

and that set_ipsecrequest() @family argument was truncated,

thus possibly overfilling the skb.

Validate families early, do not wait set_ipsecrequest().

[1]

skbuff: skb_over_panic: text:ffffffff8a752120 len:392 put:16 head:ffff88802a4ad040 data:ffff88802a4ad040 tail:0x188 end:0x180 dev:<NULL>

kernel BUG at net/core/skbuff.c:214 !

Call Trace:

<TASK>

skb_over_panic net/core/skbuff.c:219 [inline]

skb_put+0x159/0x210 net/core/skbuff.c:2655

skb_put_zero include/linux/skbuff.h:2788 [inline]

set_ipsecrequest net/key/af_key.c:3532 [inline]

pfkey_send_migrate+0x1270/0x2e50 net/key/af_key.c:3636

km_migrate+0x155/0x260 net/xfrm/xfrm_state.c:2848

xfrm_migrate+0x2140/0x2450 net/xfrm/xfrm_policy.c:4705

xfrm_do_migrate+0x8ff/0xaa0 net/xfrm/xfrm_user.c:3150

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.00171 · 6.1th percentile
Weakness
CWE-476 · NULL Pointer Dereference
Published
2026-04-22T18:16Z
Affected products (15)
ProductVersionsFixed in
linux/linux_kernel≥ 2.6.21.1, < 5.10.2535.10.253
linux/linux_kernel≥ 5.11, < 5.15.2035.15.203
linux/linux_kernel≥ 5.16, < 6.1.1686.1.168
linux/linux_kernel≥ 6.2, < 6.6.1316.6.131
linux/linux_kernel≥ 6.7, < 6.12.806.12.80
linux/linux_kernel≥ 6.13, < 6.18.216.18.21
linux/linux_kernel≥ 6.19, < 6.19.116.19.11
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (11)
EPSS history
Timeline
  • 22 APR 13:54Z
    af_key: validate families in pfkey_send_migrate()
    cvelistv5