media: mt9m114: Fix deadlock in get_frame_interval/set_frame_interval (Linux Linux)

CVE-2025-39712
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.11 % · percentile 2 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: media: mt9m114: Fix deadlock in get_frame_interval/set_frame_interval Getting / Setting the frame interval using the V4L2 subdev pad ops get_frame_interval/set_frame_interval causes a deadlock, as the subdev state is locked in the [1] but also in the driver itself. In [2] it's described that the caller is responsible to acquire and release the lock in this case. Therefore, acquiring the lock in the driver is wrong. Remove the lock acquisitions/releases from mt9m114_ifp_get_frame_interval() and mt9m114_ifp_set_frame_interval(). [1] drivers/media/v4l2-core/v4l2-subdev.c - line 1129 [2] Documentation/driver-api/media/v4l2-subdev.rst

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 24d756e914fc3418bad7897b0657aefa9ef848e8 < 0d23b548d71e5d76955fdf1d73addd8f6494f602 ; affected 24d756e914fc3418bad7897b0657aefa9ef848e8 < 41b97490a1656bdc7038d6345a84b08d45deafc6 ; affected 24d756e914fc3418bad7897b0657aefa9ef848e8 < 298d1471cf83d5a2a05970e41822a2403f451086
Linux · Linuxaffected 6.7 ; unaffected 0 < 6.7 ; unaffected 6.12.44 ≤ 6.12.* ; unaffected 6.16.4 ≤ 6.16.* ; unaffected 6.17 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD