Vulnerabilities / CVE-2016-10764

critical

CVE-2016-10764

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

Published Modified CWE 119
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat5.5CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

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

SourcePackageFixed in
debian 11linux4.9.6-1
debian 12linux4.9.6-1
debian 13linux4.9.6-1
debian 14linux4.9.6-1
echolinux4.9.6-1
root.io debian 11rootio-linux4.9.6-1
root.io debian 12rootio-linux4.9.6-1
root.io debian 13rootio-linux4.9.6-1
ubuntu 16.04linux-hwe, linux-hwe-edge4.10.0-32.36~16.04.1 and 1 more
ubuntu 16.04-ESMlinux-hwe, linux-hwe-edge4.10.0-32.36~16.04.1 and 1 more
Show all 12 entries from 10 sources
SourcePackageFixed in
debian 11linux4.9.6-1
debian 12linux4.9.6-1
debian 13linux4.9.6-1
debian 14linux4.9.6-1
echolinux4.9.6-1
root.io debian 11rootio-linux4.9.6-1
root.io debian 12rootio-linux4.9.6-1
root.io debian 13rootio-linux4.9.6-1
ubuntu 16.04linux-hwe4.10.0-32.36~16.04.1
ubuntu 16.04linux-hwe-edge4.10.0-27.30~16.04.2
ubuntu 16.04-ESMlinux-hwe4.10.0-32.36~16.04.1
ubuntu 16.04-ESMlinux-hwe-edge4.10.0-27.30~16.04.2

References

All 9 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.