Linuxカーネルにおいて、driver coreのdevice_add()関数には潜在的なNULLポインタ参照の脆弱性があり、修正されました。この問題は、w1_alloc_dev()関数内でdev-driverが設定される前にdevice_add()のエラー処理経路でbus_remove_device()が呼ばれるために発生し、ドライバがバインドされていない状態でklist_removeがNULLポインタを参照してしまいます。この脆弱性によりカーネルでNULLポインタ参照が生じ、システムの安定性に影響を与える可能性がありました。修正内容としては、エラー処理経路でbus_remove_device()を呼ぶ前にdev-driverをNULLに設定することで、この問題を防止しています。
Linux Linux Kernel 2.6.26 以上 5.10.249 未満 Linux Kernel 5.11 以上 5.15.99 未満 Linux Kernel 5.16 以上 6.1.16 未満 Linux Kernel 6.2 以上 6.2.3 未満
当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。
リリース情報、またはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。
NULL ポインタデリファレンス(CWE-476) [NVD評価]
CVE-2023-54321
National Vulnerability Database (NVD) : CVE-2023-54321 関連文書 : driver core: fix potential null-ptr-deref in device_add() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/2c59650d078b1b3f1ea50d5f8ee9fcc537dc02d3) 関連文書 : driver core: fix potential null-ptr-deref in device_add() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/f6837f34a34973ef6600c08195ed300e24e97317) 関連文書 : driver core: fix potential null-ptr-deref in device_add() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/7cf515bf9e8c2908dc170ecf2df117162a16c9c5) 関連文書 : driver core: fix potential null-ptr-deref in device_add() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/97aa8fb74bbe9aaf4ed5962a784f73b071bd16bf) 関連文書 : driver core: fix potential null-ptr-deref in device_add() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/17982304806c5c10924e73f7ca5556e0d7378452)
[2026年03月02日] 掲載