<?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 10:33:50 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-26874 — drm/mediatek: Fix a null pointer crash in mtk_drm_crtc_finish_page_flip</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2024-26874</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;drm/mediatek: Fix a null pointer crash in mtk_drm_crtc_finish_page_flip&lt;/p&gt;
&lt;p&gt;It&amp;#39;s possible that mtk_crtc-&amp;gt;event is NULL in
mtk_drm_crtc_finish_page_flip().&lt;/p&gt;
&lt;p&gt;pending_needs_vblank value is set by mtk_crtc-&amp;gt;event, but in
mtk_drm_crtc_atomic_flush(), it&amp;#39;s is not guarded by the same
lock in mtk_drm_finish_page_flip(), thus a race condition happens.&lt;/p&gt;
&lt;p&gt;Consider the following case:&lt;/p&gt;
&lt;p&gt;CPU1                              CPU2
step 1:
mtk_drm_crtc_atomic_begin()
mtk_crtc-&amp;gt;event is not null,
                                  step 1:
                                  mtk_drm_crtc_atomic_flush:
                                  mtk_drm_crtc_update_config(
                                      !!mtk_crtc-&amp;gt;event)
step 2:
mtk_crtc_ddp_irq -&amp;gt;
mtk_drm_finish_page_flip:
lock
mtk_crtc-&amp;gt;event set to null,
pending_needs_vblank set to false
unlock
                                  pending_needs_vblank set to true,&lt;/p&gt;
&lt;p&gt;step 2:
                                  mtk_crtc_ddp_irq -&amp;gt;
                                  mtk_drm_finish_page_flip called again,
                                  pending_needs_vblank is still true
                                  //null pointer&lt;/p&gt;
&lt;p&gt;Instead of guarding the entire mtk_drm_crtc_atomic_flush(), it&amp;#39;s more
efficient to just check if mtk_crtc-&amp;gt;event is null before use.&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;drm/mediatek: Fix a null pointer crash in mtk_drm_crtc_finish_page_flip&lt;/p&gt;
&lt;p&gt;It&amp;#39;s possible that mtk_crtc-&amp;gt;event is NULL in
mtk_drm_crtc_finish_page_flip().&lt;/p&gt;
&lt;p&gt;pending_needs_vblank value is set by mtk_crtc-&amp;gt;event, but in
mtk_drm_crtc_atomic_flush(), it&amp;#39;s is not guarded by the same
lock in mtk_drm_finish_page_flip(), thus a race condition happens.&lt;/p&gt;
&lt;p&gt;Consider the following case:&lt;/p&gt;
&lt;p&gt;CPU1                              CPU2
step 1:
mtk_drm_crtc_atomic_begin()
mtk_crtc-&amp;gt;event is not null,
                                  step 1:
                                  mtk_drm_crtc_atomic_flush:
                                  mtk_drm_crtc_update_config(
                                      !!mtk_crtc-&amp;gt;event)
step 2:
mtk_crtc_ddp_irq -&amp;gt;
mtk_drm_finish_page_flip:
lock
mtk_crtc-&amp;gt;event set to null,
pending_needs_vblank set to false
unlock
                                  pending_needs_vblank set to true,&lt;/p&gt;
&lt;p&gt;step 2:
                                  mtk_crtc_ddp_irq -&amp;gt;
                                  mtk_drm_finish_page_flip called again,
                                  pending_needs_vblank is still true
                                  //null pointer&lt;/p&gt;
&lt;p&gt;Instead of guarding the entire mtk_drm_crtc_atomic_flush(), it&amp;#39;s more
efficient to just check if mtk_crtc-&amp;gt;event is null before use.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2024-26874</guid>
    </item>
  </channel>
</rss>
