<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-07T20:36:24.741811+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/cve-2025-37850</id>
    <title>CVE-2025-37850 — pwm: mediatek: Prevent divide-by-zero in pwm_mediatek_config()</title>
    <updated>2026-10-07T20:36:24.743607+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>pwm: mediatek: Prevent divide-by-zero in pwm_mediatek_config()</p>
<p>With CONFIG_COMPILE_TEST &amp;&amp; !CONFIG_HAVE_CLK, pwm_mediatek_config() has a
divide-by-zero in the following line:</p>
<p>do_div(resolution, clk_get_rate(pc-&gt;clk_pwms[pwm-&gt;hwpwm]));</p>
<p>due to the fact that the !CONFIG_HAVE_CLK version of clk_get_rate()
returns zero.</p>
<p>This is presumably just a theoretical problem: COMPILE_TEST overrides
the dependency on RALINK which would select COMMON_CLK.  Regardless it's
a good idea to check for the error explicitly to avoid divide-by-zero.</p>
<p>Fixes the following warning:</p>
<p>drivers/pwm/pwm-mediatek.o: warning: objtool: .text: unexpected end of section</p>
<p>[ukleinek: s/CONFIG_CLK/CONFIG_HAVE_CLK/]</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/cve-2025-37850"/>
  </entry>
</feed>
