{"id":"CVE-2025-38092","summary":"ksmbd: use list_first_entry_or_null for opinfo_get_list()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: use list_first_entry_or_null for opinfo_get_list()\n\nThe list_first_entry() macro never returns NULL.  If the list is\nempty then it returns an invalid pointer.  Use list_first_entry_or_null()\nto check if the list is empty.","modified":"2026-05-15T11:53:22.197154139Z","published":"2025-07-02T14:43:30.776Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38092.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/10379171f346e6f61d30d9949500a8de4336444a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/334da674b25fdb7a1a4d4b89dcd7795144fc7e11"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c78abb646ff823e7d22faad4cc0703d4484da9e8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cb7e06e9736d73007dc8dab7b353733bb37df86b"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38092.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38092"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.6.88"},{"fixed":"6.6.93"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.12.25"},{"fixed":"6.12.32"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.14.4"},{"fixed":"6.14.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38092.json"}}],"schema_version":"1.7.5"}