{"id":"CVE-2025-39838","published":"2025-09-19T15:26:13Z","modified":"2026-11-05T21:12:59Z","title":"cifs: prevent NULL pointer dereference in UTF16 conversion","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncifs: prevent NULL pointer dereference in UTF16 conversion\n\nThere can be a NULL pointer dereference bug here. NULL is passed to\n__cifs_sfu_make_node without checks, which passes it unchecked to\ncifs_strndup_to_utf16, which in turn passes it to\ncifs_local_to_utf16_bytes where '*from' is dereferenced, causing a crash.\n\nThis patch adds a check for NULL 'src' in cifs_strndup_to_utf16 and\nreturns NULL early to prevent dereferencing NULL pointer.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00167,"percentile":0.06071,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/1f797f062b5cf13a1c2bcc23285361baaa7c9260","tags":[]},{"url":"https://git.kernel.org/stable/c/3c26a8d30ed6b53a52a023ec537dc50a6d34a67a","tags":[]},{"url":"https://git.kernel.org/stable/c/70bccd9855dae56942f2b18a08ba137bb54093a0","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html","tags":[]}],"priority":{"score":1.2,"factors":[{"name":"EPSS percentile","points":1.21}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 41d3f256c6a5e41eb32b87168399c0facd512dc0, < 1f797f062b5cf13a1c2bcc23285361baaa7c9260",">= 41d3f256c6a5e41eb32b87168399c0facd512dc0, < 3c26a8d30ed6b53a52a023ec537dc50a6d34a67a",">= 41d3f256c6a5e41eb32b87168399c0facd512dc0, < 70bccd9855dae56942f2b18a08ba137bb54093a0"]},{"vendor":"Linux","product":"Linux","versions":["6.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-05T21:12:29.483732Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-30362","exploited":false,"provenance":"source"}}