{"id":41297,"date":"2026-10-19T00:33:05","date_gmt":"2026-10-18T16:33:05","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98825"},"modified":"2026-10-19T00:33:05","modified_gmt":"2026-10-18T16:33:05","slug":"cve-2026-98825","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-98825","title":{"rendered":"CVE-2026-98825 &#8211; In the Linux kernel, the following vulnerability has been resolved:\n\nrtc: mpfs: fix unchec"},"content":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>rtc: mpfs: fix unchecked devm_clk_get() error pointer in probe()<\/p>\n<p>devm_clk_get(&amp;pdev-&gt;dev, &#8220;rtcref&#8221;)&#8217;s return value was passed straight<br \/>\ninto clk_get_rate() without checking it for an error first, unlike the<br \/>\n&#8220;rtc&#8221; clock a few lines above which is correctly checked with<br \/>\nIS_ERR(). clk_get_rate() only guards against a NULL clk, not an error<br \/>\npointer:<\/p>\n<p>\tif (!clk)<br \/>\n\t\treturn 0;<br \/>\n\t&#8230;<br \/>\n\trate = clk_core_get_rate_recalc(clk-&gt;core);<\/p>\n<p>so if devm_clk_get() ever returns an error pointer here (for example<br \/>\nERR_PTR(-EPROBE_DEFER), which is the normal, expected outcome if the<br \/>\nclkcfg clock-provider this RTC depends on has not registered its<br \/>\nclocks yet by the time this driver probes), clk_get_rate() dereferences<br \/>\nthat error pointer instead of returning 0, crashing instead of letting<br \/>\nprobe defer.<\/p>\n<p>Capture the clock in the existing &#8216;clk&#8217; local and check it with<br \/>\nIS_ERR() before calling clk_get_rate(), matching the handling already<br \/>\nused for the &#8220;rtc&#8221; clock in this same function.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the Linux kernel, the following vulnerability has been resolved:<\/p>\n<p>rtc: mpfs: fix unchecked devm_clk_get() error pointer in probe()<\/p>\n<p>devm_clk_get(&amp;pdev-&gt;dev, &#8220;rtcref&#8221;)&#8217;s return value was passed stra<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-41297","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/41297","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=41297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=41297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=41297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}