<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Wed, 30 Sep 2026 03:02:20 +0000</lastBuildDate>
    <item>
      <title>CVE-2023-54259 — soundwire: bus: Fix unbalanced pm_runtime_put() causing usage count underflow</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2023-54259</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;soundwire: bus: Fix unbalanced pm_runtime_put() causing usage count underflow&lt;/p&gt;
&lt;p&gt;This reverts commit
443a98e649b4 (&amp;#34;soundwire: bus: use pm_runtime_resume_and_get()&amp;#34;)&lt;/p&gt;
&lt;p&gt;Change calls to pm_runtime_resume_and_get() back to pm_runtime_get_sync().
This fixes a usage count underrun caused by doing a pm_runtime_put() even
though pm_runtime_resume_and_get() returned an error.&lt;/p&gt;
&lt;p&gt;The three affected functions ignore -EACCES error from trying to get
pm_runtime, and carry on, including a put at the end of the function.
But pm_runtime_resume_and_get() does not increment the usage count if it
returns an error. So in the -EACCES case you must not call
pm_runtime_put().&lt;/p&gt;
&lt;p&gt;The documentation for pm_runtime_get_sync() says:
 &amp;#34;Consider using pm_runtime_resume_and_get() ...  as this is likely to
 result in cleaner code.&amp;#34;&lt;/p&gt;
&lt;p&gt;In this case I don&amp;#39;t think it results in cleaner code because the
pm_runtime_put() at the end of the function would have to be conditional on
the return value from pm_runtime_resume_and_get() at the top of the
function.&lt;/p&gt;
&lt;p&gt;pm_runtime_get_sync() doesn&amp;#39;t have this problem because it always
increments the count, so always needs a put. The code can just flow through
and do the pm_runtime_put() unconditionally.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;soundwire: bus: Fix unbalanced pm_runtime_put() causing usage count underflow&lt;/p&gt;
&lt;p&gt;This reverts commit
443a98e649b4 (&amp;#34;soundwire: bus: use pm_runtime_resume_and_get()&amp;#34;)&lt;/p&gt;
&lt;p&gt;Change calls to pm_runtime_resume_and_get() back to pm_runtime_get_sync().
This fixes a usage count underrun caused by doing a pm_runtime_put() even
though pm_runtime_resume_and_get() returned an error.&lt;/p&gt;
&lt;p&gt;The three affected functions ignore -EACCES error from trying to get
pm_runtime, and carry on, including a put at the end of the function.
But pm_runtime_resume_and_get() does not increment the usage count if it
returns an error. So in the -EACCES case you must not call
pm_runtime_put().&lt;/p&gt;
&lt;p&gt;The documentation for pm_runtime_get_sync() says:
 &amp;#34;Consider using pm_runtime_resume_and_get() ...  as this is likely to
 result in cleaner code.&amp;#34;&lt;/p&gt;
&lt;p&gt;In this case I don&amp;#39;t think it results in cleaner code because the
pm_runtime_put() at the end of the function would have to be conditional on
the return value from pm_runtime_resume_and_get() at the top of the
function.&lt;/p&gt;
&lt;p&gt;pm_runtime_get_sync() doesn&amp;#39;t have this problem because it always
increments the count, so always needs a put. The code can just flow through
and do the pm_runtime_put() unconditionally.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2023-54259</guid>
    </item>
  </channel>
</rss>
