CVE-2026-31783

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

State
Published
Severity
Not scored
Published
May 1, 2026
Updated
May 11, 2026
Reserved
Mar 9, 2026

Read the record on cve.org

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

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 4670db6f32e9379f5ab6c9bb2a6787cd9b9230a9 to before ee4c064e37d4d0ddc5a7580933dbe79a2c6acafcAffected
  • 4670db6f32e9379f5ab6c9bb2a6787cd9b9230a9 to before 5e11741aec3b242a197250b473c37b58f53a16b6Affected
  • 4670db6f32e9379f5ab6c9bb2a6787cd9b9230a9 to before b0dc7e7c56573e7a52080f25f3179a45f3dd7e6fAffected
LinuxLinux
  • 6.18Affected
  • before 6.18Not affected
  • 6.18.22 through 6.18.*Not affected
  • 6.19.12 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.