CVE-2026-64421 in Linux정보

요약

\~에 의해 VulDB • 2026. 07. 26.

리눅스 커널에서 다음 취약점이 해결되었습니다:

media: nxp: imx8-isi: 제거 시 use-after-free 수정

rmmod 수행 중 imx8_isi 모듈을 제거할 때 __media_entity_remove_link() 함수 내에서 KASAN이 slab-use-after-free를 보고합니다.

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]

task 249에 의해 할당됨: __kmalloc_noprof+0x27c/0x690 mxc_isi_crossbar_init+0x22c/0x560 [imx8_isi]

task 724에 의해 해제됨: kfree+0x1e4/0x5b0 mxc_isi_crossbar_cleanup+0x34/0x80 [imx8_isi]
mxc_isi_remove+0x11c/0x2a0 [imx8_isi]

문제는 mxc_isi_remove()가 mxc_isi_v4l2_cleanup() 호출 전에 mxc_isi_crossbar_cleanup()를 호출한다는 점입니다. 크로스바 정리(crossbar cleanup) 과정에서 미디어 엔티티 패드(media entity pads)가 해제되지만, 이후 v4l2 정리 과정에서는 이미 해지된 해당 패드를 참조하는 미디어 링크들을 제거하려고 시도합니다.

이 문제를 해결하기 위해 mxc_isi_v4l2_cleanup()를 mxc_isi_crossbar_cleanup() 전에 호출하여 모든 미디어 엔티티가 패드가 유효한 동안 적절히 등록 해제(unregistered)되도록 보장합니다.

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

출처

Want to stay up to date on a daily basis?

Enable the mail alert feature now!