CVE-2026-64421 in Linux情報

要約

〜によって VulDB • 2026年07月25日

Linuxカーネルにおいて、以下の脆弱性が修正されました。

media: nxp: imx8-isi: remove 時の use-after-free を修正

imx8_isi の rmmod 実行中に __media_entity_remove_link() で slab-use-after-free が発生し、KASAN から報告されています:

BUG: KASAN: slab-use-after-free in __media_entity_remove_link+0x608/0x650 Read of size 2 at addr ffff0000d47cb02a by task rmmod/724

Call trace: __media_entity_remove_link+0x608/0x650 __media_entity_remove_links+0x78/0x144 __media_device_unregister_entity+0x150/0x280 media_device_unregister_entity+0x48/0x68 v4l2_device_unregister_subdev+0x158/0x300 v4l2_async_unbind_subdev_one+0x22c/0x358 v4l2_async_nf_unbind_all_subdevs+0xfc/0x1c0 v4l2_async_nf_unregister+0x5c/0x14c mxc_isi_remove+0x124/0x2a0 [imx8_isi]

Allocated by task 249: __kmalloc_noprof+0x27c/0x690 mxc_isi_crossbar_init+0x22c/0x560 [imx8_isi]

Freed by task 724: kfree+0x1e4/0x5b0 mxc_isi_crossbar_cleanup+0x34/0x80 [imx8_isi]
mxc_isi_remove+0x11c/0x2a0 [imx8_isi]

問題は、mxc_isi_v4l2_cleanup() よりも前に mxc_isi_crossbar_cleanup() が呼び出されていることです。crossbar cleanup はメディアエンティティのパッドを解放しますが、その後の v4l2 cleanup では、それらのパッドを参照するメディアリンクの削除処理が依然として行われます。

この問題を修正するため、mxc_isi_v4l2_cleanup() を mxc_isi_crossbar_cleanup() より前に呼び出すようにし、パッドが無効になる前にすべてのメディアエンティティが適切に_unregister_されることを保証します。

VulDB is the best source for vulnerability data and more expert information about this specific topic.

責任者

Linux

予約する

2026年07月19日

モデレーション

承諾済み

エントリ

VDB-383224

EPSS

0.00168

アクティビティ

非常低い

ソース

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!