CVE-2026-143457
pwm: lp3943: fix NULL pointer dereference for an unconfigured channel
- Scores
- UnknownNo source reports a CVSS or EPSS score yet.
- Exploitation
- UnknownNo source reports exploitation yet.
- Listed fix
5.10.275for KernelFrom OSV6 more listed versions
Overview
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).
Affected
Packages 1
| Package | Affected | Fixed |
|---|---|---|
KernelLinux | 3.14.0 up to 5.10.275, 5.11.0 up to 5.15.226, 5.16.0 up to 6.1.193, 6.2.0 up to 6.6.163, 6.7.0 up to 6.12.119, 6.13.0 up to 6.18.65, 6.19.0 up to 7.3.6 | 5.10.2755.15.2266.1.1936.6.1636.12.1196.18.657.3.6 |
Products 1
Sources
CVE ListNo score
pwm: lp3943: fix NULL pointer dereference for an unconfigured channel
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).
- Record
CVE-2026-143457- Updated
- 2026-12-05
EUVDEUVD-2026-145086No score
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).
- Record
EUVD-2026-145086- Updated
- 2026-12-05
GitHub AdvisoriesGHSA-wwcf-58m5-rwvwNo score
In the Linux kernel, the following vulnerability has been resolved: pwm: lp3943: fix NULL...
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).
- Record
GHSA-wwcf-58m5-rwvw- Updated
- 2026-12-05
NVDNo score
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).
- Record
CVE-2026-143457- Updated
- 2026-12-05
OSVNo score
pwm: lp3943: fix NULL pointer dereference for an unconfigured channel
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).
- Record
CVE-2026-143457- Updated
- 2026-12-05
History
Recorded by Every CVE
| Day | Changed | Sources |
|---|---|---|
| Other IDs, published date | EUVD | |
| Other IDs, references | GitHub Advisories, NVD | |
| Affected packages, key facts, references | OSV | |
| First indexed | CVE List |
Upstream dates may differ.
References
git.kernel.org/stable/c/67f4eac92948d9f49c641f46ded45c50b809d038
git.kernel.org/stable/c/712a7db67b89079296d33170863aec5e63f9a898
git.kernel.org/stable/c/df4397c973a347a5e956bc8687d0995330455a4d
git.kernel.org/stable/c/a84360e2866e629955e5d7871a3daf6866c89686
git.kernel.org/stable/c/a586dc64158bffc879656f1da4f679185e961c48
git.kernel.org/stable/c/bd766beb93b552fb365f9e3961ce8a63f867d0a5
git.kernel.org/stable/c/3c5cc1ac12dc62fc3007b04aaec4ea9c0fffeda3
git.kernel.org/stable/c/17dbb6938d3ab444cd6be1c95506450595a8800d