CVE-2016-10764

kernel: off by one in function cqspi_setup_flash() in drivers/mtd/spi-nor/cadence-quadspi.c

Published Jul 27, 2019 CVSS 3.1 · 9.8 Critical EPSS 3.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2016-1758 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.
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 6, 2024, 3:38 AM
Reserved
Jul 27, 2019, 12:00 AM
Status
Modified
Published
Jul 27, 2019, 10:15 PM
Modified
Jun 17, 2026, 12:40 AM
Severity
Moderate
Public date
Jul 27, 2019, 12:00 AM