# CVE-2026-143096

- Bağlantı: https://www.allsafe.com.tr/cve-2026-143096/
- Yayımlanma: 2026-12-03T13:17:41+03:00
- Yazar: Postmaster

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.

Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme
ve üretici referansları için kaynak kaydı inceleyin.

Kaynak: [NIST NVD — özgün kaydı inceleyin ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-143096)
