CVE-2025-39838
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.12-tools | Amazon Linux | 1:6.12.46-66.121.amzn2023 |
| kernel-libbpf | Amazon Linux | 1:6.1.153-175.280.amzn2023 |
| perf6.12 | Amazon Linux | 1:6.12.46-66.121.amzn2023 |
| bpftool6.12 | Amazon Linux | 1:6.12.46-66.121.amzn2023 |
| kernel-devel | Amazon Linux | 1:6.1.153-175.280.amzn2023 |
| kernel-tools-devel | Amazon Linux | 1:6.1.153-175.280.amzn2023 |
| kernel-libbpf-devel | Amazon Linux | 1:6.1.153-175.280.amzn2023 |
| SIMATIC CN 4100 | Siemens | 5.0 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 41d3f256c6a5e41eb32b87168399c0facd512dc0, 41d3f256c6a5e41eb32b87168399c0facd512dc0, 41d3f256c6a5e41eb32b87168399c0facd512dc0 |
| Linux | Linux | 6.12, 0, 6.12.46 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| Siemens | SIMATIC CN 4100 | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| linux | linux_kernel | 6.12, 6.12, 6.12 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel6.12-libbpf-devel | 0 |
| amazon:2023 | kernel6.12-libbpf-static | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
…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