What’s Vulnerable › Vulnerabilities

CVE-2025-38092: ksmbd: use list_first_entry_or_null for opinfo_get_list()

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.12.32, 6.14.10, 6.6.93. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-38092 or the next vulnerability affects your stack