In the Linux kernel, the following vulnerability has been resolved: regulator: fixed: reject incompatible platform devices The fixed regulator driver expects non-DT platform devices to provide their configuration through platform_data as a struct fixed_voltage_config. An explicitly bound driver can bypass the normal platform device/driver matching and attach the fixed regulator driver to an unrelated platform device. This causes the driver's platform_data to be interpreted as a struct fixed_voltage_config even though it contains data for a different device. Reject non-DT platform devices whose name does not match the fixed regulator driver before accessing their platform data.
https://git.kernel.org/stable/c/f7396c2dbbc1bed6c2c554d1ddf80d16e4780a7d
https://git.kernel.org/stable/c/e9261524561614c4ad5fd1e9f007f9593ea1a45c
https://git.kernel.org/stable/c/e454eedb10f2af3ba842f8814dd599e6d0ea3594
https://git.kernel.org/stable/c/d50f97567955178ad6da06742461668c08bcf0b4
https://git.kernel.org/stable/c/8eb49d677eeedc90470514fcf0f3d03db87480ce
https://git.kernel.org/stable/c/267da60b7157192439344a5c2ea45444f39f229b
https://git.kernel.org/stable/c/266559c59b59e189c29e065ac00d1c88bc8e7372
https://git.kernel.org/stable/c/1d349aa916bd6a9697d34dba821f988322943276