Vulnerability CVE-2023-52802


Published: 2024-05-21

Description:
In the Linux kernel, the following vulnerability has been resolved:

iio: adc: stm32-adc: harden against NULL pointer deref in stm32_adc_probe()

of_match_device() may fail and returns a NULL pointer.

In practice there is no known reasonable way to trigger this, but
in case one is added in future, harden the code by adding the check

 References:
https://git.kernel.org/stable/c/b80aaff5f7817d50798ac61ed75973f004dd5202
https://git.kernel.org/stable/c/b028f89c56e964a22d3ddb8eab1a0e7e980841b9
https://git.kernel.org/stable/c/5b82e4240533bcd4691e50b64ec86d0d7fbd21b9
https://git.kernel.org/stable/c/3a23b384e7e3d64d5587ad10729a34d4f761517e

Copyright 2026, cxsecurity.com

 

Back to Top