Description
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.
Metrics
CVSS 3.1 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=193e87143c290ec16838f5368adc0e0bc94eb931Patch, Vendor Advisory
- https://github.com/torvalds/linux/commit/193e87143c290ec16838f5368adc0e0bc94eb931Patch, Third Party Advisory
- https://mirrors.edge.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.6Release Notes, Third Party Advisory
- https://support.f5.com/csp/article/K24444495Third Party Advisory
- 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=193e87143c290ec16838f5368adc0e0bc94eb931Patch, Vendor Advisory
- https://github.com/torvalds/linux/commit/193e87143c290ec16838f5368adc0e0bc94eb931Patch, Third Party Advisory
- https://mirrors.edge.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.6Release Notes, Third Party Advisory
- https://support.f5.com/csp/article/K24444495Third Party Advisory
- https://support.f5.com/csp/article/K24444495?utm_source=f5support&%3Butm_medium=RSS
Timeline
- Published
- Jul 27, 2019
- Last modified
- Jun 17, 2026
- NVD status
- Modified