CVE-2026-143096

HIGHCVSS 7.8/10EPSS 0.35%

Last modified

CVE-2026-143096 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 0.35% chance of exploitation in the next 30 days.

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.

Metrics

EPSS Probability
0.35%

30.5th percentile

Probability of exploitation in the next 30 days. Learn more

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 69050f8d6d075dc01af7a5f2f550a8067510366f, < 20e028e01d62557de76c8da648ae52e0ad487c27; >= 69050f8d6d075dc01af7a5f2f550a8067510366f, < 2a490521d74ac76e5eb3c9a69d928a4c76dd3f78
LinuxLinux7.0

References

Timeline

Published
Last Modified
Status
Received

Frequently Asked Questions

What is CVE-2026-143096?
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.
How severe is CVE-2026-143096?
CVE-2026-143096 has a CVSS score of 7.8/10 (HIGH severity). The EPSS model estimates a 0.35% probability of exploitation in the next 30 days.
How do I fix CVE-2026-143096?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2026

Are you affected by CVE-2026-143096?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST