CVE-2025-39893
published medium CVSS 3.1 · 5.5spi: spi-qpic-snand: unregister ECC engine on probe error and device remove
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux7304d1909080ef0c9da703500a97f46c98393fcd to < e4de48e66af17547727bb2e4b1867952817edff7 · 7304d1909080ef0c9da703500a97f46c98393fcd to < 1991a458528588ff34e98b6365362560d208710f · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.15 (affected) · 0 to < 6.15 (unaffected · semver) · 6.16.6 through 6.16.* (unaffected · semver) · 6.17 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: spi: spi-qpic-snand: unregister ECC engine on probe error and device remove The on-host hardware ECC engine remains registered both when the spi_register_controller() function returns with an error and also on device removal. Change the qcom_spi_probe() function to unregister the engine on the error path, and add the missing unregistering call to qcom_spi_remove() to avoid possible use-after-free issues.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 7304d1909080ef0c9da703500a97f46c98393fcd to < e4de48e66af17547727bb2e4b1867952817edff7 (affected · git)7304d1909080ef0c9da703500a97f46c98393fcd to < 1991a458528588ff34e98b6365362560d208710f (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.15 (affected)0 to < 6.15 (unaffected · semver)6.16.6 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-401 CWE-401 Missing Release of Memory after Effective Lifetime
References
2Provider assertions
2Linux · cna
spi: spi-qpic-snand: unregister ECC engine on probe error and device remove
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2ab1c2396d21cb759583c5c0df9183d2dfdfcc35bafe13263c73d2d86e19e2e8
- Ingested
- 23 Sep 2026, 08:47:06 UTC
- Source record
- Official CVE record