media: vivid: cancel svid ctrl work on release
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
media: vivid: cancel svid ctrl work on release
vivid_dev_release() cancels update_hdmi_ctrl_work but not its sibling update_svid_ctrl_work, which vivid_vid_cap_s_ctrl() queues on update_svid_ctrls_workqueue when a VIVID_CID_SVID_IS_CONNECTED_TO_OUTPUT control is changed. The two work items were added together, but only one of them is cancelled on release.
If the svid work is still pending or running when the last v4l2_device reference is dropped, update_svid_ctrls_work_handler() runs after kfree(dev): the handler iterates the global vivid_devs[] array and calls v4l2_ctrl_modify_range() on every vivid_dev instance, including this one after it has been freed.
Add the missing cancel_work_sync() next to the hdmi sibling, before vivid_free_controls() releases the control handlers the work uses.
This issue was found by an in-house static analysis tool.
| Product | Versions |
|---|---|
| Linux Linux | d7c969f37515d78dc1a026d12b94b90e319a5a61 to before 285eb18ef6cfd494d9a41a98635779dd29c73f29 Affectedd7c969f37515d78dc1a026d12b94b90e319a5a61 to before f16b697c94756db9a3bddc41c30f00b3b2332977 Affectedd7c969f37515d78dc1a026d12b94b90e319a5a61 to before 8ae62dd7e3b933862b34216c3f832a0c278f4be3 Affectedd7c969f37515d78dc1a026d12b94b90e319a5a61 to before 1adaefca7111235ff0a2219dd4899ac24601d6e8 Affected |
| Linux Linux | 6.11 Affectedbefore 6.11 Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.