Linux kernel SPI NOR debugfs out-of-bounds read
CVE-2026-46190High
The spi_nor_params_show() function in the Linux kernel's SPI NOR debugfs code passes an incorrect length value to spi_nor_print_flags(). It uses sizeof() on an array of pointers, which returns the total bytes rather than the element count, making the length 8 times larger than intended on 64-bit systems. An attacker with access to debugfs could read memory beyond the array bounds by setting flag bits that fall within the inflated byte-size count but exceed the actual array size.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Detail
Affected versions
- linux linux kernel: from 5.19, before 6.6.140
- linux linux kernel: from 6.7, before 6.12.88
- linux linux kernel: from 6.13, before 6.18.30
- linux linux kernel: from 6.19, before 7.0.7
- linux linux kernel: 7.1
Reports naming this CVE1 in total
· All CISA Advisories
Siemens SIMATIC S7-1500 TM MFP (opens in a new tab)