{"id":"CVE-2025-39712","summary":"media: mt9m114: Fix deadlock in get_frame_interval/set_frame_interval","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: mt9m114: Fix deadlock in get_frame_interval/set_frame_interval\n\nGetting / Setting the frame interval using the V4L2 subdev pad ops\nget_frame_interval/set_frame_interval causes a deadlock, as the\nsubdev state is locked in the [1] but also in the driver itself.\n\nIn [2] it's described that the caller is responsible to acquire and\nrelease the lock in this case. Therefore, acquiring the lock in the\ndriver is wrong.\n\nRemove the lock acquisitions/releases from mt9m114_ifp_get_frame_interval()\nand mt9m114_ifp_set_frame_interval().\n\n[1] drivers/media/v4l2-core/v4l2-subdev.c - line 1129\n[2] Documentation/driver-api/media/v4l2-subdev.rst","modified":"2026-04-02T12:48:07.325214Z","published":"2025-09-05T17:21:19.494Z","related":["SUSE-SU-2025:21074-1","SUSE-SU-2025:21139-1","SUSE-SU-2025:21179-1","openSUSE-SU-2025:20081-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39712.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0d23b548d71e5d76955fdf1d73addd8f6494f602"},{"type":"WEB","url":"https://git.kernel.org/stable/c/298d1471cf83d5a2a05970e41822a2403f451086"},{"type":"WEB","url":"https://git.kernel.org/stable/c/41b97490a1656bdc7038d6345a84b08d45deafc6"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39712.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39712"},{"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":"24d756e914fc3418bad7897b0657aefa9ef848e8"},{"fixed":"0d23b548d71e5d76955fdf1d73addd8f6494f602"},{"fixed":"41b97490a1656bdc7038d6345a84b08d45deafc6"},{"fixed":"298d1471cf83d5a2a05970e41822a2403f451086"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39712.json"}}],"schema_version":"1.7.5"}