kernel: off by one in function cqspi_setup_flash() in drivers/mtd/spi-nor/cadence-quadspi.c
Published Jul 27, 2019
9.8
CRITICALCVSS 3.1
EPSS 3.08%
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 products
No data.
- ≥ 4.8 · < 4.9.6
No data.
Red Hat Enterprise Linux 5
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-alt
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise MRG 2
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-alt | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise MRG 2 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
AV:N/AC:L/Au:N/C:P/I:P/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (13 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.08% (0.03075) | 87.20th | v5 (v2026.06.15) |
| Jun 15, 2026 | 3.08% (0.03075) | 85.91th | v5 (v2026.06.15) |
| Mar 30, 2025 | 0.81% (0.00815) | 72.08th | v4 (v2025.03.14) |
| Mar 29, 2025 | 2.36% (0.02357) | 74.88th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.81% (0.00815) | 72.63th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.58% (0.00579) | 78.79th | v3 (v2023.03.01) |
| Jul 20, 2024 | 0.58% (0.00579) | 78.26th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.47% (0.00469) | 74.82th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.47% (0.00469) | 71.73th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.02% (0.01018) | 40.69th | v2 (v2022.01.01) |
| Sep 10, 2022 | 1.02% (0.01018) | 38.88th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.02% (0.01018) | 36.86th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.02% (0.01018) | 19.50th | v2 (v2022.01.01) |
References (9)
- https://access.redhat.com/security/cve/CVE-2016-10764 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1735633 Issue Tracking
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=193e87143c290ec16838f5368adc0e0bc94eb931 x_refsource_MISCPatchVendor Advisory
- https://github.com/torvalds/linux/commit/193e87143c290ec16838f5368adc0e0bc94eb931 x_refsource_MISCPatchThird Party Advisory
- https://mirrors.edge.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.6 x_refsource_MISCRelease NotesThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2016-10764
- https://support.f5.com/csp/article/K24444495 x_refsource_CONFIRMThird Party Advisory
- https://support.f5.com/csp/article/K24444495?utm_source=f5support&%3Butm_medium=RSS x_refsource_CONFIRM
- https://www.cve.org/CVERecord?id=CVE-2016-10764
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2016-10764 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1735633 | Issue Tracking | |
| https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=193e87143c290ec16838f5368adc0e0bc94eb931 | x_refsource_MISCPatchVendor Advisory | |
| https://github.com/torvalds/linux/commit/193e87143c290ec16838f5368adc0e0bc94eb931 | x_refsource_MISCPatchThird Party Advisory | |
| https://mirrors.edge.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.6 | x_refsource_MISCRelease NotesThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2016-10764 | ||
| https://support.f5.com/csp/article/K24444495 | x_refsource_CONFIRMThird Party Advisory | |
| https://support.f5.com/csp/article/K24444495?utm_source=f5support&%3Butm_medium=RSS | x_refsource_CONFIRM | |
| https://www.cve.org/CVERecord?id=CVE-2016-10764 |
Change history (0)
No recorded changes yet.