# CVE-2025-39850: vxlan: Fix NPD in {arp,neigh}\_reduce() when using nexthop objects

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.23% (percentile 8, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-09-19T15:26:22.803Z
- **Modified:** 2026-10-30T13:18:10.330Z

## Who should check

- Anyone running Linux \>= 1274e1cc42264d4e629841e4f182795cb0becfd2, \< 87cd41faceb0eea6201d32d6b11f861ea30591ae; \>= 1274e1cc42264d4e629841e4f182795cb0becfd2, \< 8ba034c41b20dc4f32ece748f1429709ae8ceedc; \>= 1274e1cc42264d4e629841e4f182795cb0becfd2, \< e211e3f4199ac829bd493632efcd131d337cba9d; \>= 1274e1cc42264d4e629841e4f182795cb0becfd2, \< 8cfa0f076842f9b3b4eb52ae0e41d16e25cbf8fa; \>= 1274e1cc42264d4e629841e4f182795cb0becfd2, \< 1f5d2fd1ca04a23c18b1bde9a43ce2fa2ffa1bce
- Anyone running Linux 5.8

## Description

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

vxlan: Fix NPD in {arp,neigh}\_reduce() when using nexthop objects

When the "proxy" option is enabled on a VXLAN device, the device will
suppress ARP requests and IPv6 Neighbor Solicitation messages if it is
able to reply on behalf of the remote host. That is, if a matching and
valid neighbor entry is configured on the VXLAN device whose MAC address
is not behind the "any" remote (0.0.0.0 / ::).

The code currently assumes that the FDB entry for the neighbor's MAC
address points to a valid remote destination, but this is incorrect if
the entry is associated with an FDB nexthop group. This can result in a
NPD \[1\]\[3\] which can be reproduced using \[2\]\[4\].

Fix by checking that the remote destination exists before dereferencing
it.

\[1\]
BUG: kernel NULL pointer dereference, address: 0000000000000000
\[...\]
CPU: 4 UID: 0 PID: 365 Comm: arping Not tainted 6.17.0-rc2-virtme-g2a89cb21162c \#2 PREEMPT(voluntary)
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.17.0-4.fc41 04/01/2014
RIP: 0010:vxlan\_xmit+0xb58/0x15f0
\[...\]
Call Trace:
 \<TASK\>
 dev\_hard\_start\_xmit+0x5d/0x1c0
 \_\_dev\_queue\_xmit+0x246/0xfd0
 packet\_sendmsg+0x113a/0x1850
 \_\_sock\_sendmsg+0x38/0x70
 \_\_sys\_sendto+0x126/0x180
 \_\_x64\_sys\_sendto+0x24/0x30
 do\_syscall\_64+0xa4/0x260
 entry\_SYSCALL\_64\_after\_hwframe+0x4b/0x53

\[2\]
 \#!/bin/bash

 ip address add 192.0.2.1/32 dev lo

 ip nexthop add id 1 via 192.0.2.2 fdb
 ip nexthop add id 10 group 1 fdb

 ip link add name vx0 up type vxlan id 10010 local 192.0.2.1 dstport 4789 proxy

 ip neigh add 192.0.2.3 lladdr 00:11:22:33:44:55 nud perm dev vx0

 bridge fdb add 00:11:22:33:44:55 dev vx0 self static nhid 10

 arping -b -c 1 -s 192.0.2.1 -I vx0 192.0.2.3

\[3\]
BUG: kernel NULL pointer dereference, address: 0000000000000000
\[...\]
CPU: 13 UID: 0 PID: 372 Comm: ndisc6 Not tainted 6.17.0-rc2-virtmne-g6ee90cb26014 \#3 PREEMPT(voluntary)
Hardware name: QEMU Standard PC (i440FX + PIIX, 1v996), BIOS 1.17.0-4.fc41 04/01/2x014
RIP: 0010:vxlan\_xmit+0x803/0x1600
\[...\]
Call Trace:
 \<TASK\>
 dev\_hard\_start\_xmit+0x5d/0x1c0
 \_\_dev\_queue\_xmit+0x246/0xfd0
 ip6\_finish\_output2+0x210/0x6c0
 ip6\_finish\_output+0x1af/0x2b0
 ip6\_mr\_output+0x92/0x3e0
 ip6\_send\_skb+0x30/0x90
 rawv6\_sendmsg+0xe6e/0x12e0
 \_\_sock\_sendmsg+0x38/0x70
 \_\_sys\_sendto+0x126/0x180
 \_\_x64\_sys\_sendto+0x24/0x30
 do\_syscall\_64+0xa4/0x260
 entry\_SYSCALL\_64\_after\_hwframe+0x4b/0x53
RIP: 0033:0x7f383422ec77

\[4\]
 \#!/bin/bash

 ip address add 2001:db8:1::1/128 dev lo

 ip nexthop add id 1 via 2001:db8:1::1 fdb
 ip nexthop add id 10 group 1 fdb

 ip link add name vx0 up type vxlan id 10010 local 2001:db8:1::1 dstport 4789 proxy

 ip neigh add 2001:db8:1::3 lladdr 00:11:22:33:44:55 nud perm dev vx0

 bridge fdb add 00:11:22:33:44:55 dev vx0 self static nhid 10

 ndisc6 -r 1 -s 2001:db8:1::1 -w 1 2001:db8:1::3 vx0

## Affected and fixed versions

- Linux: \>= 1274e1cc42264d4e629841e4f182795cb0becfd2, \< 87cd41faceb0eea6201d32d6b11f861ea30591ae; \>= 1274e1cc42264d4e629841e4f182795cb0becfd2, \< 8ba034c41b20dc4f32ece748f1429709ae8ceedc; \>= 1274e1cc42264d4e629841e4f182795cb0becfd2, \< e211e3f4199ac829bd493632efcd131d337cba9d; \>= 1274e1cc42264d4e629841e4f182795cb0becfd2, \< 8cfa0f076842f9b3b4eb52ae0e41d16e25cbf8fa; \>= 1274e1cc42264d4e629841e4f182795cb0becfd2, \< 1f5d2fd1ca04a23c18b1bde9a43ce2fa2ffa1bce (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

- Upgrade Linux to 1f5d2fd1ca04a23c18b1bde9a43ce2fa2ffa1bce or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-39850. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-39850.md
Affected: Linux >= 1274e1cc42264d4e629841e4f182795cb0becfd2, < 87cd41faceb0eea6201d32d6b11f861ea30591ae; >= 1274e1cc42264d4e629841e4f182795cb0becfd2, < 8ba034c41b20dc4f32ece748f1429709ae8ceedc; >= 1274e1cc42264d4e629841e4f182795cb0becfd2, < e211e3f4199ac829bd493632efcd131d337cba9d; >= 1274e1cc42264d4e629841e…
Fixed in: Linux 87cd41faceb0eea6201d32d6b11f861ea30591ae, Linux 8ba034c41b20dc4f32ece748f1429709ae8ceedc, Linux 8cfa0f076842f9b3b4eb52ae0e41d16e25cbf8fa, Linux 1f5d2fd1ca04a23c18b1bde9a43ce2fa2ffa1bce

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-39850 being exploited?

There is no confirmed exploitation: CVE-2025-39850 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-39850?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-39850?

Linux \>= 1274e1cc42264d4e629841e4f182795cb0becfd2, \< 87cd41faceb0eea6201d32d6b11f861ea30591ae; \>= 1274e1cc42264d4e629841e4f182795cb0becfd2, \< 8ba034c41b20dc4f32ece748f1429709ae8ceedc; \>= 1274e1cc42264d4e629841e4f182795cb0becfd2, \< e211e3f4199ac829bd493632efcd131d337cba9d; \>= 1274e1cc42264d4e629841e4f182795cb0becfd2, \< 8cfa0f076842f9b3b4eb52ae0e41d16e25cbf8fa; \>= 1274e1cc42264d4e629841e4f182795cb0becfd2, \< 1f5d2fd1ca04a23c18b1bde9a43ce2fa2ffa1bce; Linux 5.8.

### Is there a fix for CVE-2025-39850?

Yes. Fixed in Linux 87cd41faceb0eea6201d32d6b11f861ea30591ae, Linux 8ba034c41b20dc4f32ece748f1429709ae8ceedc, Linux 8cfa0f076842f9b3b4eb52ae0e41d16e25cbf8fa, Linux 1f5d2fd1ca04a23c18b1bde9a43ce2fa2ffa1bce. Upgrade Linux to 1f5d2fd1ca04a23c18b1bde9a43ce2fa2ffa1bce or later.

### How do I check if I'm affected by CVE-2025-39850?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/e211e3f4199ac829bd493632efcd131d337cba9d>
- patch: <https://git.kernel.org/stable/c/8cfa0f076842f9b3b4eb52ae0e41d16e25cbf8fa>
- patch: <https://git.kernel.org/stable/c/1f5d2fd1ca04a23c18b1bde9a43ce2fa2ffa1bce>
- other: <https://git.kernel.org/stable/c/87cd41faceb0eea6201d32d6b11f861ea30591ae>
- other: <https://git.kernel.org/stable/c/8ba034c41b20dc4f32ece748f1429709ae8ceedc>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-39850>

HTML: <https://flawdb.com/CVE-2025-39850> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-39850>
