What’s Vulnerable › Vulnerabilities

CVE-2023-53336: media: ipu-bridge: Fix null pointer deref on SSDB/PLD parsing warnings

Description

In the Linux kernel, the following vulnerability has been resolved: media: ipu-bridge: Fix null pointer deref on SSDB/PLD parsing warnings When ipu_bridge_parse_rotation() and ipu_bridge_parse_orientation() run sensor->adev is not set yet. So if either of the dev_warn() calls about unknown values are hit this will lead to a NULL pointer deref. Set sensor->adev earlier, with a borrowed ref to avoid making unrolling on errors harder, to fix this.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.4.16, 6.5.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-53336 or the next vulnerability affects your stack