{"id":"CVE-2025-68353","revision":"142a8c128b4443ee9fbbcb38ea02cc9b","records":[{"revision":"142a8c128b4443ee9fbbcb38ea02cc9b","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2025-68353","aliases":[],"title":"net: vxlan: prevent NULL deref in vxlan_xmit_one","description":"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.","state":0,"publishedAt":"2025-12-24T10:32:44.068+00:00","modifiedAt":"2026-10-21T12:38:14.894+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/net/vxlan/vxlan_core.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6f19b2c136d98a84d79030b53e23d405edfdc783\",\n                            \"lessThan\": \"333deb6b43c11d5bce00463b364ac993d2fa02a6\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"6f19b2c136d98a84d79030b53e23d405edfdc783\",\n                            \"lessThan\": \"4ac26aafdc8c7271414e2e7c0b2cb266a26591bc\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"6f19b2c136d98a84d79030b53e23d405edfdc783\",\n                            \"lessThan\": \"1f73a56f986005f0bc64ed23873930e2ee4f5911\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/net/vxlan/vxlan_core.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.7\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.7\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.114\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.2\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.19\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://git.kernel.org/stable/c/333deb6b43c11d5bce00463b364ac993d2fa02a6","https://git.kernel.org/stable/c/4ac26aafdc8c7271414e2e7c0b2cb266a26591bc","https://git.kernel.org/stable/c/1f73a56f986005f0bc64ed23873930e2ee4f5911"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-68353","license":"CVE Program Terms of Use","key":"cve-program:CVE-2025-68353","identifiers":["CVE-2025-68353"]},"retained":false,"historicalAffected":[]}],"coverage":[]}