Linuxカーネルのregulator: gpioには、drvdata::gpiodsへの範囲外アクセスが発生する脆弱性が存在します。drvdata::gpiodsは本来gpio_descポインタの配列を保存するように設計されていますが、十分なメモリが割り当てられていませんでした。そのため、config::ngpiosが1を超える場合に範囲外アクセスが発生する可能性がありました。この問題は、config::ngpiosの数に応じて適切にメモリを割り当てることで修正されました。また、可読性を向上させるために、メモリ割り当ての失敗チェックのタイミングも改善されています。
Debian Debian GNU/Linux 11.0 Linux Linux Kernel 5.11 から 5.15.187 未満 Linux Kernel 5.16 から 6.1.144 未満 Linux Kernel 5.1 から 5.4.296 未満 Linux Kernel 5.5 から 5.10.240 未満 Linux Kernel 6.13 から 6.15.6 未満 Linux Kernel 6.2 から 6.6.97 未満 Linux Kernel 6.7 から 6.12.37 未満 Linux Kernel 6.16
本脆弱性の影響を受ける製品の詳細については、ベンダ情報および参考情報をご確認ください。
当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。
正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。
Debian Debian Mailing Lists : [SECURITY] [DLA 4327-1] linux security update Debian Mailing Lists : [SECURITY] [DLA 4328-1] linux-6.1 security update
境界外読み取り(CWE-125) [NVD評価]
CVE-2025-38395
National Vulnerability Database (NVD) : CVE-2025-38395 関連文書 : regulator: gpio: Fix the out-of-bounds access to drvdata::gpiods - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/e4d19e5d71b217940e33f2ef6c6962b7b68c5606) 関連文書 : regulator: gpio: Fix the out-of-bounds access to drvdata::gpiods - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/3830ab97cda9599872625cc0dc7b00160193634f) 関連文書 : regulator: gpio: Fix the out-of-bounds access to drvdata::gpiods - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/a1e12fac214d4f49fcb186dbdf9c5592e7fa0a7a) 関連文書 : regulator: gpio: Fix the out-of-bounds access to drvdata::gpiods - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/56738cbac3bbb1d39a71a07f57484dec1db8b239) 関連文書 : regulator: gpio: Fix the out-of-bounds access to drvdata::gpiods - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/9fe71972869faed1f8f9b3beb9040f9c1b300c79) 関連文書 : regulator: gpio: Fix the out-of-bounds access to drvdata::gpiods - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/24418bc77a66cb5be9f5a837431ba3674ed8b52f) 関連文書 : regulator: gpio: Fix the out-of-bounds access to drvdata::gpiods - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/a3cd5ae7befbac849e0e0529c94ca04e8093cfd2) 関連文書 : regulator: gpio: Fix the out-of-bounds access to drvdata::gpiods - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/c9764fd88bc744592b0604ccb6b6fc1a5f76b4e3)
[2025年12月25日] 掲載