← Back to CVE Explorer

CVE-2025-68353

Full vulnerability record from the local CVENow database.

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.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Deferred
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2025-12-24 11:15:58.653000
Last modified
2026-10-21 13:18:22.580000
View original CVE JSON
{
  "id": "CVE-2025-68353",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2025-12-24T11:15:58.653",
  "lastModified": "2026-10-21T13:18:22.580",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: vxlan: prevent NULL deref in vxlan_xmit_one\n\nNeither sock4 nor sock6 pointers are guaranteed to be non-NULL in\nvxlan_xmit_one, e.g. if the iface is brought down. This can lead to the\nfollowing NULL dereference:\n\n  BUG: kernel NULL pointer dereference, address: 0000000000000010\n  Oops: Oops: 0000 [#1] SMP NOPTI\n  RIP: 0010:vxlan_xmit_one+0xbb3/0x1580\n  Call Trace:\n   vxlan_xmit+0x429/0x610\n   dev_hard_start_xmit+0x55/0xa0\n   __dev_queue_xmit+0x6d0/0x7f0\n   ip_finish_output2+0x24b/0x590\n   ip_output+0x63/0x110\n\nMentioned commits changed the code path in vxlan_xmit_one and as a side\neffect the sock4/6 pointer validity checks in vxlan(6)_get_route were\nlost. Fix this by adding back checks.\n\nSince both commits being fixed were released in the same version (v6.7)\nand are strongly related, bundle the fixes in a single commit."
    },
    {
      "lang": "es",
      "value": "En el kernel de Linux, se ha corregido la siguiente vulnerabilidad:\\n\\nnet: vxlan: prevenir desreferenciación NULL en vxlan_xmit_one\\n\\nNi los punteros sock4 ni sock6 están garantizados como no NULL en vxlan_xmit_one, por ejemplo si la interfaz se desactiva. Esto puede provocar la siguiente desreferenciación NULL:\\n\\n  BUG: kernel NULL pointer dereference, address: 0000000000000010\\n  Oops: Oops: 0000 [#1] SMP NOPTI\\n  RIP: 0010:vxlan_xmit_one+0xbb3/0x1580\\n  Call Trace:\\n   vxlan_xmit+0x429/0x610\\n   dev_hard_start_xmit+0x55/0xa0\\n   __dev_queue_xmit+0x6d0/0x7f0\\n   ip_finish_output2+0x24b/0x590\\n   ip_output+0x63/0x110\\n\\nLos commits mencionados modificaron la ruta de código en vxlan_xmit_one y, como efecto colateral, se perdieron las comprobaciones de validez de los punteros sock4/6 en vxlan(6)_get_route. Se corrige añadiendo nuevamente esas verificaciones.\\n\\nDado que ambos commits corregidos se publicaron en la misma versión (v6.7) y están estrechamente relacionados, se agrupan las correcciones en un único commit."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/net/vxlan/vxlan_core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "6f19b2c136d98a84d79030b53e23d405edfdc783",
              "lessThan": "333deb6b43c11d5bce00463b364ac993d2fa02a6",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "6f19b2c136d98a84d79030b53e23d405edfdc783",
              "lessThan": "4ac26aafdc8c7271414e2e7c0b2cb266a26591bc",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "6f19b2c136d98a84d79030b53e23d405edfdc783",
              "lessThan": "1f73a56f986005f0bc64ed23873930e2ee4f5911",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/net/vxlan/vxlan_core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "6.7",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "6.7",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.114",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.2",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.19",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/1f73a56f986005f0bc64ed23873930e2ee4f5911",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/333deb6b43c11d5bce00463b364ac993d2fa02a6",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/4ac26aafdc8c7271414e2e7c0b2cb266a26591bc",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}