CVE-2025-39838cifs: prevent NULL pointer dereference in UTF16 conversion
- 5.5MediumCVSS base score
- 0.16%Exploitation in 30 daysEPSS · top 95% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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
Timeline
ID reserved
By Linux
- 5 months later
· 5 months later
Published
- 14 months later
· 14 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.16% · top 95% of all CVEs (13 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 41d3f256c6a5e41eb32b87168399c0facd512dc0 – < 1f797f062b5cf13a1c2bcc23285361baaa7c9260
- affected 41d3f256c6a5e41eb32b87168399c0facd512dc0 – < 3c26a8d30ed6b53a52a023ec537dc50a6d34a67a
- affected 41d3f256c6a5e41eb32b87168399c0facd512dc0 – < 70bccd9855dae56942f2b18a08ba137bb54093a0
- affected 6.12
- unaffected < 6.12
- unaffected 6.12.46 – ≤ 6.12.*
- unaffected 6.16.6 – ≤ 6.16.*
- unaffected 6.17 – ≤ *
References
References5
- https://git.kernel.org/stable/c/1f797f062b5cf13a1c2bcc23285361baaa7c9260 (opens in a new tab)
- https://git.kernel.org/stable/c/3c26a8d30ed6b53a52a023ec537dc50a6d34a67a (opens in a new tab)
- https://git.kernel.org/stable/c/70bccd9855dae56942f2b18a08ba137bb54093a0 (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-032379.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-30362 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-39838)Record last updated .