Note:
This project will be discontinued after December 13, 2021. [more]
2019-07-27
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.
Products | Linux_kernel |
Type | Improper Restriction of Operations within the Bounds of a Memory Buffer (CWE-119) |
First patch | - None (likely due to unavailable code) |
Patches |
• https://github.com/torvalds/linux/commit/193e87143c290ec16838f5368adc0e0bc94eb931
• https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=193e87143c290ec16838f5368adc0e0bc94eb931 |
Links |
• https://mirrors.edge.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.6
• https://support.f5.com/csp/article/K24444495 • https://support.f5.com/csp/article/K24444495?utm_source=f5support&%3Butm_medium=RSS |