0.0
NA
CVE-2026-143096
spi: axi-spi-engine: Start the program length at zero
Description

In the Linux kernel, the following vulnerability has been resolved: spi: axi-spi-engine: Start the program length at zero spi_engine_optimize_message() allocates the program with kzalloc_flex(), which sets the __counted_by() counter "length" to the allocated size when the compiler supports __builtin_counted_by_ref(). The program is then filled by spi_engine_program_add_cmd(), which increments "length" and stores at length - 1, expecting it to start at zero as it did when the program came from kzalloc(). Reset "length" after the allocation, since it is a "usage" counter, not a "total allocation" counter. Build tested ARCH=x86_64 defconfig with CONFIG_SPI_AXI_SPI_ENGINE=m and W=1, with GCC 16.2.0.

INFO

Published Date :

Dec. 3, 2026, 9:19 a.m.

Last Modified :

Dec. 3, 2026, 9:19 a.m.

Remotely Exploit :

No

Source :

Linux
Affected Products

The following products are affected by CVE-2026-143096 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

Solution
Reset the program length counter to zero after allocation to prevent memory corruption.
  • Reset the 'length' counter after kzalloc_flex() allocation.
  • Ensure 'length' correctly reflects usage, not allocation size.
  • Apply the patch to the Linux kernel's AXI SPI engine driver.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-143096 vulnerability anywhere in the article.

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.