{
  "id": "CVE-2025-37838",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-37838",
  "published_at": "2025-04-18T14:20:55.389Z",
  "title": "HSI: ssi_protocol: Fix use after free vulnerability in ssi_protocol Driver Due to Race Condition",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:L/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\nHSI: ssi_protocol: Fix use after free vulnerability in ssi_protocol Driver Due to Race Condition\n\nIn the ssi_protocol_probe() function, \u0026ssi-\u003ework is bound with\nssip_xmit_work(), In ssip_pn_setup(), the ssip_pn_xmit() function\nwithin the ssip_pn_ops structure is capable of starting the\nwork.\n\nIf we remove the module which will call ssi_protocol_remove()\nto make a cleanup, it will free ssi through kfree(ssi),\nwhile the work mentioned above will be used. The sequence\nof operations that may lead to a UAF bug is as follows:\n\nCPU0                                    CPU1\n\n                        | ssip_xmit_work\nssi_protocol_remove     |\nkfree(ssi);             |\n                        | struct hsi_client *cl = ssi-\u003ecl;\n                        | // use ssi\n\nFix it by ensuring that the work is canceled before proceeding\nwith the cleanup in ssi_protocol_remove().",
  "cwe": "CWE-416",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cisa-adp": 7.8,
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= df26d639e2f4628732a8da5a0f71e4e652ce809b, \u003c d03abc1c2b21324550fa71e12d53e7d3498e0af6",
          "\u003e= df26d639e2f4628732a8da5a0f71e4e652ce809b, \u003c 4a8c29beb8a02b5a0a9d77d608aa14b6f88a6b86",
          "\u003e= df26d639e2f4628732a8da5a0f71e4e652ce809b, \u003c 72972552d0d0bfeb2dec5daf343a19018db36ffa",
          "\u003e= df26d639e2f4628732a8da5a0f71e4e652ce809b, \u003c d58493832e284f066e559b8da5ab20c15a2801d3",
          "\u003e= df26d639e2f4628732a8da5a0f71e4e652ce809b, \u003c 58eb29dba712ab0f13af59ca2fe545f5ce360e78",
          "\u003e= df26d639e2f4628732a8da5a0f71e4e652ce809b, \u003c ae5a6a0b425e8f76a9f0677e50796e494e89b088",
          "\u003e= df26d639e2f4628732a8da5a0f71e4e652ce809b, \u003c 834e602d0cc7c743bfce734fad4a46cefc0f9ab1",
          "\u003e= df26d639e2f4628732a8da5a0f71e4e652ce809b, \u003c 4b4194c9a7a8f92db39e8e86c85f4fb12ebbec4f",
          "\u003e= df26d639e2f4628732a8da5a0f71e4e652ce809b, \u003c e3f88665a78045fe35c7669d2926b8d97b892c11"
        ],
        "fixed_in": [
          "d03abc1c2b21324550fa71e12d53e7d3498e0af6",
          "4a8c29beb8a02b5a0a9d77d608aa14b6f88a6b86",
          "72972552d0d0bfeb2dec5daf343a19018db36ffa",
          "d58493832e284f066e559b8da5ab20c15a2801d3",
          "58eb29dba712ab0f13af59ca2fe545f5ce360e78",
          "ae5a6a0b425e8f76a9f0677e50796e494e89b088",
          "834e602d0cc7c743bfce734fad4a46cefc0f9ab1",
          "4b4194c9a7a8f92db39e8e86c85f4fb12ebbec4f",
          "e3f88665a78045fe35c7669d2926b8d97b892c11"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "4.8"
        ],
        "fixed_in": [
          "0",
          "5.4.293",
          "5.10.237",
          "5.15.181",
          "6.1.135",
          "6.6.88",
          "6.12.24",
          "6.13.12",
          "6.14.3",
          "6.15"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to d03abc1c2b21324550fa71e12d53e7d3498e0af6 or 4a8c29beb8a02b5a0a9d77d608aa14b6f88a6b86 or 72972552d0d0bfeb2dec5daf343a19018db36ffa or d58493832e284f066e559b8da5ab20c15a2801d3 or 58eb29dba712ab0f13af59ca2fe545f5ce360e78 or ae5a6a0b425e8f76a9f0677e50796e494e89b088 or 834e602d0cc7c743bfce734fad4a46cefc0f9ab1 or 4b4194c9a7a8f92db39e8e86c85f4fb12ebbec4f or e3f88665a78045fe35c7669d2926b8d97b892c11 or later.",
      "Upgrade Linux to 0 or 5.4.293 or 5.10.237 or 5.15.181 or 6.1.135 or 6.6.88 or 6.12.24 or 6.13.12 or 6.14.3 or 6.15 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
