Bug 2375920 (CVE-2025-38092) - CVE-2025-38092 kernel: ksmbd: use list_first_entry_or_null for opinfo_get_list()
Summary: CVE-2025-38092 kernel: ksmbd: use list_first_entry_or_null for opinfo_get_list()
Keywords:
Status: NEW
Alias: CVE-2025-38092
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-07-02 15:01 UTC by OSIDB Bzimport
Modified: 2025-07-02 15:59 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-07-02 15:01:55 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.