Linuxカーネルにおいて、以下の脆弱性が修正されました。mtd: spi-nor: debugfs: spi_nor_params_show()関数における境界外読み取りの問題を修正しました。Sashikoが境界外読み取りを指摘しました[1]。spi_nor_params_show()関数では、snor_f_names配列がsizeof(snor_f_names)を用いてspi_nor_print_flags()に渡されていました。snor_f_namesはポインタの配列であるため、sizeof()は要素数ではなくポインタの総バイト数(要素数 * sizeof(void *))を返します。64ビットシステムでは、これは意図した長さの8倍になります。spi_nor_print_flags()内で、'names_len'引数は'names'配列アクセスの境界チェックに使われます。配列の実際の要素数を超えている一方で、バイトサイズの拡大分には収まるフラグビットが設定された場合に境界外読み取りが発生します。これを修正するために、配列内の文字列ポインタの実際の数を渡すためにARRAY_SIZE()を用いています。
Linux Linux Kernel 5.19 以上 6.6.140 未満 Linux Kernel 6.13 以上 6.18.30 未満 Linux Kernel 6.19 以上 7.0.7 未満 Linux Kernel 6.7 以上 6.12.88 未満 Linux Kernel 7.1
・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアが完全に停止する可能性があります。
リリース情報、またはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。
境界外読み取り(CWE-125) [NVD評価]
CVE-2026-46190
National Vulnerability Database (NVD) : CVE-2026-46190 関連文書 : mtd: spi-nor: debugfs: fix out-of-bounds read in spi_nor_params_show() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/9a80c458320e0514e11945402dd6e48fcee05524) 関連文書 : mtd: spi-nor: debugfs: fix out-of-bounds read in spi_nor_params_show() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/e47029b977e747cb3a9174308fd55762cce70147) 関連文書 : mtd: spi-nor: debugfs: fix out-of-bounds read in spi_nor_params_show() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/c0b654bc0b76a1da102d9138be1ed1223bd99310) 関連文書 : mtd: spi-nor: debugfs: fix out-of-bounds read in spi_nor_params_show() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/ca18c180b053f6ce80394322b314ac721c316af7) 関連文書 : mtd: spi-nor: debugfs: fix out-of-bounds read in spi_nor_params_show() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/34bdcfb496b29f9a52431194f94473b37fb8c162)
[2026年06月12日] 掲載