media: stm32: dcmi: unregister notifier on probe failure
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ d079f94c90469f413920b9f2b201537fac2ceb06 · < 084973ebd67b28f0945c5d45408f86c58b540110| No fix yet |
| Linux Linux |
|
|
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]
From the CVE record · Linux
The STM32 DCMI driver can fail to unregister an async notifier if a reset operation fails during probe. The input does not describe an attacker action or specify whether network access, authentication, or user interaction is needed.
Engineers running Linux kernels with the STM32 DCMI driver should check their versions; affected versions are not specified.