# CVE-2025-37838: HSI: ssi\_protocol: Fix use after free vulnerability in ssi\_protocol Driver Due to Race Condition

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-04-18 · Modified: 2026-08-05
- Aliases: UBUNTU-CVE-2025-37838, DEBIAN-CVE-2025-37838
- Record: https://cvemate.com/vulnerability/CVE-2025-37838 · JSON: https://cvemate.com/vulnerability/CVE-2025-37838/json

## Description

```text
In the Linux kernel, the following vulnerability has been resolved:

HSI: ssi_protocol: Fix use after free vulnerability in ssi_protocol Driver Due to Race Condition

In the ssi_protocol_probe() function, &ssi->work is bound with
ssip_xmit_work(), In ssip_pn_setup(), the ssip_pn_xmit() function
within the ssip_pn_ops structure is capable of starting the
work.

If we remove the module which will call ssi_protocol_remove()
to make a cleanup, it will free ssi through kfree(ssi),
while the work mentioned above will be used. The sequence
of operations that may lead to a UAF bug is as follows:

CPU0                                    CPU1

                        | ssip_xmit_work
ssi_protocol_remove     |
kfree(ssi);             |
                        | struct hsi_client *cl = ssi->cl;
                        | // use ssi

Fix it by ensuring that the work is canceled before proceeding
with the cleanup in ssi_protocol_remove().
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.253%, percentile 17.952%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 143)

- debian linux (Debian): \< 6.1.135-1 \| \< 6.12.25-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 4.4.0-274.308 \| \< 4.15.0-243.255 \| \< 5.4.0-223.243 \| \< 5.15.0-144.157 \| \< 6.8.0-87.88
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 4.4.0-1149.155 \| \< 4.4.0-1187.202 \| \< 4.15.0-1186.199 \| \< 5.4.0-1152.162 \| \< 5.15.0-1088.95 \| \< 6.8.0-1042.44
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1088.95~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1152.162~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1042.44~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2124.130 \| All versions (No fix recorded) \| \< 5.4.0-1152.162+fips1 \| \< 5.15.0-1088.95+fips1 \| \< 6.8.0-1042.44+fips1
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1186.199~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1194.209~14.04.1 \| \< 4.15.0-1194.209~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1156.163 \| \< 5.15.0-1094.103 \| \< 6.8.0-1044.50
- ubuntu linux-azure-4.15 (Ubuntu): \< 4.15.0-1194.209
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 48)

- <https://git.kernel.org/stable/c/d03abc1c2b21324550fa71e12d53e7d3498e0af6>
- <https://git.kernel.org/stable/c/4a8c29beb8a02b5a0a9d77d608aa14b6f88a6b86>
- <https://git.kernel.org/stable/c/72972552d0d0bfeb2dec5daf343a19018db36ffa>
- <https://git.kernel.org/stable/c/d58493832e284f066e559b8da5ab20c15a2801d3>
- <https://git.kernel.org/stable/c/58eb29dba712ab0f13af59ca2fe545f5ce360e78>
- <https://git.kernel.org/stable/c/ae5a6a0b425e8f76a9f0677e50796e494e89b088>
- <https://git.kernel.org/stable/c/834e602d0cc7c743bfce734fad4a46cefc0f9ab1>
- <https://git.kernel.org/stable/c/4b4194c9a7a8f92db39e8e86c85f4fb12ebbec4f>
- <https://git.kernel.org/stable/c/e3f88665a78045fe35c7669d2926b8d97b892c11>
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>
- <https://ubuntu.com/security/CVE-2025-37838>
- <https://www.cve.org/CVERecord?id=CVE-2025-37838>
- <https://git.kernel.org/linus/e3f88665a78045fe35c7669d2926b8d97b892c11>
- <https://ubuntu.com/security/notices/USN-7594-1>
- <https://ubuntu.com/security/notices/USN-7594-2>
- <https://ubuntu.com/security/notices/USN-7594-3>
- <https://ubuntu.com/security/notices/USN-7654-1>
- <https://ubuntu.com/security/notices/USN-7654-2>
- <https://ubuntu.com/security/notices/USN-7654-3>

---

Data as of 2026-12-05T04:47:29.649Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
