{
  "id": "CVE-2025-38092",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38092",
  "published_at": "2025-07-02T14:43:30.776Z",
  "title": "ksmbd: use list_first_entry_or_null for opinfo_get_list()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-476",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc5:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc6:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.15:rc7:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.8,
    "nvd": 5.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 296cb5457cc6f4a754c4ae29855f8a253d52bcc6, \u003c c78abb646ff823e7d22faad4cc0703d4484da9e8",
          "\u003e= d54ab1520d43e95f9b2e22d7a05fc9614192e5a5, \u003c 334da674b25fdb7a1a4d4b89dcd7795144fc7e11",
          "\u003e= d73686367ad68534257cd88a36ca3c52cb8b81d8, \u003c cb7e06e9736d73007dc8dab7b353733bb37df86b",
          "\u003e= 18b4fac5ef17f77fed9417d22210ceafd6525fc7, \u003c 10379171f346e6f61d30d9949500a8de4336444a"
        ],
        "fixed_in": [
          "c78abb646ff823e7d22faad4cc0703d4484da9e8",
          "334da674b25fdb7a1a4d4b89dcd7795144fc7e11",
          "cb7e06e9736d73007dc8dab7b353733bb37df86b",
          "10379171f346e6f61d30d9949500a8de4336444a"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 6.6.88, \u003c 6.6.93",
          "\u003e= 6.12.25, \u003c 6.12.32",
          "\u003e= 6.14.4, \u003c 6.14.10"
        ],
        "fixed_in": [
          "6.6.93",
          "6.12.32",
          "6.14.10"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to c78abb646ff823e7d22faad4cc0703d4484da9e8 or 334da674b25fdb7a1a4d4b89dcd7795144fc7e11 or cb7e06e9736d73007dc8dab7b353733bb37df86b or 10379171f346e6f61d30d9949500a8de4336444a or later.",
      "Upgrade Linux to 6.6.93 or 6.12.32 or 6.14.10 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
