{"schemaVersion":4,"id":"CVE-2026-143457","aliases":[],"status":"published","duplicateOf":null,"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->pwms[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->pwms[] NULL for the other.\n\nlp3943_pwm_request_map() dereferences pdata->pwms[hwpwm] with no NULL\ncheck:\n\n\tpwm_map->output = pdata->pwms[hwpwm]->output;\n\tpwm_map->num_outputs = pdata->pwms[hwpwm]->num_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).","dates":{"published":"2026-12-05T01:41:36.745Z","modified":"2026-12-05T01:41:36.745Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":null,"severity":"unknown","version":null,"versionLabel":null,"source":null,"vector":null,"computed":false,"selection":"none"},"metrics":[]},"epss":{"probability":null,"percentile":null,"severity":"unknown","asOf":null,"change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[],"last30":[]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[],"affected":[{"vendor":"linux","product":"linux","name":"Linux","label":"linux","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ af66b3c0934e350059646651958306565313e145, < 67f4eac92948d9f49c641f46ded45c50b809d038","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"af66b3c0934e350059646651958306565313e145","startInclusive":true,"end":"67f4eac92948d9f49c641f46ded45c50b809d038","endInclusive":false}},{"text":"≥ af66b3c0934e350059646651958306565313e145, < 712a7db67b89079296d33170863aec5e63f9a898","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"af66b3c0934e350059646651958306565313e145","startInclusive":true,"end":"712a7db67b89079296d33170863aec5e63f9a898","endInclusive":false}},{"text":"≥ af66b3c0934e350059646651958306565313e145, < df4397c973a347a5e956bc8687d0995330455a4d","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"af66b3c0934e350059646651958306565313e145","startInclusive":true,"end":"df4397c973a347a5e956bc8687d0995330455a4d","endInclusive":false}},{"text":"≥ af66b3c0934e350059646651958306565313e145, < a84360e2866e629955e5d7871a3daf6866c89686","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"af66b3c0934e350059646651958306565313e145","startInclusive":true,"end":"a84360e2866e629955e5d7871a3daf6866c89686","endInclusive":false}},{"text":"≥ af66b3c0934e350059646651958306565313e145, < a586dc64158bffc879656f1da4f679185e961c48","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"af66b3c0934e350059646651958306565313e145","startInclusive":true,"end":"a586dc64158bffc879656f1da4f679185e961c48","endInclusive":false}},{"text":"≥ af66b3c0934e350059646651958306565313e145, < bd766beb93b552fb365f9e3961ce8a63f867d0a5","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"af66b3c0934e350059646651958306565313e145","startInclusive":true,"end":"bd766beb93b552fb365f9e3961ce8a63f867d0a5","endInclusive":false}},{"text":"≥ af66b3c0934e350059646651958306565313e145, < 3c5cc1ac12dc62fc3007b04aaec4ea9c0fffeda3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"af66b3c0934e350059646651958306565313e145","startInclusive":true,"end":"3c5cc1ac12dc62fc3007b04aaec4ea9c0fffeda3","endInclusive":false}},{"text":"≥ af66b3c0934e350059646651958306565313e145, < 17dbb6938d3ab444cd6be1c95506450595a8800d","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"af66b3c0934e350059646651958306565313e145","startInclusive":true,"end":"17dbb6938d3ab444cd6be1c95506450595a8800d","endInclusive":false}},{"text":"3.14","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"3.14","startInclusive":true,"end":"3.14","endInclusive":true}}],"versionsText":"≥ af66b3c0934e350059646651958306565313e145, < 67f4eac92948d9f49c641f46ded45c50b809d038 | ≥ af66b3c0934e350059646651958306565313e145, < 712a7db67b89079296d33170863aec5e63f9a898 | ≥ af66b3c0934e350059646651958306565313e145, < df4397c973a347a5e956bc8687d0995330455a4d | ≥ af66b3c0934e350059646651958306565313e145, < a84360e2866e629955e5d7871a3daf6866c89686 | ≥ af66b3c0934e350059646651958306565313e145, < a586dc64158bffc879656f1da4f679185e961c48 | ≥ af66b3c0934e350059646651958306565313e145, < bd766beb93b552fb365f9e3961ce8a63f867d0a5 | ≥ af66b3c0934e350059646651958306565313e145, < 3c5cc1ac12dc62fc3007b04aaec4ea9c0fffeda3 | ≥ af66b3c0934e350059646651958306565313e145, < 17dbb6938d3ab444cd6be1c95506450595a8800d | 3.14","eol":null,"hubHref":"/vendor/linux/linux"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://git.kernel.org/stable/c/67f4eac92948d9f49c641f46ded45c50b809d038","label":"git.kernel.org/stable/c/67f4eac92948d9f49c641f46ded45c50b809d038","hostname":"git.kernel.org","tags":[]},{"url":"https://git.kernel.org/stable/c/712a7db67b89079296d33170863aec5e63f9a898","label":"git.kernel.org/stable/c/712a7db67b89079296d33170863aec5e63f9a898","hostname":"git.kernel.org","tags":[]},{"url":"https://git.kernel.org/stable/c/df4397c973a347a5e956bc8687d0995330455a4d","label":"git.kernel.org/stable/c/df4397c973a347a5e956bc8687d0995330455a4d","hostname":"git.kernel.org","tags":[]},{"url":"https://git.kernel.org/stable/c/a84360e2866e629955e5d7871a3daf6866c89686","label":"git.kernel.org/stable/c/a84360e2866e629955e5d7871a3daf6866c89686","hostname":"git.kernel.org","tags":[]},{"url":"https://git.kernel.org/stable/c/a586dc64158bffc879656f1da4f679185e961c48","label":"git.kernel.org/stable/c/a586dc64158bffc879656f1da4f679185e961c48","hostname":"git.kernel.org","tags":[]},{"url":"https://git.kernel.org/stable/c/bd766beb93b552fb365f9e3961ce8a63f867d0a5","label":"git.kernel.org/stable/c/bd766beb93b552fb365f9e3961ce8a63f867d0a5","hostname":"git.kernel.org","tags":[]},{"url":"https://git.kernel.org/stable/c/3c5cc1ac12dc62fc3007b04aaec4ea9c0fffeda3","label":"git.kernel.org/stable/c/3c5cc1ac12dc62fc3007b04aaec4ea9c0fffeda3","hostname":"git.kernel.org","tags":[]},{"url":"https://git.kernel.org/stable/c/17dbb6938d3ab444cd6be1c95506450595a8800d","label":"git.kernel.org/stable/c/17dbb6938d3ab444cd6be1c95506450595a8800d","hostname":"git.kernel.org","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-12-05T01:41:36.745Z","label":"Published","detail":"Vulnerability first disclosed.","source":null}],"priority":{"label":"insufficient-evidence","tag":null,"reason":"No CVSS vector published; no exploitation reported by the 5 checked sources","nextStep":"Check the vendor advisory","rank":[0,0,0,0,0,0],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[],"epss":{"value":null,"date":null,"stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T03:02:07.274Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T03:02:07.824Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T03:02:08.009Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T03:00:58.365Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T03:02:05.166Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T03:02:04.195Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T03:10:51.715Z","stale":false,"partial":false}}