CVE-2026-31783

MEDIUM

spi: amlogic: spifc-a4: unregister ECC engine on probe failure and remove() callback

Title source: cna
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: spi: amlogic: spifc-a4: unregister ECC engine on probe failure and remove() callback aml_sfc_probe() registers the on-host NAND ECC engine, but teardown was missing from both probe unwind and remove-time cleanup. Add a devm cleanup action after successful registration so nand_ecc_unregister_on_host_hw_engine() runs automatically on probe failures and during device removal.

Scores

CVSS v3 5.5
EPSS 0.0001
EPSS Percentile 2.2%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

Status published
Products (11)
Linux/Linux < 6.18
Linux/Linux 4670db6f32e9379f5ab6c9bb2a6787cd9b9230a9 - 5e11741aec3b242a197250b473c37b58f53a16b6
Linux/Linux 4670db6f32e9379f5ab6c9bb2a6787cd9b9230a9 - b0dc7e7c56573e7a52080f25f3179a45f3dd7e6f
Linux/Linux 4670db6f32e9379f5ab6c9bb2a6787cd9b9230a9 - ee4c064e37d4d0ddc5a7580933dbe79a2c6acafc
Linux/Linux 6.18
Linux/Linux 6.18.22 - 6.18.*
Linux/Linux 6.19.12 - 6.19.*
Linux/Linux 7.0
linux/linux_kernel 6.18
linux/linux_kernel 7.0 rc1 (6 CPE variants)
... and 1 more
Published May 01, 2026
Tracked Since May 01, 2026