{"id":"CVE-2026-139025","summary":"media: vivid: cancel svid ctrl work on release","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: vivid: cancel svid ctrl work on release\n\nvivid_dev_release() cancels update_hdmi_ctrl_work but not its sibling\nupdate_svid_ctrl_work, which vivid_vid_cap_s_ctrl() queues on\nupdate_svid_ctrls_workqueue when a VIVID_CID_SVID_IS_CONNECTED_TO_OUTPUT\ncontrol is changed. The two work items were added together, but only\none of them is cancelled on release.\n\nIf the svid work is still pending or running when the last v4l2_device\nreference is dropped, update_svid_ctrls_work_handler() runs after\nkfree(dev): the handler iterates the global vivid_devs[] array and\ncalls v4l2_ctrl_modify_range() on every vivid_dev instance, including\nthis one after it has been freed.\n\nAdd the missing cancel_work_sync() next to the hdmi sibling, before\nvivid_free_controls() releases the control handlers the work uses.\n\nThis issue was found by an in-house static analysis tool.","modified":"2026-12-01T21:02:35.916739518Z","published":"2026-11-30T13:27:10.508Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139025.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1adaefca7111235ff0a2219dd4899ac24601d6e8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/285eb18ef6cfd494d9a41a98635779dd29c73f29"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8ae62dd7e3b933862b34216c3f832a0c278f4be3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f16b697c94756db9a3bddc41c30f00b3b2332977"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139025.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139025"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d7c969f37515d78dc1a026d12b94b90e319a5a61"},{"fixed":"285eb18ef6cfd494d9a41a98635779dd29c73f29"},{"fixed":"f16b697c94756db9a3bddc41c30f00b3b2332977"},{"fixed":"8ae62dd7e3b933862b34216c3f832a0c278f4be3"},{"fixed":"1adaefca7111235ff0a2219dd4899ac24601d6e8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139025.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.11.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139025.json"}}],"schema_version":"1.9.2"}