CVE-2026-139756: spi: amlogic: spisg: Fix transfer size limit and timeout handling

Published Nov 30, 2026
·
Updated

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

spi: amlogic: spisg: Fix transfer size limit and timeout handling

The CFGBLOCKNUM field can encode at most 20 bits, so reduce SPISGBLOCKMAX to 0xfffff to avoid programming a zero-length transfer.

Perform the delay calculation in 64-bit arithmetic to avoid overflow when converting nanoseconds to SPI clock cycles.

Stop the controller on transfer timeout by clearing the descriptor list register before returning an error.

Affected Software

5 affected componentsFixes available
Linux Linux kernel
linux/kernel>=6.17.0<6.18.65
6.18.65
linux/kernel>=6.19.0<7.3.6
7.3.6
debian/linux<7.3.6-1
7.3.6-1
debian/linux
7.3.6-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.65
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.6
  3. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 7.3.6-1

Event History

Nov 30, 2026
CVE Published
via MITRE·01:37 PM
Data Sourced
via MITRE·01:37 PM
Description
Data Sourced
via OSV·01:37 PM
DescriptionAffected Software
Data Sourced
via NVD·02:20 PM
Description

Frequently Asked Questions

1

What conditions are required to trigger the faulty transfer handling?

The issue is in the Amlogic SPISG SPI driver and concerns transfers whose block count exceeds the 20-bit CFG_BLOCK_NUM field, delay calculations that overflow during nanosecond-to-clock-cycle conversion, or transfers that time out.

2

What is the operational impact of a transfer timeout before the fix?

Before the fix, the driver can return an error without clearing the descriptor list register to stop the controller. The fix explicitly clears that register on timeout.

3

How can I determine whether a system needs this fix?

Determine whether the running Linux kernel uses the Amlogic SPISG SPI driver and whether it includes the referenced stable commits. Systems not using that driver are not implicated by the provided information.

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