{"id":"CVE-2026-143457","aliases":["EUVD-2026-145086","GHSA-wwcf-58m5-rwvw"],"status":"published","title":"pwm: lp3943: fix NULL pointer dereference for an unconfigured channel","description":"In the Linux kernel, the following vulnerability has been resolved:\n\npwm: lp3943: fix NULL pointer dereference for an unconfigured channel\n\nlp3943_pwm_probe() unconditionally registers a pwmchip with\nLP3943_NUM_PWMS(2) hwpwm channels, but lp3943_pwm_parse_dt() only\npopulates pdata-\u003epwms[i] for the channels whose ti,pwm0/ti,pwm1\nproperty is actually present in the devicetree (the binding\nexplicitly allows each PWM generator to drive zero or more outputs,\nand lp3943_pwm_parse_dt() only fails outright with -ENODATA if\n*neither* property is present). A devicetree that configures only one\nof the two channels leaves pdata-\u003epwms[] NULL for the other.\n\nlp3943_pwm_request_map() dereferences pdata-\u003epwms[hwpwm] with no NULL\ncheck:\n\n\tpwm_map-\u003eoutput = pdata-\u003epwms[hwpwm]-\u003eoutput;\n\tpwm_map-\u003enum_outputs = pdata-\u003epwms[hwpwm]-\u003enum_outputs;\n\nso requesting the unconfigured channel (e.g. exporting it from\nsysfs) crashes with a NULL pointer dereference instead of failing\ncleanly.\n\nReturn -ENODEV from lp3943_pwm_request_map() when the channel was\nnever configured, before the pointer is dereferenced. The caller,\nlp3943_pwm_request(), already propagates an ERR_PTR return correctly\n(it does so today for the existing -EBUSY case).","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2026-12-05T01:41:36Z","modified":"2026-12-05T03:30:37Z","fixes":[{"ecosystem":"Linux","package":"Kernel","fixed_in":["5.10.275","5.15.226","6.1.193","6.6.163","6.12.119","6.18.65","7.3.6"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Linux","package":"Kernel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.14.0"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}]}],"products":[{"vendor":"linux","product":"linux"}],"references":[{"url":"https://git.kernel.org/stable/c/67f4eac92948d9f49c641f46ded45c50b809d038","tags":["web"]},{"url":"https://git.kernel.org/stable/c/712a7db67b89079296d33170863aec5e63f9a898","tags":["web"]},{"url":"https://git.kernel.org/stable/c/df4397c973a347a5e956bc8687d0995330455a4d","tags":["web"]},{"url":"https://git.kernel.org/stable/c/a84360e2866e629955e5d7871a3daf6866c89686","tags":["web"]},{"url":"https://git.kernel.org/stable/c/a586dc64158bffc879656f1da4f679185e961c48","tags":["web"]},{"url":"https://git.kernel.org/stable/c/bd766beb93b552fb365f9e3961ce8a63f867d0a5","tags":["web"]},{"url":"https://git.kernel.org/stable/c/3c5cc1ac12dc62fc3007b04aaec4ea9c0fffeda3","tags":["web"]},{"url":"https://git.kernel.org/stable/c/17dbb6938d3ab444cd6be1c95506450595a8800d","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143457","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-wwcf-58m5-rwvw"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143457.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-143457","title":"pwm: lp3943: fix NULL pointer dereference for an unconfigured channel","description":"In the Linux kernel, the following vulnerability has been resolved:\n\npwm: lp3943: fix NULL pointer dereference for an unconfigured channel\n\nlp3943_pwm_probe() unconditionally registers a pwmchip with\nLP3943_NUM_PWMS(2) hwpwm channels, but lp3943_pwm_parse_dt() only\npopulates pdata-\u003epwms[i] for the channels whose ti,pwm0/ti,pwm1\nproperty is actually present in the devicetree (the binding\nexplicitly allows each PWM generator to drive zero or more outputs,\nand lp3943_pwm_parse_dt() only fails outright with -ENODATA if\n*neither* property is present). A devicetree that configures only one\nof the two channels leaves pdata-\u003epwms[] NULL for the other.\n\nlp3943_pwm_request_map() dereferences pdata-\u003epwms[hwpwm] with no NULL\ncheck:\n\n\tpwm_map-\u003eoutput = pdata-\u003epwms[hwpwm]-\u003eoutput;\n\tpwm_map-\u003enum_outputs = pdata-\u003epwms[hwpwm]-\u003enum_outputs;\n\nso requesting the unconfigured channel (e.g. exporting it from\nsysfs) crashes with a NULL pointer dereference instead of failing\ncleanly.\n\nReturn -ENODEV from lp3943_pwm_request_map() when the channel was\nnever configured, before the pointer is dereferenced. The caller,\nlp3943_pwm_request(), already propagates an ERR_PTR return correctly\n(it does so today for the existing -EBUSY case).","status":"published","published":"2026-12-05T01:41:36.745Z","modified":"2026-12-05T01:41:36.745Z","updated_at":"2026-12-05T01:48:47.517798Z"}],"euvd":[{"id":"EUVD-2026-145086","description":"In the Linux kernel, the following vulnerability has been resolved:\n\npwm: lp3943: fix NULL pointer dereference for an unconfigured channel\n\nlp3943_pwm_probe() unconditionally registers a pwmchip with\nLP3943_NUM_PWMS(2) hwpwm channels, but lp3943_pwm_parse_dt() only\npopulates pdata-\u003epwms[i] for the channels whose ti,pwm0/ti,pwm1\nproperty is actually present in the devicetree (the binding\nexplicitly allows each PWM generator to drive zero or more outputs,\nand lp3943_pwm_parse_dt() only fails outright with -ENODATA if\n*neither* property is present). A devicetree that configures only one\nof the two channels leaves pdata-\u003epwms[] NULL for the other.\n\nlp3943_pwm_request_map() dereferences pdata-\u003epwms[hwpwm] with no NULL\ncheck:\n\n\tpwm_map-\u003eoutput = pdata-\u003epwms[hwpwm]-\u003eoutput;\n\tpwm_map-\u003enum_outputs = pdata-\u003epwms[hwpwm]-\u003enum_outputs;\n\nso requesting the unconfigured channel (e.g. exporting it from\nsysfs) crashes with a NULL pointer dereference instead of failing\ncleanly.\n\nReturn -ENODEV from lp3943_pwm_request_map() when the channel was\nnever configured, before the pointer is dereferenced. The caller,\nlp3943_pwm_request(), already propagates an ERR_PTR return correctly\n(it does so today for the existing -EBUSY case).","status":"published","published":"2026-12-05T01:41:36Z","modified":"2026-12-05T01:41:36Z","updated_at":"2026-12-05T03:44:21.912352Z"}],"ghsa":[{"id":"GHSA-wwcf-58m5-rwvw","title":"In the Linux kernel, the following vulnerability has been resolved:\n\npwm: lp3943: fix NULL...","description":"In the Linux kernel, the following vulnerability has been resolved:\n\npwm: lp3943: fix NULL pointer dereference for an unconfigured channel\n\nlp3943_pwm_probe() unconditionally registers a pwmchip with\nLP3943_NUM_PWMS(2) hwpwm channels, but lp3943_pwm_parse_dt() only\npopulates pdata-\u003epwms[i] for the channels whose ti,pwm0/ti,pwm1\nproperty is actually present in the devicetree (the binding\nexplicitly allows each PWM generator to drive zero or more outputs,\nand lp3943_pwm_parse_dt() only fails outright with -ENODATA if\n*neither* property is present). A devicetree that configures only one\nof the two channels leaves pdata-\u003epwms[] NULL for the other.\n\nlp3943_pwm_request_map() dereferences pdata-\u003epwms[hwpwm] with no NULL\ncheck:\n\n\tpwm_map-\u003eoutput = pdata-\u003epwms[hwpwm]-\u003eoutput;\n\tpwm_map-\u003enum_outputs = pdata-\u003epwms[hwpwm]-\u003enum_outputs;\n\nso requesting the unconfigured channel (e.g. exporting it from\nsysfs) crashes with a NULL pointer dereference instead of failing\ncleanly.\n\nReturn -ENODEV from lp3943_pwm_request_map() when the channel was\nnever configured, before the pointer is dereferenced. The caller,\nlp3943_pwm_request(), already propagates an ERR_PTR return correctly\n(it does so today for the existing -EBUSY case).","status":"published","published":"2026-12-05T03:30:29Z","modified":"2026-12-05T03:30:37Z","updated_at":"2026-12-05T03:31:20.896926Z"}],"nvd":[{"id":"CVE-2026-143457","description":"In the Linux kernel, the following vulnerability has been resolved:\n\npwm: lp3943: fix NULL pointer dereference for an unconfigured channel\n\nlp3943_pwm_probe() unconditionally registers a pwmchip with\nLP3943_NUM_PWMS(2) hwpwm channels, but lp3943_pwm_parse_dt() only\npopulates pdata-\u003epwms[i] for the channels whose ti,pwm0/ti,pwm1\nproperty is actually present in the devicetree (the binding\nexplicitly allows each PWM generator to drive zero or more outputs,\nand lp3943_pwm_parse_dt() only fails outright with -ENODATA if\n*neither* property is present). A devicetree that configures only one\nof the two channels leaves pdata-\u003epwms[] NULL for the other.\n\nlp3943_pwm_request_map() dereferences pdata-\u003epwms[hwpwm] with no NULL\ncheck:\n\n\tpwm_map-\u003eoutput = pdata-\u003epwms[hwpwm]-\u003eoutput;\n\tpwm_map-\u003enum_outputs = pdata-\u003epwms[hwpwm]-\u003enum_outputs;\n\nso requesting the unconfigured channel (e.g. exporting it from\nsysfs) crashes with a NULL pointer dereference instead of failing\ncleanly.\n\nReturn -ENODEV from lp3943_pwm_request_map() when the channel was\nnever configured, before the pointer is dereferenced. The caller,\nlp3943_pwm_request(), already propagates an ERR_PTR return correctly\n(it does so today for the existing -EBUSY case).","status":"published","published":"2026-12-05T03:19:58.173Z","modified":"2026-12-05T03:19:58.173Z","updated_at":"2026-12-05T03:21:31.003878Z"}],"osv":[{"id":"CVE-2026-143457","title":"pwm: lp3943: fix NULL pointer dereference for an unconfigured channel","description":"In the Linux kernel, the following vulnerability has been resolved:\n\npwm: lp3943: fix NULL pointer dereference for an unconfigured channel\n\nlp3943_pwm_probe() unconditionally registers a pwmchip with\nLP3943_NUM_PWMS(2) hwpwm channels, but lp3943_pwm_parse_dt() only\npopulates pdata-\u003epwms[i] for the channels whose ti,pwm0/ti,pwm1\nproperty is actually present in the devicetree (the binding\nexplicitly allows each PWM generator to drive zero or more outputs,\nand lp3943_pwm_parse_dt() only fails outright with -ENODATA if\n*neither* property is present). A devicetree that configures only one\nof the two channels leaves pdata-\u003epwms[] NULL for the other.\n\nlp3943_pwm_request_map() dereferences pdata-\u003epwms[hwpwm] with no NULL\ncheck:\n\n\tpwm_map-\u003eoutput = pdata-\u003epwms[hwpwm]-\u003eoutput;\n\tpwm_map-\u003enum_outputs = pdata-\u003epwms[hwpwm]-\u003enum_outputs;\n\nso requesting the unconfigured channel (e.g. exporting it from\nsysfs) crashes with a NULL pointer dereference instead of failing\ncleanly.\n\nReturn -ENODEV from lp3943_pwm_request_map() when the channel was\nnever configured, before the pointer is dereferenced. The caller,\nlp3943_pwm_request(), already propagates an ERR_PTR return correctly\n(it does so today for the existing -EBUSY case).","status":"published","published":"2026-12-05T01:41:36.745Z","modified":"2026-12-05T03:01:11.690547838Z","updated_at":"2026-12-05T03:12:22.167187Z"}]}}
