VDB

CVE-2026-46190

CVE-2026-46190 PUBLISHED CVSS 7.1 HIGH

mtd: spi-nor: debugfs: fix out-of-bounds read in spi_nor_params_show()

Reported by linux · Published May 28, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-livepatch-6.12.88-119.157Amazon Linux1:1.0-0.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.30-61.116.amzn2023
kernel6.12-develAmazon Linux1:6.12.88-119.157.amzn2023
python3-perf6.18Amazon Linux1:6.18.30-61.116.amzn2023
bpftool6.18Amazon Linux1:6.18.30-61.116.amzn2023
kernel-livepatch-6.18.30-61.116Amazon Linux1:1.0-0.amzn2023
perf6.18Amazon Linux1:6.18.30-61.116.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.88-119.157.amzn2023
perf6.12Amazon Linux1:6.12.88-119.157.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.88-119.157.amzn2023
python3-perf6.12Amazon Linux1:6.12.88-119.157.amzn2023
kernel6.18-headersAmazon Linux1:6.18.30-61.116.amzn2023

7 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Affected products

VendorProductVersions
LinuxLinux0257be79fc4a16a3252ce80aa13b3640f728c425, 0257be79fc4a16a3252ce80aa13b3640f728c425, 0257be79fc4a16a3252ce80aa13b3640f728c425
LinuxLinux5.19, 0, 6.1.176
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
amazon:2023kernel-livepatch-6.12.88-119.1570
amazon:2023kernel6.18-tools0
amazon:2023kernel6.12-devel0
amazon:2023python3-perf6.180
amazon:2023bpftool6.180
amazon:2023kernel-livepatch-6.18.30-61.1160
amazon:2023perf6.180
amazon:2023kernel6.12-modules-extra-common0
amazon:2023perf6.120
amazon:2023kernel6.12-tools0
amazon:2023python3-perf6.120
amazon:2023kernel6.18-headers0
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel6.180
amazon:2023kernel6.12-headers0
amazon:2023kernel6.120

…and 7 more

Timeline

  • May 27, 2026 CVE Published
  • May 28, 2026 EPSS Score (15 in total, the first dated here)
  • Jun 1, 2026 Security Advisory (131 in total, the first dated here)
  • Jun 4, 2026 Coalition ESS Score
  • Aug 11, 2026 Distribution Patch (128 in total, the first dated here)
  • Sep 16, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-46190
vulnetix vdb fixes CVE-2026-46190

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-46190/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›