CVE-2025-37838 json
HSI: ssi_protocol: Fix use after free vulnerability in ssi_protocol Driver Due to Race Condition
published 2025-04-18 18 mo ago modified 2026-08-05 3 mo ago also EUVD-2025-11838
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 16%
- public exploits
- 0
- none known
Summary
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().
Patch / fix
- Linux Linux 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
- linux Debian 12 6.1.135-1
- linux Debian 14, Debian 13 6.12.25-1
debian advisories DEBIAN-CVE-2025-37838
- linux Ubuntu 22.04 LTS 5.15.0-144.157
- linux Ubuntu 24.04 LTS 6.8.0-87.88
- linux-aws Ubuntu 22.04 LTS 5.15.0-1088.95
- linux-aws Ubuntu 24.04 LTS 6.8.0-1042.44
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1087.96
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1043.46
- linux-gke Ubuntu 22.04 LTS 5.15.0-1085.91
- linux-gke Ubuntu 24.04 LTS 6.8.0-1039.44
ubuntu advisories UBUNTU-CVE-2025-37838
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- git.kernel.org/stable/c/d03abc1c2b21324550fa71e12d53e7d3498e0af6 commit
- git.kernel.org/stable/c/4a8c29beb8a02b5a0a9d77d608aa14b6f88a6b86 commit
- git.kernel.org/stable/c/72972552d0d0bfeb2dec5daf343a19018db36ffa commit
- git.kernel.org/stable/c/d58493832e284f066e559b8da5ab20c15a2801d3 commit
- git.kernel.org/stable/c/58eb29dba712ab0f13af59ca2fe545f5ce360e78 commit
- git.kernel.org/stable/c/ae5a6a0b425e8f76a9f0677e50796e494e89b088 commit
- git.kernel.org/stable/c/834e602d0cc7c743bfce734fad4a46cefc0f9ab1 commit
- git.kernel.org/stable/c/4b4194c9a7a8f92db39e8e86c85f4fb12ebbec4f commit
- git.kernel.org/stable/c/e3f88665a78045fe35c7669d2926b8d97b892c11 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-37838 updated
kernel: HSI: ssi_protocol: Fix use after free vulnerability in ssi_protocol Driver Due to Race Condition
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
0.25% chance of exploitation in the next 30 days, higher than 16% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CISA ADP | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-416 Use After Free
- Technology feeds
References
- git.kernel.org /stable/c/d03abc1c2b21324550fa71e12d53e7d3498e0af6
- git.kernel.org /stable/c/4a8c29beb8a02b5a0a9d77d608aa14b6f88a6b86
- git.kernel.org /stable/c/72972552d0d0bfeb2dec5daf343a19018db36ffa
-
git.kernel.org
/stable/c/d58493832e284f066e559b8da5ab20c15a2801d3
patch
-
git.kernel.org
/stable/c/58eb29dba712ab0f13af59ca2fe545f5ce360e78
patch
-
git.kernel.org
/stable/c/ae5a6a0b425e8f76a9f0677e50796e494e89b088
patch
-
git.kernel.org
/stable/c/834e602d0cc7c743bfce734fad4a46cefc0f9ab1
patch
-
git.kernel.org
/stable/c/4b4194c9a7a8f92db39e8e86c85f4fb12ebbec4f
patch
-
git.kernel.org
/stable/c/e3f88665a78045fe35c7669d2926b8d97b892c11
patch
- lists.debian.org /debian-lts-announce/2025/05/msg00045.html
- lists.debian.org /debian-lts-announce/2025/05/msg00030.html
Sources
- CVE List CVE-2025-37838
- NVD CVE-2025-37838
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.