PT-2026-166583

CVE-2026-142860

·

تاريخ النشر

2026-12-03

·

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

2026-12-03

الوصف من

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

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

In the Linux kernel, the following vulnerability has been resolved:
clk: mstar: msc313-mpll: fix off-by-one in clock array allocation
The hws array of mpll->clk data is allocated with struct size() using ARRAY SIZE(output dividers) as the element count, giving it 7 elements. But the probe function stores the MPLL clock at hws[0] and one fixed-factor clock for each output divider at hws[i + 1] for i in [0, ARRAY SIZE(output dividers)), writing 8 elements in total. The final write to hws[7] is past the end of the allocation.
clk data->num is also set to NUMOUTPUTS (8), so the clock framework reads hws[0..7], again accessing hws[7] out of bounds.
Use NUMOUTPUTS as the element count so the allocation matches the number of clocks actually stored and exposed.
Found by smatch: drivers/clk/mstar/clk-msc313-mpll.c:134 msc313 mpll probe() error: buffer overflow 'mpll->clk data->hws' 7 <= 7
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾