{"id":"CVE-2025-39712","aliases":["CVE-2025-39712"],"related":[],"kind":"vulnerability","state":"published","title":"media: mt9m114: Fix deadlock in get_frame_interval/set_frame_interval","summary":"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","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nmedia: mt9m114: Soluciona interbloqueo en get_frame_interval/set_frame_interval\n\nObtener / Establecer el intervalo de fotogramas usando las operaciones de pad del subdispositivo V4L2 get_frame_interval/set_frame_interval causa un interbloqueo, ya que el estado del subdispositivo está bloqueado en el [1] pero también en el propio controlador.\n\nEn [2] se describe que el llamador es responsable de adquirir y liberar el bloqueo en este caso. Por lo tanto, adquirir el bloqueo en el controlador es incorrecto.\n\nEliminar las adquisiciones/liberaciones de bloqueo de mt9m114_ifp_get_frame_interval() y mt9m114_ifp_set_frame_interval().\n\n[1] drivers/media/v4l2-core/v4l2-subdev.c - línea 1129\n[2] Documentation/driver-api/media/v4l2-subdev.rst","source":"nvd"}],"published":"2025-09-05T17:21:19.494Z","modified":"2026-10-19T21:10:00.160Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-667"],"affected":[{"ranges":[{"type":"git","introduced":"24d756e914fc3418bad7897b0657aefa9ef848e8","fixed":"0d23b548d71e5d76955fdf1d73addd8f6494f602","status":"affected"},{"type":"git","introduced":"24d756e914fc3418bad7897b0657aefa9ef848e8","fixed":"41b97490a1656bdc7038d6345a84b08d45deafc6","status":"affected"},{"type":"git","introduced":"24d756e914fc3418bad7897b0657aefa9ef848e8","fixed":"298d1471cf83d5a2a05970e41822a2403f451086","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.7","status":"unaffected"},{"type":"semver","introduced":"6.12.44","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.16.4","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.7","fixed":"6.12.44"},{"status":"affected","introduced":"6.13","fixed":"6.16.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/0d23b548d71e5d76955fdf1d73addd8f6494f602","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/41b97490a1656bdc7038d6345a84b08d45deafc6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/298d1471cf83d5a2a05970e41822a2403f451086","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-39712","url":"https://www.cve.org/CVERecord?id=CVE-2025-39712","licence":"CVE Terms of Use","modified":"2026-05-11T21:34:48.122Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-39712","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39712","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:04.277Z","epss":{"score":0.00127,"percentile":0.02531,"date":"2026-12-01T12:00:22.000Z"}}