{"id":"CVE-2026-142837","summary":"clk: qcom: ipq-cmn-pll: Assign .num before accessing .hws","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nclk: qcom: ipq-cmn-pll: Assign .num before accessing .hws\n\nhw_data-\u003ehws[] is annotated with __counted_by(num), so hw_data-\u003enum\nmust hold the element count before the array is accessed.\nipq_cmn_pll_register_clks() assigns it only after storing the fixed\nrate output clocks and the CMN PLL, and the unwind loop under\nunregister_fixed_clk reads .hws[] with .num still zero. Both are\nout-of-bounds accesses under CONFIG_UBSAN_BOUNDS.\n\nMove the assignment to right after the allocation.","modified":"2026-12-03T05:00:55.012062079Z","published":"2026-12-03T03:20:50.432Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142837.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/231bbd135772390522be3656b34b49ea3039eccf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/29d810702de082a48d7afebd86c87d9a15b41ff1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/324cc3d6fafeebbad8892e25c23e018a98909ec5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142837.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142837"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"f81715a4c87c3b75ca2640bb61b6c66506061a64"},{"fixed":"29d810702de082a48d7afebd86c87d9a15b41ff1"},{"fixed":"324cc3d6fafeebbad8892e25c23e018a98909ec5"},{"fixed":"231bbd135772390522be3656b34b49ea3039eccf"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142837.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.14.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142837.json"}}],"schema_version":"1.9.2"}