{
  "id": "CVE-2025-22041",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-22041",
  "published_at": "2025-04-16T14:11:58.25Z",
  "title": "ksmbd: fix use-after-free in ksmbd_sessions_deregister()",
  "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 use-after-free in ksmbd_sessions_deregister()\n\nIn multichannel mode, UAF issue can occur in session_deregister\nwhen the second channel sets up a session through the connection of\nthe first channel. session that is freed through the global session\ntable can be accessed again through -\u003esessions of connection.",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cisa-adp": 7.8,
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 0626e6641f6b467447c81dd7678a69c66f7746cf, \u003c f0eb3f575138b816da74697bd506682574742fcd",
          "\u003e= 0626e6641f6b467447c81dd7678a69c66f7746cf, \u003c a8a8ae303a8395cbac270b5b404d85df6ec788f8",
          "\u003e= 0626e6641f6b467447c81dd7678a69c66f7746cf, \u003c ca042cc0e4f9e0d2c8f86dd67e4b22f30a516a9b",
          "\u003e= 0626e6641f6b467447c81dd7678a69c66f7746cf, \u003c 8ed0e9d2f410f63525afb8351181eea36c80bcf1",
          "\u003e= 0626e6641f6b467447c81dd7678a69c66f7746cf, \u003c 33cc29e221df7a3085ae413e8c26c4e81a151153",
          "\u003e= 0626e6641f6b467447c81dd7678a69c66f7746cf, \u003c 15a9605f8d69dc85005b1a00c31a050b8625e1aa"
        ],
        "fixed_in": [
          "f0eb3f575138b816da74697bd506682574742fcd",
          "a8a8ae303a8395cbac270b5b404d85df6ec788f8",
          "ca042cc0e4f9e0d2c8f86dd67e4b22f30a516a9b",
          "8ed0e9d2f410f63525afb8351181eea36c80bcf1",
          "33cc29e221df7a3085ae413e8c26c4e81a151153",
          "15a9605f8d69dc85005b1a00c31a050b8625e1aa"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "5.15"
        ],
        "fixed_in": [
          "0",
          "6.1.134",
          "6.6.87",
          "6.12.23",
          "6.13.11",
          "6.14.2",
          "6.15"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to f0eb3f575138b816da74697bd506682574742fcd or a8a8ae303a8395cbac270b5b404d85df6ec788f8 or ca042cc0e4f9e0d2c8f86dd67e4b22f30a516a9b or 8ed0e9d2f410f63525afb8351181eea36c80bcf1 or 33cc29e221df7a3085ae413e8c26c4e81a151153 or 15a9605f8d69dc85005b1a00c31a050b8625e1aa or later.",
      "Upgrade Linux to 0 or 6.1.134 or 6.6.87 or 6.12.23 or 6.13.11 or 6.14.2 or 6.15 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
