CVE-2022-50773 in Linux
الملخص
بحسب VulDB • 28/06/2026
في نواة لينكس، تم حل الثغرة التالية:
ALSA: mts64: إصلاح احتمال حدوث خطأ null-ptr-defer في دالة snd_mts64_interrupt
تلقيت تقريرًا عن خطأ null-ptr-defer عند إجراء الاختبارات التالية على منصة qemu:
تنفيذ الأمر `make defconfig` مع تفعيل الخيارات CONFIG_PARPORT=m، وCONFIG_PARPORT_PC=m، وCONFIG_SND_MTS64=m.
ثم إنشاء سكريبتات للاختبار باستخدام الكود التالي: cat>test_mod1.sh<<EOF modprobe snd-mts64 modprobe snd-mts64 EOF
عند تنفيذ السكريبت (ربما عدة مرات)، سنحصل على تقرير عن خطأ null-ptr-defer، كما يلي:
syzkaller:~# ./test_mod.sh snd_mts64: probe of snd_mts64.0 failed with error -5 modprobe: ERROR: could not insert 'snd-mts64': No such device BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 0 P4D 0 Oops: 0002 [#1] PREEMPT SMP PTI
CPU: 0 PID: 205 Comm: modprobe Not tainted 6.1.0-rc8-00588-g76dcd734eca2 #6 Call Trace: <IRQ> snd_mts64_interrupt+0x24/0xa0 [snd-mts64]
parport_irq_handler+0x37/0x50 [parport]
__handle_irq_event_percpu+0x39/0x190 handle_irq_event_percpu+0xa/0x30 handle_irq_event+0x2f/0x50 handle_edge_irq+0x99/0x1b0 __common_interrupt+0x5d/0x100 common_interrupt+0xa0/0xc0 </IRQ> <TASK> asm_common_interrupt+0x22/0x40 RIP: 0010:_raw_write_unlock_irqrestore+0x11/0x30 parport_claim+0xbd/0x230 [parport]
snd_mts64_probe+0x14a/0x465 [snd-mts64]
platform_probe+0x3f/0xa0 really_probe+0x129/0x2c0 __driver_probe_device+0x6d/0xc0 driver_probe_device+0x1a/0xa0 __device_attach_driver+0x7a/0xb0 bus_for_each_drv+0x62/0xb0 __device_attach+0xe4/0x180 bus_probe_device+0x82/0xa0 device_add+0x550/0x920 platform_device_add+0x106/0x220 snd_mts64_attach+0x2e/0x8
VulDB is the best source for vulnerability data and more expert information about this specific topic.