<?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>Fri, 20 Nov 2026 21:15:54 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-99485 — accel/amdxdna: clear the mailbox channel pointer when starting it fails</title>
      <link>https://db.gcve.eu/vuln/cve-2026-99485</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;accel/amdxdna: clear the mailbox channel pointer when starting it fails&lt;/p&gt;
&lt;p&gt;aie2_create_context() allocates a mailbox channel, starts it, and on a
failed start frees it again:&lt;/p&gt;
&lt;p&gt;hwctx-&amp;gt;priv-&amp;gt;mbox_chann = xdna_mailbox_alloc_channel(ndev-&amp;gt;mbox);
	...
	ret = xdna_mailbox_start_channel(hwctx-&amp;gt;priv-&amp;gt;mbox_chann, ...);
	if (ret)
		goto free_channel;
	...
free_channel:
	xdna_mailbox_free_channel(hwctx-&amp;gt;priv-&amp;gt;mbox_chann);&lt;/p&gt;
&lt;p&gt;hwctx-&amp;gt;priv-&amp;gt;mbox_chann keeps pointing at the freed channel. That
pointer is the driver&amp;#39;s own test for whether a hardware context has a
usable channel: aie2_destroy_context() returns early on NULL,
aie2_sched_job_run() refuses to run a job on NULL, and the message
helpers return -ENODEV on NULL. A stale pointer passes all of them.&lt;/p&gt;
&lt;p&gt;It matters on the restart path. aie2_hwctx_restart() calls
aie2_create_context() again on a hardware context that is already live,
after aie2_hwctx_stop() has torn its channel down, and the context
survives a failure there: aie2_sched_job_timedout() discards the return
value entirely, and aie2_hwctx_resume() only propagates it. What is
left is a live hardware context holding a freed channel, and every
later user of it takes the non-NULL branch:&lt;/p&gt;
&lt;p&gt;- the next job submitted reaches xdna_mailbox_send_msg() on the freed
    channel, via the !mbox_chann guard in aie2_sched_job_run(),
  - a second command timeout reaches aie2_hwctx_stop() -&amp;gt;
    aie2_destroy_context(),
  - closi…&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;accel/amdxdna: clear the mailbox channel pointer when starting it fails&lt;/p&gt;
&lt;p&gt;aie2_create_context() allocates a mailbox channel, starts it, and on a
failed start frees it again:&lt;/p&gt;
&lt;p&gt;hwctx-&amp;gt;priv-&amp;gt;mbox_chann = xdna_mailbox_alloc_channel(ndev-&amp;gt;mbox);
	...
	ret = xdna_mailbox_start_channel(hwctx-&amp;gt;priv-&amp;gt;mbox_chann, ...);
	if (ret)
		goto free_channel;
	...
free_channel:
	xdna_mailbox_free_channel(hwctx-&amp;gt;priv-&amp;gt;mbox_chann);&lt;/p&gt;
&lt;p&gt;hwctx-&amp;gt;priv-&amp;gt;mbox_chann keeps pointing at the freed channel. That
pointer is the driver&amp;#39;s own test for whether a hardware context has a
usable channel: aie2_destroy_context() returns early on NULL,
aie2_sched_job_run() refuses to run a job on NULL, and the message
helpers return -ENODEV on NULL. A stale pointer passes all of them.&lt;/p&gt;
&lt;p&gt;It matters on the restart path. aie2_hwctx_restart() calls
aie2_create_context() again on a hardware context that is already live,
after aie2_hwctx_stop() has torn its channel down, and the context
survives a failure there: aie2_sched_job_timedout() discards the return
value entirely, and aie2_hwctx_resume() only propagates it. What is
left is a live hardware context holding a freed channel, and every
later user of it takes the non-NULL branch:&lt;/p&gt;
&lt;p&gt;- the next job submitted reaches xdna_mailbox_send_msg() on the freed
    channel, via the !mbox_chann guard in aie2_sched_job_run(),
  - a second command timeout reaches aie2_hwctx_stop() -&amp;gt;
    aie2_destroy_context(),
  - closi…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-99485</guid>
    </item>
  </channel>
</rss>
