<?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://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-02T18:32:36.543330+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" 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://vulnerability.circl.lu/vuln/cve-2025-39915</id>
    <title>CVE-2025-39915 — net: phy: transfer phy_config_inband() locking responsibility to phylink</title>
    <updated>2026-10-02T18:32:36.567561+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>net: phy: transfer phy_config_inband() locking responsibility to phylink</p>
<p>Problem description
===================</p>
<p>Lockdep reports a possible circular locking dependency (AB/BA) between
&amp;pl-&gt;state_mutex and &amp;phy-&gt;lock, as follows.</p>
<p>phylink_resolve() // acquires &amp;pl-&gt;state_mutex
-&gt; phylink_major_config()
   -&gt; phy_config_inband() // acquires &amp;pl-&gt;phydev-&gt;lock</p>
<p>whereas all the other call sites where &amp;pl-&gt;state_mutex and
&amp;pl-&gt;phydev-&gt;lock have the locking scheme reversed. Everywhere else,
&amp;pl-&gt;phydev-&gt;lock is acquired at the top level, and &amp;pl-&gt;state_mutex at
the lower level. A clear example is phylink_bringup_phy().</p>
<p>The outlier is the newly introduced phy_config_inband() and the existing
lock order is the correct one. To understand why it cannot be the other
way around, it is sufficient to consider phylink_phy_change(), phylink's
callback from the PHY device's phy-&gt;phy_link_change() virtual method,
invoked by the PHY state machine.</p>
<p>phy_link_up() and phy_link_down(), the (indirect) callers of
phylink_phy_change(), are called with &amp;phydev-&gt;lock acquired.
Then phylink_phy_change() acquires its own &amp;pl-&gt;state_mutex, to
serialize changes made to its pl-&gt;phy_state and pl-&gt;link_config.
So all other instances of &amp;pl-&gt;state_mutex and &amp;phydev-&gt;lock must be
consistent with this order.</p>
<p>Problem impact
==============</p>
<p>I think the kernel runs a serious deadlock risk if an existing
phylink_resolve() thread, which results…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2025-39915"/>
  </entry>
</feed>
