In the Linux kernel before 4.9.6, there is an off by one in the drivers/mtd/spi-nor/cadence-quadspi.c cqspisetupflash() function. There are CQSPIMAXCHIPSELECT elements in the ->f_pdata array so the ">" should be ">=" instead.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-10764.json"
[ { "events": [ { "introduced": "4.8" }, { "fixed": "4.9.6" } ] } ]