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.
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Link | Tags |
---|---|
https://github.com/torvalds/linux/commit/193e87143c290ec16838f5368adc0e0bc94eb931 | third party advisory patch |
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=193e87143c290ec16838f5368adc0e0bc94eb931 | patch vendor advisory |
https://mirrors.edge.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.6 | third party advisory release notes |
https://support.f5.com/csp/article/K24444495 | third party advisory |
https://support.f5.com/csp/article/K24444495?utm_source=f5support&%3Butm_medium=RSS |