In the Linux kernel before 4.9.6, there is an off by one in the drivers/mtd/spi-nor/cadence-quadspi.c cqspi_setup_flash() function. There are CQSPI_MAX_CHIPSELECT elements in the ->f_pdata array so the ">" should be ">=" instead.
https://support.f5.com/csp/article/K24444495
https://mirrors.edge.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.6
https://github.com/torvalds/linux/commit/193e87143c290ec16838f5368adc0e0bc94eb931
https://support.f5.com/csp/article/K24444495?utm_source=f5support&%3Butm_medium=RSS
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=193e87143c290ec16838f5368adc0e0bc94eb931
Source: Mitre, NVD
Published: 2019-07-27
Updated: 2023-11-07
Base Score: 7.5
Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P
Severity: High
Base Score: 9.8
Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Severity: Critical
EPSS: 0.00815