media: stm32: dcmi: unregister notifier on probe failure
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7.8epss 0.2%
exploitation probability
0.2%top 93% of all CVEs
observed exploitation
nono source reports it
In the Linux kernel, the following vulnerability has been resolved:
media: stm32: dcmi: unregister notifier on probe failure
dcmi_graph_init() registers the async notifier before dcmi_probe() toggles
the reset line. If reset_control_assert() or reset_control_deassert()
fails afterwards, probe returns through err_cleanup and the driver core
will not call dcmi_remove().
Unregister the notifier before cleaning it up on that error path,
matching the successful remove path and the V4L2 async notifier lifetime
rules.
[hverkuil: added Fixes tag]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/084973ebd67b28f0945c5d45408f86c58b540110https://git.kernel.org/stable/c/222a9301b086852b90d3b092fef436c3f4e927c4https://git.kernel.org/stable/c/37ff63c5d7119cbc5c6bacdcc658add6008a8e1fhttps://git.kernel.org/stable/c/4b7ee504969e074725e439c949f2483e5fa5572ahttps://git.kernel.org/stable/c/6c6f22b7e6cbc4e8c1e359fc9b190419391c3db7https://git.kernel.org/stable/c/931abe1deb65b919d23fa203d7f6d6fbd4fccd8e