CVE-2026-139778
🔶 mediumAI Summary
The fixed regulator driver in the Linux kernel improperly handles non-DT platform devices by misinterpreting their platform data when forced through explicit driver binding. An attacker with local access can exploit this type confusion flaw to trigger kernel memory corruption or a system crash. Successful exploitation requires local execution privileges to manipulate device bindings.
Summary
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_v
Description
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.