CVE-2016-10764
kernel: off by one in function cqspi_setup_flash() in drivers/mtd/spi-nor/cadence-quadspi.c
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (medium), Ubuntu (medium).
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| debian 11 | linux | 4.9.6-1 |
| debian 12 | linux | 4.9.6-1 |
| debian 13 | linux | 4.9.6-1 |
| debian 14 | linux | 4.9.6-1 |
| echo | linux | 4.9.6-1 |
| root.io debian 11 | rootio-linux | 4.9.6-1 |
| root.io debian 12 | rootio-linux | 4.9.6-1 |
| root.io debian 13 | rootio-linux | 4.9.6-1 |
| ubuntu 16.04 | linux-hwe, linux-hwe-edge | 4.10.0-32.36~16.04.1 and 1 more |
| ubuntu 16.04-ESM | linux-hwe, linux-hwe-edge | 4.10.0-32.36~16.04.1 and 1 more |
Show all 12 entries from 10 sources
| Source | Package | Fixed in |
|---|---|---|
| debian 11 | linux | 4.9.6-1 |
| debian 12 | linux | 4.9.6-1 |
| debian 13 | linux | 4.9.6-1 |
| debian 14 | linux | 4.9.6-1 |
| echo | linux | 4.9.6-1 |
| root.io debian 11 | rootio-linux | 4.9.6-1 |
| root.io debian 12 | rootio-linux | 4.9.6-1 |
| root.io debian 13 | rootio-linux | 4.9.6-1 |
| ubuntu 16.04 | linux-hwe | 4.10.0-32.36~16.04.1 |
| ubuntu 16.04 | linux-hwe-edge | 4.10.0-27.30~16.04.2 |
| ubuntu 16.04-ESM | linux-hwe | 4.10.0-32.36~16.04.1 |
| ubuntu 16.04-ESM | linux-hwe-edge | 4.10.0-27.30~16.04.2 |
References
- https://access.redhat.com/security/cve/CVE-2016-10764
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=193e87143c290ec16838f5368adc0e0bc94eb931
- https://git.kernel.org/linus/193e87143c290ec16838f5368adc0e0bc94eb931
- https://github.com/torvalds/linux/commit/193e87143c290ec16838f5368adc0e0bc94eb931
- https://mirrors.edge.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.6
- https://nvd.nist.gov/vuln/detail/CVE-2016-10764
- https://support.f5.com/csp/article/K24444495
- https://support.f5.com/csp/article/K24444495?utm_source=f5support&%3Butm_medium=RSS