Description
In the Linux kernel, the following vulnerability has been resolved: media: stm32: csi: unregister async notifier on cleanup stm32_csi_parse_dt() registers the async notifier before probe finishes. If a later operation fails, the error path only cleans up the notifier's connections. It does not unregister the notifier, leaving its entry on the global notifier list after the devm-allocated csidev is freed. The remove path has the same problem. A later async operation can then walk the stale notifier entry and access freed memory. Unregister the notifier before cleaning up its resources on both paths.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
dcb0f4c16be5df6881a952dc510ce3ec01570144 to < ea3a418d73b0ccf15e6b60efee1606484acf91deaffecteddcb0f4c16be5df6881a952dc510ce3ec01570144 to < 979d7a2f16eb311f9fe809a024e004232d8ecd8caffecteddcb0f4c16be5df6881a952dc510ce3ec01570144 to < 4957d480a0c87cf3d024e6ff1f57d1222f9212cbaffected
Linux Linux
Default version status: affected
6.14affected0 to < 6.14unaffected6.18.63 to ≤ 6.18.*unaffected7.3.4 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected