| Title | LinuxのLinux Kernelにおける境界外読み取りに関する脆弱性 |
|---|---|
| Summary | 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()を用いています。 |
| Possible impacts | ・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアが完全に停止する可能性があります。 |
| Solution | リリース情報、またはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。 |
| Publication Date | May 28, 2026, midnight |
| Registration Date | June 12, 2026, 2:48 p.m. |
| Last Update | June 12, 2026, 2:48 p.m. |
| CVSS3.0 : 重要 | |
| Score | 7.1 |
|---|---|
| Vector | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| 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 |
| No | Changed Details | Date of change |
|---|---|---|
| 1 | [2026年06月12日] 掲載 |
June 12, 2026, 2:48 p.m. |
| Summary | 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 Since snor_f_names is an array of pointers, sizeof() returns the total Inside spi_nor_print_flags(), the 'names_len' argument is used to Correct this by using ARRAY_SIZE() to pass the actual number of |
|---|---|
| Publication Date | May 28, 2026, 7:16 p.m. |
| Registration Date | May 29, 2026, 4:13 a.m. |
| Last Update | May 30, 2026, 8:17 p.m. |