PT-2026-168763
CVE-2026-143457
·
Published
2026-12-05
·
Updated
2026-12-05
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
pwm: lp3943: fix NULL pointer dereference for an unconfigured channel
lp3943 pwm probe() unconditionally registers a pwmchip with
LP3943 NUM PWMS(2) hwpwm channels, but lp3943 pwm parse dt() only
populates pdata->pwms[i] for the channels whose ti,pwm0/ti,pwm1
property is actually present in the devicetree (the binding
explicitly allows each PWM generator to drive zero or more outputs,
and lp3943 pwm parse dt() only fails outright with -ENODATA if
neither property is present). A devicetree that configures only one
of the two channels leaves pdata->pwms[] NULL for the other.
lp3943 pwm request map() dereferences pdata->pwms[hwpwm] with no NULL
check:
pwm map->output = pdata->pwms[hwpwm]->output;
pwm map->num outputs = pdata->pwms[hwpwm]->num outputs;so requesting the unconfigured channel (e.g. exporting it from
sysfs) crashes with a NULL pointer dereference instead of failing
cleanly.
Return -ENODEV from lp3943 pwm request map() when the channel was
never configured, before the pointer is dereferenced. The caller,
lp3943 pwm request(), already propagates an ERR PTR return correctly
(it does so today for the existing -EBUSY case).
Found an issue in the description? Have something to add? Feel free to write us 👾