CVE-2025-39851
BaseFortify
Publication date: 2025-09-19
Last updated on: 2025-12-12
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 5.8 (inc) to 6.12.46 (exc) |
| linux | linux_kernel | From 6.13 (inc) to 6.16.6 (exc) |
| linux | linux_kernel | 6.17 |
| linux | linux_kernel | 6.17 |
| linux | linux_kernel | 6.17 |
| linux | linux_kernel | 6.17 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-476 | The product dereferences a pointer that it expects to be valid but is NULL. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is in the Linux kernel's VXLAN implementation. VXLAN FDB (Forwarding Database) entries can point to either a remote destination or an FDB nexthop group, the latter used in EVPN deployments where learning is disabled. When learning is enabled, an incoming packet might try to refresh an FDB entry that points to an FDB nexthop group without a remote destination. Such packets should be dropped immediately, but due to the vulnerability, they are only dropped after the kernel dereferences a non-existent remote pointer, causing a NULL pointer dereference (NPD) and a kernel crash.
How can this vulnerability impact me? :
This vulnerability can cause a kernel NULL pointer dereference leading to a system crash or denial of service (DoS) on affected Linux systems using VXLAN with learning enabled. An attacker could potentially exploit this by sending crafted packets that refresh FDB entries pointing to nexthop groups, causing the kernel to crash and disrupt network operations.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by reproducing the NULL pointer dereference (NPD) condition in the Linux kernel related to VXLAN FDB entries. The provided script in the description can be used to test for the vulnerability by setting up VXLAN interfaces and FDB entries, then sending crafted packets using the 'mausezahn' tool. The commands include adding IP addresses, creating nexthop groups, adding VXLAN interfaces, adding bridge FDB entries, and finally running the mausezahn command to send packets that trigger the issue.
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation involves updating the Linux kernel to a version where this vulnerability is fixed, as the issue is resolved by dropping packets earlier to prevent NULL pointer dereference. Until an update is applied, avoid enabling learning on VXLAN interfaces that use FDB nexthop groups or disable such configurations to prevent triggering the vulnerability.