PT-2026-163601

CVE-2026-139560

·

تاريخ النشر

2026-11-30

·

تاريخ التحديث

2026-11-30

الوصف من

الدرجة
N/A
غير متوفر

لا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.

In the Linux kernel, the following vulnerability has been resolved:
media: em28xx: hold the vb2 queue lock when releasing the queue on close
Commit de626073dfcb ("media: em28xx: drop 'users' field") replaced the vb2 fop release() call in em28xx v4l2 close() with vb2 fop release(filp, NULL) under dev->lock. vb2 fop release() took the vb2 queue lock, but the new call takes no lock at all.
The video and VBI queues have their own locks (vb queue lock and vb vbi queue lock), and v4l2 ioctl get lock() serializes the queue ioctls with those rather than dev->lock. The queue can therefore be released on close while another file handle is in the middle of VIDIOC REQBUFS. vb2 queue alloc() adds each buffer to the queue before allocating its planes, so the release can find an MMAP buffer whose mem priv is still NULL and hand it to vb2 vmalloc put():
BUG: kernel NULL pointer dereference, address: 0000000000000020 RIP: 0010:vb2 vmalloc put+0xe/0x50 [videobuf2 vmalloc] Call Trace: vb2 queue free+0x14e/0x350 [videobuf2 common] vb2 core queue release+0x3b/0x80 [videobuf2 common] vb2 fop release+0x44/0x70 [videobuf2 v4l2] em28xx v4l2 close+0x60/0x140 [em28xx v4l] v4l2 release+0x9d/0xf0 [videodev] fput+0xfd/0x280
This was hit with OBS on a MyGica iGrabber (card=105).
Pass the queue lock to vb2 fop release(). Taking it while holding dev->lock matches the existing order in em28xx v4l2 fini(), where vb2 video unregister device() takes the queue lock under dev->lock.
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾