{
  "id": "CVE-2025-38437",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-38437",
  "published_at": "2025-07-25T15:27:16.995Z",
  "title": "ksmbd: fix potential use-after-free in oplock/lease break ack",
  "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: fix potential use-after-free in oplock/lease break ack\n\nIf ksmbd_iov_pin_rsp return error, use-after-free can happen by\naccessing opinfo-\u003estate and opinfo_put and ksmbd_fd_put could\ncalled twice.",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:6.16:rc5:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.8,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 0626e6641f6b467447c81dd7678a69c66f7746cf, \u003c e38ec88a2b42c494601b1213816d75f0b54d9bf0",
          "\u003e= 0626e6641f6b467447c81dd7678a69c66f7746cf, \u003c 97c355989928a5f60b228ef5266c1be67a46cdf9",
          "\u003e= 0626e6641f6b467447c81dd7678a69c66f7746cf, \u003c 815f1161d6dbc4c54ccf94b7d3fdeab34b4d7477",
          "\u003e= 0626e6641f6b467447c81dd7678a69c66f7746cf, \u003c 8106adc21a2270c16abf69cd74ccd7c79c6e7acd",
          "\u003e= 0626e6641f6b467447c81dd7678a69c66f7746cf, \u003c 50f930db22365738d9387c974416f38a06e8057e"
        ],
        "fixed_in": [
          "e38ec88a2b42c494601b1213816d75f0b54d9bf0",
          "97c355989928a5f60b228ef5266c1be67a46cdf9",
          "815f1161d6dbc4c54ccf94b7d3fdeab34b4d7477",
          "8106adc21a2270c16abf69cd74ccd7c79c6e7acd",
          "50f930db22365738d9387c974416f38a06e8057e"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.15"
        ],
        "fixed_in": [
          "0",
          "6.1.146",
          "6.6.99",
          "6.12.39",
          "6.15.7",
          "6.16"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to e38ec88a2b42c494601b1213816d75f0b54d9bf0 or 97c355989928a5f60b228ef5266c1be67a46cdf9 or 815f1161d6dbc4c54ccf94b7d3fdeab34b4d7477 or 8106adc21a2270c16abf69cd74ccd7c79c6e7acd or 50f930db22365738d9387c974416f38a06e8057e or later.",
      "Upgrade Linux to 0 or 6.1.146 or 6.6.99 or 6.12.39 or 6.15.7 or 6.16 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
