CVE-2025-38092

ksmbd: use list_first_entry_or_null for opinfo_get_list()

published July 2, 2025

CVSS
—
EPSS
0%
Percentile
25.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00334 · 25.6th percentile
Published
2025-07-02T14:43Z
EPSS history
Timeline
  • 02 JUL 14:43Z
    ksmbd: use list_first_entry_or_null for opinfo_get_list()
    cvelistv5