CVE-2025-38092Published Jul 2, 2025 · Jul 2Updated Oct 28
ksmbd: use list_first_entry_or_null for opinfo_get_list()
Linux
High8.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
≥ 6.12.25 · < 6.12.32≥ 6.14.4 · < 6.14.10| No fix yet |
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.
From the CVE record · Linux
The Linux kernel’s ksmbd component can return an invalid pointer when opinfo_get_list() encounters an empty list. The input does not specify how an attacker could trigger this condition or whether access or user interaction is required.
Engineers running the Linux kernel with ksmbd should check their installations; affected versions were not provided.