CVE-2025-37838
HSI: ssi_protocol: Fix use after free vulnerability in ssi_protocol Driver Due to Race Condition
Check your servers for CVE-2025-37838
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-37838 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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().
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 18.0% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 21 Apr 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-416 Use After Free
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from df26d639e2f4628732a8da5a0f71e4e652ce809b, before d03abc1c2b21324550fa71e12d53e7d3498e0af6 affected from df26d639e2f4628732a8da5a0f71e4e652ce809b, before 4a8c29beb8a02b5a0a9d77d608aa14b6f88a6b86 affected from df26d639e2f4628732a8da5a0f71e4e652ce809b, before 72972552d0d0bfeb2dec5daf343a19018db36ffa affected from df26d639e2f4628732a8da5a0f71e4e652ce809b, before d58493832e284f066e559b8da5ab20c15a2801d3 affected from df26d639e2f4628732a8da5a0f71e4e652ce809b, before 58eb29dba712ab0f13af59ca2fe545f5ce360e78 affected from df26d639e2f4628732a8da5a0f71e4e652ce809b, before ae5a6a0b425e8f76a9f0677e50796e494e89b088 affected from df26d639e2f4628732a8da5a0f71e4e652ce809b, before 834e602d0cc7c743bfce734fad4a46cefc0f9ab1 affected from df26d639e2f4628732a8da5a0f71e4e652ce809b, before 4b4194c9a7a8f92db39e8e86c85f4fb12ebbec4f affected from df26d639e2f4628732a8da5a0f71e4e652ce809b, before e3f88665a78045fe35c7669d2926b8d97b892c11
Other versions: unaffected
|
| Linux |
affected 4.8 unaffected before 4.8 unaffected from 5.4.293 up to and including 5.4.* unaffected from 5.10.237 up to and including 5.10.* unaffected from 5.15.181 up to and including 5.15.* unaffected from 6.1.135 up to and including 6.1.* unaffected from 6.6.88 up to and including 6.6.* unaffected from 6.12.24 up to and including 6.12.* unaffected from 6.13.12 up to and including 6.13.* unaffected from 6.14.3 up to and including 6.14.* unaffected 6.15 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-37838 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-37838
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-37838
trivy image --scanners vuln IMAGE | grep CVE-2025-37838
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/d03abc1c2b21324550fa71e12d53e7d3498e0af6 git.kernel.org
- https://git.kernel.org/stable/c/4a8c29beb8a02b5a0a9d77d608aa14b6f88a6b86 git.kernel.org
- https://git.kernel.org/stable/c/72972552d0d0bfeb2dec5daf343a19018db36ffa git.kernel.org
- https://git.kernel.org/stable/c/d58493832e284f066e559b8da5ab20c15a2801d3 git.kernel.org
- https://git.kernel.org/stable/c/58eb29dba712ab0f13af59ca2fe545f5ce360e78 git.kernel.org
- https://git.kernel.org/stable/c/ae5a6a0b425e8f76a9f0677e50796e494e89b088 git.kernel.org
- https://git.kernel.org/stable/c/834e602d0cc7c743bfce734fad4a46cefc0f9ab1 git.kernel.org
- https://git.kernel.org/stable/c/4b4194c9a7a8f92db39e8e86c85f4fb12ebbec4f git.kernel.org
- https://git.kernel.org/stable/c/e3f88665a78045fe35c7669d2926b8d97b892c11 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html lists.debian.org
Source: the record CVE-2025-37838 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse