<?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>Tue, 29 Sep 2026 02:49:44 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-27040 — drm/amd/display: Add 'replay' NULL check in 'edp_set_replay_allow_active()'</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-27040</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/amd/display: Add &amp;#39;replay&amp;#39; NULL check in &amp;#39;edp_set_replay_allow_active()&amp;#39;&lt;/p&gt;
&lt;p&gt;In the first if statement, we&amp;#39;re checking if &amp;#39;replay&amp;#39; is NULL. But in
the second if statement, we&amp;#39;re not checking if &amp;#39;replay&amp;#39; is NULL again
before calling replay-&amp;gt;funcs-&amp;gt;replay_set_power_opt().&lt;/p&gt;
&lt;p&gt;if (replay == NULL &amp;amp;&amp;amp; force_static)
    return false;&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;if (link-&amp;gt;replay_settings.replay_feature_enabled &amp;amp;&amp;amp;
    replay-&amp;gt;funcs-&amp;gt;replay_set_power_opt) {
	replay-&amp;gt;funcs-&amp;gt;replay_set_power_opt(replay, *power_opts, panel_inst);
	link-&amp;gt;replay_settings.replay_power_opt_active = *power_opts;
}&lt;/p&gt;
&lt;p&gt;If &amp;#39;replay&amp;#39; is NULL, this will cause a null pointer dereference.&lt;/p&gt;
&lt;p&gt;Fixes the below found by smatch:
drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_edp_panel_control.c:895 edp_set_replay_allow_active() error: we previously assumed &amp;#39;replay&amp;#39; could be null (see line 887)&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/amd/display: Add &amp;#39;replay&amp;#39; NULL check in &amp;#39;edp_set_replay_allow_active()&amp;#39;&lt;/p&gt;
&lt;p&gt;In the first if statement, we&amp;#39;re checking if &amp;#39;replay&amp;#39; is NULL. But in
the second if statement, we&amp;#39;re not checking if &amp;#39;replay&amp;#39; is NULL again
before calling replay-&amp;gt;funcs-&amp;gt;replay_set_power_opt().&lt;/p&gt;
&lt;p&gt;if (replay == NULL &amp;amp;&amp;amp; force_static)
    return false;&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;if (link-&amp;gt;replay_settings.replay_feature_enabled &amp;amp;&amp;amp;
    replay-&amp;gt;funcs-&amp;gt;replay_set_power_opt) {
	replay-&amp;gt;funcs-&amp;gt;replay_set_power_opt(replay, *power_opts, panel_inst);
	link-&amp;gt;replay_settings.replay_power_opt_active = *power_opts;
}&lt;/p&gt;
&lt;p&gt;If &amp;#39;replay&amp;#39; is NULL, this will cause a null pointer dereference.&lt;/p&gt;
&lt;p&gt;Fixes the below found by smatch:
drivers/gpu/drm/amd/amdgpu/../display/dc/link/protocols/link_edp_panel_control.c:895 edp_set_replay_allow_active() error: we previously assumed &amp;#39;replay&amp;#39; could be null (see line 887)&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-27040</guid>
    </item>
  </channel>
</rss>
