CVE-2026-46190mtd: spi-nor: debugfs: fix out-of-bounds read in spi_nor_params_show()
- 7.1HighCVSS base score
- 0.13%Exploitation in 30 daysEPSS · top 97% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: mtd: spi-nor: debugfs: fix out-of-bounds read in spi_nor_params_show() Sashiko noticed an out-of-bounds read [1]. In spi_nor_params_show(), the snor_f_names array is passed to spi_nor_print_flags() using sizeof(snor_f_names). Since snor_f_names is an array of pointers, sizeof() returns the total number of bytes occupied by the pointers (element_count * sizeof(void *)) rather than the element count itself. On 64-bit systems, this makes the passed length 8x larger than intended. Inside spi_nor_print_flags(), the 'names_len' argument is used to bounds-check the 'names' array access. An out-of-bounds read occurs if a flag bit is set that exceeds the array's actual element count but is within the inflated byte-size count. Correct this by using ARRAY_SIZE() to pass the actual number of string pointers in the array.
Timeline
ID reserved
By Linux
- 15 days later
· 15 days later
Published
- 5 months later
· 5 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| NVDNVD · Modified | 3.1 | High7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.13% · top 97% of all CVEs (17 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.1.
Affected products
- affected 0257be79fc4a16a3252ce80aa13b3640f728c425 – < 231b8e1f604f6e0a7e100536f506cdf482e2c5f5
- affected 0257be79fc4a16a3252ce80aa13b3640f728c425 – < 9a80c458320e0514e11945402dd6e48fcee05524
- affected 0257be79fc4a16a3252ce80aa13b3640f728c425 – < ca18c180b053f6ce80394322b314ac721c316af7
- affected 0257be79fc4a16a3252ce80aa13b3640f728c425 – < 34bdcfb496b29f9a52431194f94473b37fb8c162
- affected 0257be79fc4a16a3252ce80aa13b3640f728c425 – < c0b654bc0b76a1da102d9138be1ed1223bd99310
- affected 0257be79fc4a16a3252ce80aa13b3640f728c425 – < e47029b977e747cb3a9174308fd55762cce70147
- affected 5.19
- unaffected < 5.19
- unaffected 6.1.176 – ≤ 6.1.*
- unaffected 6.6.140 – ≤ 6.6.*
- unaffected 6.12.88 – ≤ 6.12.*
- unaffected 6.18.30 – ≤ 6.18.*
- unaffected 7.0.7 – ≤ 7.0.*
- unaffected 7.1 – ≤ *
References
References7
- https://git.kernel.org/stable/c/231b8e1f604f6e0a7e100536f506cdf482e2c5f5 (opens in a new tab)
- https://git.kernel.org/stable/c/9a80c458320e0514e11945402dd6e48fcee05524 (opens in a new tab)
- https://git.kernel.org/stable/c/ca18c180b053f6ce80394322b314ac721c316af7 (opens in a new tab)
- https://git.kernel.org/stable/c/34bdcfb496b29f9a52431194f94473b37fb8c162 (opens in a new tab)
- https://git.kernel.org/stable/c/c0b654bc0b76a1da102d9138be1ed1223bd99310 (opens in a new tab)
- https://git.kernel.org/stable/c/e47029b977e747cb3a9174308fd55762cce70147 (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-32817 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-46190)Record last updated .