CVEvulnerability
CVE-2025-38092
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2025-07-02
- Last modified
- 2026-07-30
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-476
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.
Affected configurations
• linux linux kernel (>= 6.6.88 < 6.6.93)
• linux linux kernel (>= 6.12.25 < 6.12.32)
• linux linux kernel (>= 6.14.4 < 6.14.10)
• linux linux kernel 6.15
Related
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://git.kernel.org/stable/c/10379171f346e6f61d30d9949500a8de4336444a Patch
- https://git.kernel.org/stable/c/334da674b25fdb7a1a4d4b89dcd7795144fc7e11 Patch
- https://git.kernel.org/stable/c/c78abb646ff823e7d22faad4cc0703d4484da9e8 Patch
- https://git.kernel.org/stable/c/cb7e06e9736d73007dc8dab7b353733bb37df86b Patch