CVE-2026-31489: spi: meson-spicc: Fix double-put in remove path

Published Apr 22, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

spi: meson-spicc: Fix double-put in remove path

mesonspiccprobe() registers the controller with devmspiregistercontroller(), so teardown already drops the controller reference via devm cleanup.

Calling spicontrollerput() again in mesonspiccremove() causes a double-put.

Affected Software

18 affected components
Linux Linux kernel (meson-spicc SPI controller)
Linux Linux kernel>=4.14.244<4.15
Linux Linux kernel>=4.19.203<4.20
Linux Linux kernel>=5.4.140<5.5
Linux Linux kernel>=5.10.58<5.11
Linux Linux kernel>=5.13.10<5.14
Linux Linux kernel>=5.14.1<6.12.80
Linux Linux kernel>=6.13<6.18.21
Linux Linux kernel>=6.19<6.19.11
Linux Linux kernel=5.14
Linux Linux kernel=7.0-rc1
Linux Linux kernel=7.0-rc2
Linux Linux kernel=7.0-rc3
Linux Linux kernel=7.0-rc4
Linux Linux kernel=7.0-rc5
Linux Linux kernel=7.0-rc6
Linux Linux kernel=7.0-rc7
Microsoft azl3 kernel 6.6.141.1-1

Event History

Apr 22, 2026
CVE Published
via MITRE·01:54 PM
Data Sourced
via MITRE·01:54 PM
Description
Data Sourced
via NVD·02:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Apr 23, 2026
Data Sourced
via Microsoft·08:06 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:06 AM
Affected Software
Updated
via Microsoft·08:06 AM
DescriptionSeverity

Frequently Asked Questions

1

What systems are exposed to this issue?

Systems running a Linux kernel with the meson-spicc SPI controller are affected. Microsoft azl3 kernel 6.6.141.1-1 is also listed as affected.

2

What access would an attacker need to exploit it?

The CVSS vector indicates local access and low privileges are required. No user interaction is required.

3

Is this caused by the SPI controller's normal removal path?

Yes. The issue occurs when meson_spicc_remove() calls spi_controller_put() even though devm_spi_register_controller() already arranges for the controller reference to be dropped during device-managed cleanup.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203