CVE Catalog

CVE-2025-38092

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.28%

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

Summary

In the Linux kernel, in the ksmbd module (SMB server implementation), the opinfo_get_list() function uses the list_first_entry() macro which does not check if the list is empty. If the list is empty, an invalid pointer is returned, potentially leading to errors.

Risk Assessment

Using an invalid pointer could cause the SMB server to crash or behave unexpectedly, potentially allowing an attacker to disrupt the service.

Recommendation

Apply the Linux kernel patch that replaces list_first_entry() with list_first_entry_or_null() in the ksmbd module's opinfo_get_list() function.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: ksmbd: use list_first_entry_or_null for opinfo_get_list() The list_first_entry() macro never returns NULL. If the list is empty then it returns an invalid pointer. Use list_first_entry_or_null() to check if the list is empty.

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