{"id":"CVE-2025-37838","aliases":["CVE-2025-37838"],"related":[],"kind":"vulnerability","state":"published","title":"HSI: ssi_protocol: Fix use after free vulnerability in ssi_protocol Driver Due to Race Condition","summary":"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, &ssi->work 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->cl;\n                        | // use ssi\n\nFix it by ensuring that the work is canceled before proceeding\nwith the cleanup in ssi_protocol_remove().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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, &ssi->work 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->cl;\n                        | // use ssi\n\nFix it by ensuring that the work is canceled before proceeding\nwith the cleanup in ssi_protocol_remove().","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: HSI: ssi_protocol: Se corrige la vulnerabilidad de use-after-free en el controlador ssi_protocol debido a la condición de ejecución en la función ssi_protocol_probe(), &amp;ssi-&gt;work está enlazada con ssip_xmit_work(), En ssip_pn_setup(), la función ssip_pn_xmit() dentro de la estructura ssip_pn_ops es capaz de iniciar el trabajo. Si eliminamos el módulo que llamará a ssi_protocol_remove() para hacer una limpieza, liberará ssi a través de kfree(ssi), mientras que el trabajo mencionado anteriormente se utilizará. La secuencia de operaciones que puede llevar a un error de UAF es la siguiente: CPU0 CPU1 | ssip_xmit_work ssi_protocol_remove | kfree(ssi); | | struct hsi_client *cl = ssi-&gt;cl; | // use ssi Corríjalo asegurándose de que el trabajo se cancele antes de continuar con la limpieza en ssi_protocol_remove().","source":"nvd"}],"published":"2025-04-18T14:20:55.389Z","modified":"2026-08-05T11:57:47.833Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"df26d639e2f4628732a8da5a0f71e4e652ce809b","fixed":"d03abc1c2b21324550fa71e12d53e7d3498e0af6","status":"affected"},{"type":"git","introduced":"df26d639e2f4628732a8da5a0f71e4e652ce809b","fixed":"4a8c29beb8a02b5a0a9d77d608aa14b6f88a6b86","status":"affected"},{"type":"git","introduced":"df26d639e2f4628732a8da5a0f71e4e652ce809b","fixed":"72972552d0d0bfeb2dec5daf343a19018db36ffa","status":"affected"},{"type":"git","introduced":"df26d639e2f4628732a8da5a0f71e4e652ce809b","fixed":"d58493832e284f066e559b8da5ab20c15a2801d3","status":"affected"},{"type":"git","introduced":"df26d639e2f4628732a8da5a0f71e4e652ce809b","fixed":"58eb29dba712ab0f13af59ca2fe545f5ce360e78","status":"affected"},{"type":"git","introduced":"df26d639e2f4628732a8da5a0f71e4e652ce809b","fixed":"ae5a6a0b425e8f76a9f0677e50796e494e89b088","status":"affected"},{"type":"git","introduced":"df26d639e2f4628732a8da5a0f71e4e652ce809b","fixed":"834e602d0cc7c743bfce734fad4a46cefc0f9ab1","status":"affected"},{"type":"git","introduced":"df26d639e2f4628732a8da5a0f71e4e652ce809b","fixed":"4b4194c9a7a8f92db39e8e86c85f4fb12ebbec4f","status":"affected"},{"type":"git","introduced":"df26d639e2f4628732a8da5a0f71e4e652ce809b","fixed":"e3f88665a78045fe35c7669d2926b8d97b892c11","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.8","status":"unaffected"},{"type":"semver","introduced":"5.4.293","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.237","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.181","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.135","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.88","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.24","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.12","lastAffected":"6.13.*","status":"unaffected"},{"type":"semver","introduced":"6.14.3","lastAffected":"6.14.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.15","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"6.1.135"},{"status":"affected","introduced":"6.2","fixed":"6.6.88"},{"status":"affected","introduced":"6.7","fixed":"6.12.24"},{"status":"affected","introduced":"6.13","fixed":"6.13.12"},{"status":"affected","introduced":"6.14","fixed":"6.14.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/d03abc1c2b21324550fa71e12d53e7d3498e0af6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4a8c29beb8a02b5a0a9d77d608aa14b6f88a6b86","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/72972552d0d0bfeb2dec5daf343a19018db36ffa","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d58493832e284f066e559b8da5ab20c15a2801d3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/58eb29dba712ab0f13af59ca2fe545f5ce360e78","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ae5a6a0b425e8f76a9f0677e50796e494e89b088","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/834e602d0cc7c743bfce734fad4a46cefc0f9ab1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4b4194c9a7a8f92db39e8e86c85f4fb12ebbec4f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e3f88665a78045fe35c7669d2926b8d97b892c11","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-04-21T14:38:43.871Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-37838","url":"https://www.cve.org/CVERecord?id=CVE-2025-37838","licence":"CVE Terms of Use","modified":"2026-08-05T11:57:47.833Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-37838","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-37838","licence":"Public domain","modified":"2026-06-17T09:15:32.310Z"}],"updatedAt":"2026-11-25T22:58:56.771Z","epss":{"score":0.00253,"percentile":0.18,"date":"2026-12-01T12:00:22.000Z"}}