In the Linux kernel, the following vulnerability has been resolved: media: qcom: camss: Remove use_count guard in stop_streaming The use_count check was introduced so that multiple concurrent Raw Data Interfaces RDIs could be driven by different virtual channels VCs on the CSIPHY input driving the video pipeline. This is an invalid use of use_count though as use_count pertains to the number of times a video entity has been opened by user-space not the number of active streams. If use_count and stream-on count don't agree then stop_streaming() will break as is currently the case and has become apparent when using CAMSS with libcamera's released softisp 0.3. The use of use_count like this is a bit hacky and right now breaks regular usage of CAMSS for a single stream case. Stopping qcam results in the splat below, and then it cannot be started again and any attempts to do so fails with -EBUSY. [ 1265.509831] WARNING: CPU: 5 PID: 919 at drivers/media/common/videobuf2/videobuf2-core.c:2183 __vb2_queue_cancel+0x230/0x2c8 [videobuf2_common] ... [ 1265.510630] Call trace: [ 1265.510636] __vb2_queue_cancel+0x230/0x2c8 [videobuf2_common] [ 1265.510648] vb2_core_streamoff+0x24/0xcc [videobuf2_common] [ 1265.510660] vb2_ioctl_streamoff+0x5c/0xa8 [videobuf2_v4l2] [ 1265.510673] v4l_streamoff+0x24/0x30 [videodev] [ 1265.510707] __video_do_ioctl+0x190/0x3f4 [videodev] [ 1265.510732] video_usercopy+0x304/0x8c4 [videodev] [ 1265.510757] video_ioctl2+0x18/0x34 [videodev] [ 1265.510782] v4l2_ioctl+0x40/0x60 [videodev] ... [ 1265.510944] videobuf2_common: driver bug: stop_streaming operation is leaving buffer 0 in active state [ 1265.511175] videobuf2_common: driver bug: stop_streaming operation is leaving buffer 1 in active state [ 1265.511398] videobuf2_common: driver bug: stop_streaming operation is leaving buffer 2 in active st One CAMSS specific way to handle multiple VCs on the same RDI might be: - Reference count each pipeline enable for CSIPHY, CSID, VFE and RDIx. - The video buffers are already associated with msm_vfeN_rdiX so release video buffers when told to do so by stop_streaming. - Only release the power-domains for the CSIPHY, CSID and VFE when their internal refcounts drop. Either way refusing to release video buffers based on use_count is erroneous and should be reverted. The silicon enabling code for selecting VCs is perfectly fine. Its a "known missing feature" that concurrent VCs won't work with CAMSS right now. Initial testing with this code didn't show an error but, SoftISP and "real" usage with Google Hangouts breaks the upstream code pretty quickly, we need to do a partial revert and take another pass at VCs. This commit partially reverts commit 89013969e232 ("media: camss: sm8250: Pipeline starting and stopping for multiple virtual channels")
该漏洞已被公开披露并确认在野利用;具体受影响产品与版本以 NVD 记录和厂商安全公告为准。
该漏洞或治理动作已公开。建议核对资产是否使用受影响产品,按厂商公告升级或缓解;检查日志中的异常利用痕迹;无法立即修复时先限制暴露面。
史料来源与许可:部分史料来自维基百科(CC BY-SA 4.0)、DBpedia(CC BY-SA 3.0)、NVD 与 CISA 公开数据,遵循各自许可;原始链接见「参考来源」。
漏洞公开后,攻击者通常会快速跟进利用。是否受影响取决于产品版本、暴露面与缓解措施,建议先完成资产核对,再决定修复顺序。
以上为通用研判,具体受影响产品、版本与利用条件以 NVD、CISA 和厂商公告为准。
0–24 小时
1–7 天
持续
Known Exploited Vulnerabilities 目录,由美国 CISA 维护,只收录已确认被在野利用的漏洞,并要求联邦机构按期限修复。
代表漏洞首次公开披露的年份,不代表它被收录进 KEV 的时间。旧 CVE 也可能在之后被确认利用并纳入 KEV。
先确认是否使用受影响产品与版本;若在用,优先按厂商公告升级或缓解。KEV 条目建议按高优先级处理。
采用临时缓解:限制网络暴露、关闭受影响功能、增加访问控制与检测规则,并持续关注厂商更新。