CVE Catalog

CVE-2025-39838

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.16%

5th percentile - higher than 5% of all known CVEs

Summary

In the Linux kernel, a NULL pointer dereference exists in cifs_strndup_to_utf16(). The function __cifs_sfu_make_node() passes NULL without checking to cifs_strndup_to_utf16(), which then passes it to cifs_local_to_utf16_bytes() where '*from' is dereferenced, causing a crash.

Risk Assessment

The vulnerability could be exploited by an attacker to cause a system crash (denial of service) by providing specially crafted data within the CIFS protocol.

Recommendation

Update the Linux kernel to a version containing the fix. Regular system updates are recommended.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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

Vulnerability data from NVD (NIST) · CISA KEV · EPSS