<?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://db.gcve.eu</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>Mon, 28 Sep 2026 21:57:04 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-49350 — net: mdio: unexport __init-annotated mdio_bus_init()</title>
      <link>https://db.gcve.eu/vuln/cve-2022-49350</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;net: mdio: unexport __init-annotated mdio_bus_init()&lt;/p&gt;
&lt;p&gt;EXPORT_SYMBOL and __init is a bad combination because the .init.text
section is freed up after the initialization. Hence, modules cannot
use symbols annotated __init. The access to a freed symbol may end up
with kernel panic.&lt;/p&gt;
&lt;p&gt;modpost used to detect it, but it has been broken for a decade.&lt;/p&gt;
&lt;p&gt;Recently, I fixed modpost so it started to warn it again, then this
showed up in linux-next builds.&lt;/p&gt;
&lt;p&gt;There are two ways to fix it:&lt;/p&gt;
&lt;p&gt;- Remove __init
  - Remove EXPORT_SYMBOL&lt;/p&gt;
&lt;p&gt;I chose the latter for this case because the only in-tree call-site,
drivers/net/phy/phy_device.c is never compiled as modular.
(CONFIG_PHYLIB is boolean)&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;net: mdio: unexport __init-annotated mdio_bus_init()&lt;/p&gt;
&lt;p&gt;EXPORT_SYMBOL and __init is a bad combination because the .init.text
section is freed up after the initialization. Hence, modules cannot
use symbols annotated __init. The access to a freed symbol may end up
with kernel panic.&lt;/p&gt;
&lt;p&gt;modpost used to detect it, but it has been broken for a decade.&lt;/p&gt;
&lt;p&gt;Recently, I fixed modpost so it started to warn it again, then this
showed up in linux-next builds.&lt;/p&gt;
&lt;p&gt;There are two ways to fix it:&lt;/p&gt;
&lt;p&gt;- Remove __init
  - Remove EXPORT_SYMBOL&lt;/p&gt;
&lt;p&gt;I chose the latter for this case because the only in-tree call-site,
drivers/net/phy/phy_device.c is never compiled as modular.
(CONFIG_PHYLIB is boolean)&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2022-49350</guid>
    </item>
  </channel>
</rss>
