{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-38092","id":"CVE-2025-38092","title":"ksmbd: use list_first_entry_or_null for opinfo_get_list()","description":"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.","descriptionLong":"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.","published":"2025-07-02T14:43:30.776Z","updated":"2026-10-28T02:31:10.358569178Z","reserved":"2025-04-16T04:51:23.983Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"296cb5457cc6f4a754c4ae29855f8a253d52bcc6","lessThan":"c78abb646ff823e7d22faad4cc0703d4484da9e8","status":"affected","versionType":"git"},{"version":"d54ab1520d43e95f9b2e22d7a05fc9614192e5a5","lessThan":"334da674b25fdb7a1a4d4b89dcd7795144fc7e11","status":"affected","versionType":"git"},{"version":"d73686367ad68534257cd88a36ca3c52cb8b81d8","lessThan":"cb7e06e9736d73007dc8dab7b353733bb37df86b","status":"affected","versionType":"git"},{"version":"18b4fac5ef17f77fed9417d22210ceafd6525fc7","lessThan":"10379171f346e6f61d30d9949500a8de4336444a","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"6.6.88","lessThan":"6.6.93","status":"affected","versionType":"semver"},{"version":"6.12.25","lessThan":"6.12.32","status":"affected","versionType":"semver"},{"version":"6.14.4","lessThan":"6.14.10","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/c78abb646ff823e7d22faad4cc0703d4484da9e8","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/334da674b25fdb7a1a4d4b89dcd7795144fc7e11","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/cb7e06e9736d73007dc8dab7b353733bb37df86b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/10379171f346e6f61d30d9949500a8de4336444a","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38092.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38092","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0034,"epssPercentile":0.28044,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-38092","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38092","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-38092","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-38092","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}