PT-2026-168763

CVE-2026-143457

·

تاريخ النشر

2026-12-05

·

تاريخ التحديث

2026-12-05

الوصف من

الدرجة
N/A
غير متوفر

لا تتوفر حاليًا تقييمات أو مقاييس للخطورة. سنحدّث المعلومات المقابلة في الصفحة فور توفرها.

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).
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾