Security mailing lists by PureSourceCode

CVE-2026-143096

HIGH 7.8CVSS 3.1

spi: axi-spi-engine: Start the program length at zero

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.

Published
3 Dec 2026
Last modified
4 Dec 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVE List Linux CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= 69050f8d6d075dc01af7a5f2f550a8067510366f, < 20e028e01d62557de76c8da648ae52e0ad487c27; >= 69050f8d6d075dc01af7a5f2f550a8067510366f, < 2a490521d74ac76e5eb3c9a69d928a4c76dd3f78 20e028e01d62557de76c8da648ae52e0ad487c27, 2a490521d74ac76e5eb3c9a69d928a4c76dd3f78
CVE List Linux Linux = 7.0

References

History

  • 4 Dec 2026 05:56 UTC · NVD: scored 7.8
  • 4 Dec 2026 03:56 UTC · CVE List: scored 7.8
  • 3 Dec 2026 11:07 UTC · NVD: first stored (published 3 Dec 2026)
  • 3 Dec 2026 10:07 UTC · CVE List: first stored (published 3 Dec 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.