{"id":"CVE-2016-10764","state":"PUBLISHED","title":"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 -","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.","publishedAt":"2019-07-27T21:38:43.000Z","updatedAt":"2024-08-06T03:38:55.136Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/torvalds/linux/commit/193e87143c290ec16838f5368adc0e0bc94eb931","https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=193e87143c290ec16838f5368adc0e0bc94eb931","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&amp%3Butm_medium=RSS"],"weaknesses":[],"ingestedAt":"2026-10-29T19:42:26.791Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2016/10xxx/CVE-2016-10764.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2016-10764","state":"PUBLISHED","datePublished":"2019-07-27T21:38:43.000Z","dateUpdated":"2024-08-06T03:38:55.136Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2019-07-27T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/torvalds/linux/commit/193e87143c290ec16838f5368adc0e0bc94eb931","tags":["x_refsource_MISC"]},{"url":"https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=193e87143c290ec16838f5368adc0e0bc94eb931","tags":["x_refsource_MISC"]},{"url":"https://mirrors.edge.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.6","tags":["x_refsource_MISC"]},{"url":"https://support.f5.com/csp/article/K24444495","tags":["x_refsource_CONFIRM"]},{"url":"https://support.f5.com/csp/article/K24444495?utm_source=f5support&amp%3Butm_medium=RSS","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2019-10-09T19:06:50.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2016-10764","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/torvalds/linux/commit/193e87143c290ec16838f5368adc0e0bc94eb931","refsource":"MISC","url":"https://github.com/torvalds/linux/commit/193e87143c290ec16838f5368adc0e0bc94eb931"},{"name":"https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=193e87143c290ec16838f5368adc0e0bc94eb931","refsource":"MISC","url":"https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=193e87143c290ec16838f5368adc0e0bc94eb931"},{"name":"https://mirrors.edge.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.6","refsource":"MISC","url":"https://mirrors.edge.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.6"},{"name":"https://support.f5.com/csp/article/K24444495","refsource":"CONFIRM","url":"https://support.f5.com/csp/article/K24444495"},{"name":"https://support.f5.com/csp/article/K24444495?utm_source=f5support&amp;utm_medium=RSS","refsource":"CONFIRM","url":"https://support.f5.com/csp/article/K24444495?utm_source=f5support&amp;utm_medium=RSS"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/torvalds/linux/commit/193e87143c290ec16838f5368adc0e0bc94eb931","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=193e87143c290ec16838f5368adc0e0bc94eb931","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://mirrors.edge.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.6","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://support.f5.com/csp/article/K24444495","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://support.f5.com/csp/article/K24444495?utm_source=f5support&amp%3Butm_medium=RSS","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T03:38:55.136Z"}}]}}}