CVE-2025-37838: HSI: ssi_protocol: Fix use after free vulnerability in ssi_protocol Driver Due to Race Condition
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().
Security readout for executives and security teams
Plain-English summary
A race in the Linux HSI ssi_protocol driver can leave background work using memory after it has been freed during driver removal. A local, low-privileged attacker may be able to trigger a kernel crash or compromise confidentiality and integrity, but practical reachability depends on the driver being present and usable.
Executive priority
Prioritize affected multi-user or otherwise untrusted Linux systems where this uncommon driver is enabled. Treat confirmed reachable installations as high priority because successful exploitation could affect the entire host. Systems without the driver or required hardware path are likely lower urgency, but should be validated rather than assumed safe.
Technical view
During ssi_protocol_remove(), the driver frees its ssi structure while ssip_xmit_work() may still reference it on another CPU, causing a CWE-416 use-after-free. The upstream correction cancels the pending work before cleanup. CVSS 3.1 is 7.8: local access, low complexity, low privileges, no user interaction, and potentially high confidentiality, integrity, and availability impact.
Likely exposure
Exposure is concentrated on Linux systems with an affected ssi_protocol driver available and a reachable path to concurrent transmission work and driver removal. The supplied record lists affected releases across several kernel lines, but distribution backports can change status; kernel version strings alone are not conclusive.
Exploitation context
CISA KEV status is false, and the supplied sources provide no evidence of active exploitation. The CVSS vector describes local, low-privileged access rather than remote exploitation. Triggering the flaw also depends on driver-specific activity and a cleanup race, which may limit real-world exposure.
Researcher notes
The critical race is between ssi_protocol_remove() freeing ssi and ssip_xmit_work() dereferencing ssi->cl. The stated fix synchronously cancels work before cleanup. The source bundle does not establish exploit reliability, required hardware details, or whether every listed release is vulnerable after downstream backports; assess exact kernel builds against vendor records or fix commits.
Mitigation direction
Apply a vendor-supported kernel update containing the applicable stable fix.
Confirm distribution advisories because vendors may backport fixes without changing major kernel versions.
If updating is delayed, disable the unused ssi_protocol driver where operationally safe.
Restrict local access and unnecessary module-management capability until remediation is verified.
Validation and detection
Inventory running kernels and identify hosts where the ssi_protocol driver is built or installed.
Determine whether the driver is loaded, used, or required by attached HSI hardware.
Confirm the installed vendor kernel includes the applicable stable fix or documented backport.
After updating, verify each host booted into the remediated kernel.
Monitor kernel logs for driver faults or unexpected crashes during the remediation window.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-416: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
3Timeline events
2ADP providers
12Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-416 · source CWE mapping
Use After Free
Use After Free represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.