summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorChandradhar Kumar <chandradhar.2003@gmail.com>2026-08-22 12:25:19 +0530
committerMark Brown <broonie@kernel.org>2026-08-30 23:41:14 +0100
commitf7396c2dbbc1bed6c2c554d1ddf80d16e4780a7d (patch)
tree0a8ff4b8d94870b126a0864e1ff7c6a385379ef5 /scripts/Makefile.thinlto
parent0c47038219a048b12c7e095d6f4b0cdd146e878a (diff)
downloadlinux-next-f7396c2dbbc1bed6c2c554d1ddf80d16e4780a7d.tar.gz
linux-next-f7396c2dbbc1bed6c2c554d1ddf80d16e4780a7d.zip
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. Fixes: 4b74ff651249 ("regulator: add support for fixed regulators.") Reported-by: syzbot+bfc9e55cf4f98183c636@syzkaller.appspotmail.com Closes: https://syzbot.org/bug?extid=bfc9e55cf4f98183c636 Signed-off-by: Chandradhar Kumar <chandradhar.2003@gmail.com> Link: https://patch.msgid.link/20260822065519.112441-1-chandradhar.2003@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions