CVE-2025-38092 Details
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.
A vulnerability in the Linux kernel's ksmbd component was addressed, related to the improper handling of list entries in the opinfo_get_list() function. The original implementation used the list_first_entry() macro, which could return an invalid pointer if the list was empty. The vulnerability has been resolved by replacing it with list_first_entry_or_null(), which correctly checks for an empty list.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/10379171f346e6f61d30d9949500a8de4336444a | kernel.org | Patch |
| https://git.kernel.org/stable/c/334da674b25fdb7a1a4d4b89dcd7795144fc7e11 | kernel.org | Patch |
| https://git.kernel.org/stable/c/c78abb646ff823e7d22faad4cc0703d4484da9e8 | kernel.org | Patch |
| https://git.kernel.org/stable/c/cb7e06e9736d73007dc8dab7b353733bb37df86b | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.6.88, < 6.6.93 >= 6.12.25, < 6.12.32 >= 6.14.4, < 6.14.10 6.15 rc3 6.15 rc4 6.15 rc5 6.15 rc6 6.15 rc7 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 20, 2025 | Initial Analysis | [email protected] |
| Jul 2, 2025 | New CVE Received | kernel.org |