{"id":"CVE-2025-38092","aliases":["CVE-2025-38092"],"related":[],"kind":"vulnerability","state":"published","title":"ksmbd: use list_first_entry_or_null for opinfo_get_list()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: use list_first_entry_or_null for opinfo_get_list()\n\nThe list_first_entry() macro never returns NULL.  If the list is\nempty then it returns an invalid pointer.  Use list_first_entry_or_null()\nto check if the list is empty.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: use list_first_entry_or_null for opinfo_get_list()\n\nThe list_first_entry() macro never returns NULL.  If the list is\nempty then it returns an invalid pointer.  Use list_first_entry_or_null()\nto check if the list is empty.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ksmbd: usar list_first_entry_or_null para opinfo_get_list(). La macro list_first_entry() nunca devuelve NULL. Si la lista está vacía, devuelve un puntero no válido. Use list_first_entry_or_null() para comprobar si la lista está vacía.","source":"nvd"}],"published":"2025-07-02T14:43:30.776Z","modified":"2026-08-05T11:59:27.724Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"296cb5457cc6f4a754c4ae29855f8a253d52bcc6","fixed":"c78abb646ff823e7d22faad4cc0703d4484da9e8","status":"affected"},{"type":"git","introduced":"d54ab1520d43e95f9b2e22d7a05fc9614192e5a5","fixed":"334da674b25fdb7a1a4d4b89dcd7795144fc7e11","status":"affected"},{"type":"git","introduced":"d73686367ad68534257cd88a36ca3c52cb8b81d8","fixed":"cb7e06e9736d73007dc8dab7b353733bb37df86b","status":"affected"},{"type":"git","introduced":"18b4fac5ef17f77fed9417d22210ceafd6525fc7","fixed":"10379171f346e6f61d30d9949500a8de4336444a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"6.6.88","fixed":"6.6.93","status":"affected"},{"type":"semver","introduced":"6.12.25","fixed":"6.12.32","status":"affected"},{"type":"semver","introduced":"6.14.4","fixed":"6.14.10","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.6.88","fixed":"6.6.93"},{"status":"affected","introduced":"6.12.25","fixed":"6.12.32"},{"status":"affected","introduced":"6.14.4","fixed":"6.14.10"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"},{"status":"affected","version":"6.15"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/c78abb646ff823e7d22faad4cc0703d4484da9e8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/334da674b25fdb7a1a4d4b89dcd7795144fc7e11","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cb7e06e9736d73007dc8dab7b353733bb37df86b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/10379171f346e6f61d30d9949500a8de4336444a","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-38092","url":"https://www.cve.org/CVERecord?id=CVE-2025-38092","licence":"CVE Terms of Use","modified":"2026-08-05T11:59:27.724Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-38092","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38092","licence":"Public domain","modified":"2026-07-30T06:22:50.317Z"}],"updatedAt":"2026-11-25T22:59:00.482Z","epss":{"score":0.00355,"percentile":0.31242,"date":"2026-12-01T12:00:22.000Z"}}