Linuxカーネルにおいて、以下の脆弱性が修正されました。HIDのmagicmouseドライバにおけるmagicmouse_report_fixup()関数のメモリリークを回避しました。magicmouse_report_fixup()関数は新たにkmemdup()で割り当てたバッファを返していましたが、そのバッファを解放していませんでした。report_fixup()の呼び出し元は返されたポインタの所有権を持っておらず、rdescの一部を返すことは許可されていますが、そのライフタイムは呼び出し元によって管理されています。
Linux Linux Kernel 5.15.17 以上 5.15.203 未満 Linux Kernel 5.16.3 以上 5.17 未満 Linux Kernel 5.17 以上 6.1.168 未満 Linux Kernel 6.13 以上 6.18.21 未満 Linux Kernel 6.19 以上 6.19.11 未満 Linux Kernel 6.2 以上 6.6.131 未満 Linux Kernel 6.7 以上 6.12.80 未満 Linux Kernel 7.0
当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 また、当該ソフトウェアが扱う情報について、書き換えは発生しません。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。
リリース情報、またはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。
有効期限後のメモリの解放の欠如(CWE-401) [NVD評価]
CVE-2026-31522
National Vulnerability Database (NVD) : CVE-2026-31522 関連文書 : HID: magicmouse: avoid memory leak in magicmouse_report_fixup() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/579c4c9857acdc8380fa99803f355f878bd766cb) 関連文書 : HID: magicmouse: avoid memory leak in magicmouse_report_fixup() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/91e8c6e601bdc1ccdf886479b6513c01c7e51c2c) 関連文書 : HID: magicmouse: avoid memory leak in magicmouse_report_fixup() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/79e5dcc95d9abed6f8203cfd529f4ec71f0e505d) 関連文書 : HID: magicmouse: avoid memory leak in magicmouse_report_fixup() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/7edfe4346b052b708645d0acc0f186425766b785) 関連文書 : HID: magicmouse: avoid memory leak in magicmouse_report_fixup() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/136f605e246b4bfe7ac2259471d1ff814aed0084) 関連文書 : HID: magicmouse: avoid memory leak in magicmouse_report_fixup() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/d84c21aabaab517b9aaf9bc1d785922cb9db2f31) 関連文書 : HID: magicmouse: avoid memory leak in magicmouse_report_fixup() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/fa95b0146358b49f9858139b67314591fd5871b0)
[2026年04月30日] 掲載