VDB

CVE-2025-39838

CVE-2025-39838 PUBLISHED

cifs: prevent NULL pointer dereference in UTF16 conversion

Reported by linux · Published September 19, 2025

In the Linux kernel, the following vulnerability has been resolved: cifs: prevent NULL pointer dereference in UTF16 conversion There can be a NULL pointer dereference bug here. NULL is passed to __cifs_sfu_make_node without checks, which passes it unchecked to cifs_strndup_to_utf16, which in turn passes it to cifs_local_to_utf16_bytes where '*from' is dereferenced, causing a crash. This patch adds a check for NULL 'src' in cifs_strndup_to_utf16 and returns NULL early to prevent dereferencing NULL pointer. Found by Linux Verification Center (linuxtesting.org) with SVACE

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12-toolsAmazon Linux1:6.12.46-66.121.amzn2023
kernel-libbpfAmazon Linux1:6.1.153-175.280.amzn2023
perf6.12Amazon Linux1:6.12.46-66.121.amzn2023
bpftool6.12Amazon Linux1:6.12.46-66.121.amzn2023
kernel-develAmazon Linux1:6.1.153-175.280.amzn2023
kernel-tools-develAmazon Linux1:6.1.153-175.280.amzn2023
kernel-libbpf-develAmazon Linux1:6.1.153-175.280.amzn2023
SIMATIC CN 4100Siemens5.0

Affected products

VendorProductVersions
LinuxLinux41d3f256c6a5e41eb32b87168399c0facd512dc0, 41d3f256c6a5e41eb32b87168399c0facd512dc0, 41d3f256c6a5e41eb32b87168399c0facd512dc0
LinuxLinux6.12, 0, 6.12.46
amazon:2023kernel6.12-tools0
amazon:2023kernel-libbpf0
amazon:2023perf6.120
amazon:2023bpftool6.120
SiemensSIMATIC CN 41000
amazon:2023kernel-devel0
amazon:2023kernel-tools-devel0
amazon:2023kernel-libbpf-devel0
linuxlinux_kernel6.12, 6.12, 6.12
amazon:2023python3-perf6.120
amazon:2023kernel-modules-extra0
amazon:2023kernel6.12-libbpf-devel0
amazon:2023kernel6.12-libbpf-static0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-headers0
amazon:2023python3-perf0
amazon:2023perf0
amazon:2023kernel6.12-headers0

…and 13 more

Timeline

  • Sep 19, 2025 CVE Published
  • Sep 20, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 12, 2025 PoC Published (9 in total, the first dated here)
  • Nov 17, 2025 CVE Updated
  • Feb 2, 2026 Security Advisory (99 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (88 in total, the first dated here)
  • Jun 8, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-39838
vulnetix vdb fixes CVE-2025-39838

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-39838/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›