<?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://cve.radiocsirt.org</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>Thu, 08 Oct 2026 20:53:16 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-48953 — rtc: cmos: Fix event handler registration ordering issue</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2022-48953</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;rtc: cmos: Fix event handler registration ordering issue&lt;/p&gt;
&lt;p&gt;Because acpi_install_fixed_event_handler() enables the event
automatically on success, it is incorrect to call it before the
handler routine passed to it is ready to handle events.&lt;/p&gt;
&lt;p&gt;Unfortunately, the rtc-cmos driver does exactly the incorrect thing
by calling cmos_wake_setup(), which passes rtc_handler() to
acpi_install_fixed_event_handler(), before cmos_do_probe(), because
rtc_handler() uses dev_get_drvdata() to get to the cmos object
pointer and the driver data pointer is only populated in
cmos_do_probe().&lt;/p&gt;
&lt;p&gt;This leads to a NULL pointer dereference in rtc_handler() on boot
if the RTC fixed event happens to be active at the init time.&lt;/p&gt;
&lt;p&gt;To address this issue, change the initialization ordering of the
driver so that cmos_wake_setup() is always called after a successful
cmos_do_probe() call.&lt;/p&gt;
&lt;p&gt;While at it, change cmos_pnp_probe() to call cmos_do_probe() after
the initial if () statement used for computing the IRQ argument to
be passed to cmos_do_probe() which is cleaner than calling it in
each branch of that if () (local variable &amp;#34;irq&amp;#34; can be of type int,
because it is passed to that function as an argument of type int).&lt;/p&gt;
&lt;p&gt;Note that commit 6492fed7d8c9 (&amp;#34;rtc: rtc-cmos: Do not check
ACPI_FADT_LOW_POWER_S0&amp;#34;) caused this issue to affect a larger number
of systems, because previously it only affected systems with
ACPI_FADT_LOW_POWER_S0 set, but it is present…&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;rtc: cmos: Fix event handler registration ordering issue&lt;/p&gt;
&lt;p&gt;Because acpi_install_fixed_event_handler() enables the event
automatically on success, it is incorrect to call it before the
handler routine passed to it is ready to handle events.&lt;/p&gt;
&lt;p&gt;Unfortunately, the rtc-cmos driver does exactly the incorrect thing
by calling cmos_wake_setup(), which passes rtc_handler() to
acpi_install_fixed_event_handler(), before cmos_do_probe(), because
rtc_handler() uses dev_get_drvdata() to get to the cmos object
pointer and the driver data pointer is only populated in
cmos_do_probe().&lt;/p&gt;
&lt;p&gt;This leads to a NULL pointer dereference in rtc_handler() on boot
if the RTC fixed event happens to be active at the init time.&lt;/p&gt;
&lt;p&gt;To address this issue, change the initialization ordering of the
driver so that cmos_wake_setup() is always called after a successful
cmos_do_probe() call.&lt;/p&gt;
&lt;p&gt;While at it, change cmos_pnp_probe() to call cmos_do_probe() after
the initial if () statement used for computing the IRQ argument to
be passed to cmos_do_probe() which is cleaner than calling it in
each branch of that if () (local variable &amp;#34;irq&amp;#34; can be of type int,
because it is passed to that function as an argument of type int).&lt;/p&gt;
&lt;p&gt;Note that commit 6492fed7d8c9 (&amp;#34;rtc: rtc-cmos: Do not check
ACPI_FADT_LOW_POWER_S0&amp;#34;) caused this issue to affect a larger number
of systems, because previously it only affected systems with
ACPI_FADT_LOW_POWER_S0 set, but it is present…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2022-48953</guid>
    </item>
  </channel>
</rss>
