CVE-2025-38092

published 2 Jul 2025 · updated 5 Aug 2026

ksmbd: use list_first_entry_or_null for opinfo_get_list()

8.8HighCVSS 8.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 10379171f346e6f61d30d9949500a8de4336444a, Kernel c78abb646ff823e7d22faad4cc0703d4484da9e8, Kernel 6.12.32 and 4 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=18b4fac5ef17f77fed9417d22210ceafd6525fc7 <10379171f346e6f61d30d9949500a8de4336444a, >=296cb5457cc6f4a754c4ae29855f8a253d52bcc6 <c78abb646ff823e7d22faad4cc0703d4484da9e8, >=6.12.25 <6.12.32, >=6.14.4 <6.14.10, >=6.6.88 <6.6.93, >=d54ab1520d43e95f9b2e22d7a05fc9614192e5a5 <334da674b25fdb7a1a4d4b89dcd7795144fc7e11, >=d73686367ad68534257cd88a36ca3c52cb8b81d8 <cb7e06e9736d73007dc8dab7b353733bb37df86b10379171f346e6f61d30d9949500a8de4336444a, c78abb646ff823e7d22faad4cc0703d4484da9e8, 6.12.32, 6.14.10, 6.6.93, 334da674b25fdb7a1a4d4b89dcd7795144fc7e11, cb7e06e9736d73007dc8dab7b353733bb37df86b

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38092 severity on Zeptric[![CVE-2025-38092](https://zeptric.io/badge/cve/CVE-2025-38092.svg)](https://zeptric.io/cve/CVE-2025-38092)