CVE-2026-139560

Not scored yetLast modified Nov 30, 2026

Description

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139561In the Linux kernel, the following vulnerability has been resolved: pinctrl: pinctrl-generic-mux: Fix provider resource leak on re-parse TCVE-2026-139562In the Linux kernel, the following vulnerability has been resolved: staging: sm750fb: free cmap on framebuffer release The cmap is allocatCVE-2026-139563In the Linux kernel, the following vulnerability has been resolved: drm/msm/dp: Initialize the debugfs connector pointer The debugfs cleanCVE-2026-139564In the Linux kernel, the following vulnerability has been resolved: s390/ism: Zerorize dmb at allocation Sashiko reported [1] that 'MissinCVE-2026-139565In the Linux kernel, the following vulnerability has been resolved: ice: size ring stats arrays from the final queue count The ring stats CVE-2026-139566In the Linux kernel, the following vulnerability has been resolved: ice: rebuild ring stats arrays instead of reallocating them in place iCVE-2026-139567In the Linux kernel, the following vulnerability has been resolved: ice: skip stats handling for channel VSIs on rebuild ice_vsi_alloc_staCVE-2026-139568In the Linux kernel, the following vulnerability has been resolved: ARM: mvebu: fix Cortex-A9 errata selection for Armada 38x Armada 38x uCVE-2026-139569In the Linux kernel, the following vulnerability has been resolved: f2fs: reject device aliasing without a multi-device configuration A maCVE-2026-139574.2Incorrect security UI in Extensions in Google Chrome prior to 150.0.7871.47 allowed an attacker who convinced a user to install a malicious CVE-2026-139570In the Linux kernel, the following vulnerability has been resolved: RDMA/hfi1: quiesce SDMA asynchronous cleanup on exit The SDMA state reCVE-2026-139571In the Linux kernel, the following vulnerability has been resolved: RDMA/hfi1: shut down the trap timer before unregistering MAD processin
CVE-2026-139560: Unscored | Vulnix