CVE-2026-139207

Not scored yetLast modified Nov 30, 2026

Description

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

net/mlx5e: IPsec, Fix out-of-bounds comparison of neighbour keys

mlx5e_ipsec_netevent_event() keeps the L2 headers of offloaded tunnel mode SAs up to date: on every neighbour change it looks for SAs whose endpoint matches the neighbour's address. The compare width, 4 bytes for IPv4 or 16 for IPv6, is chosen from the SA's address family, with no check that the neighbour is of the same family.

An ARP entry only stores a 4-byte key, so with an IPv6 tunnel mode SA offloaded, any IPv4 neighbour update in the system is compared as if it were a 16-byte IPv6 address, reading past the end of the object:

BUG: KASAN: slab-out-of-bounds in mlx5e_ipsec_netevent_event+0x736/0x8d0 [mlx5_core] Read of size 4 at addr ff110001260a4ad8 by task swapper/8/0 Call Trace: <IRQ> mlx5e_ipsec_netevent_event+0x736/0x8d0 [mlx5_core] notifier_call_chain+0x97/0x2b0 atomic_notifier_call_chain+0x5d/0x130 neigh_timer_handler+0x35c/0x1140 call_timer_fn+0x164/0x490 __run_timers+0x5b9/0x960 run_timer_softirq+0xf0/0x1d0 handle_softirqs+0x189/0x8a0 __irq_exit_rcu+0x10d/0x250 ...

Allocated by task 1015: __kmalloc_noprof+0x2e6/0x8b0 ___neigh_create+0xcc9/0x24c0 ip_finish_output2+0xfc7/0x1e80 ip_output+0x172/0x3b0 ip_send_skb+0xa5/0x1b0 udp_send_skb+0x852/0x10f0 udp_sendmsg+0x1333/0x2150 ...

The opposite mix (IPv4 SA with IPv6 neighbour) stays in bounds, but only the first 32 bits of the IPv6 address are compared, so an unrelated neighbour can match.

Skip neighbours whose address family doesn't match the SA.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139208In the Linux kernel, the following vulnerability has been resolved: net: sparx5: fix tx DCB index drift in fdma xmit sparx5_fdma_xmit() adCVE-2026-139209In the Linux kernel, the following vulnerability has been resolved: net: sparx5/lan969x: do not read past skb->len when injecting a frame CVE-2026-139216.5Insufficient validation of untrusted input in DeviceBoundSessionCredentials in Google Chrome prior to 150.0.7871.47 allowed a remote attackeCVE-2026-139210In the Linux kernel, the following vulnerability has been resolved: tcp: reject devmem tx with fastopen and repair tcp_sendmsg_locked() enCVE-2026-139211In the Linux kernel, the following vulnerability has been resolved: sctp: reject forged cookie peer_addr with unknown address family When CVE-2026-139212In the Linux kernel, the following vulnerability has been resolved: regulator: irq: freeze deferred hardware access during suspend The regCVE-2026-139213In the Linux kernel, the following vulnerability has been resolved: ASoC: amd: raven: Fix memory leak in acp3x_dma_close() acp3x_dma_open(CVE-2026-1392147.8In the Linux kernel, the following vulnerability has been resolved: perf: Fix UAF in attach_task_ctx_data() struct perf_ctx_data is RCU prCVE-2026-139215In the Linux kernel, the following vulnerability has been resolved: nsproxy: Fix cred leak in the error path of prepare_nsset() A task thaCVE-2026-139216In the Linux kernel, the following vulnerability has been resolved: ntfs: fix u16 truncation of the update sequence array count check ntfsCVE-2026-1392177.8In the Linux kernel, the following vulnerability has been resolved: ntfs: reject index blocks with a too small entries offset Index blocksCVE-2026-1392187.8In the Linux kernel, the following vulnerability has been resolved: tipc: fix use-after-free of broadcast reception link at node release W
CVE-2026-139207: Unscored | Vulnix