<?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 20:41:32 +0000</lastBuildDate>
    <item>
      <title>CVE-2025-37949 — xenbus: Use kref to track req lifetime</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2025-37949</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;xenbus: Use kref to track req lifetime&lt;/p&gt;
&lt;p&gt;Marek reported seeing a NULL pointer fault in the xenbus_thread
callstack:
BUG: kernel NULL pointer dereference, address: 0000000000000000
RIP: e030:__wake_up_common+0x4c/0x180
Call Trace:
 &amp;lt;TASK&amp;gt;
 __wake_up_common_lock+0x82/0xd0
 process_msg+0x18e/0x2f0
 xenbus_thread+0x165/0x1c0&lt;/p&gt;
&lt;p&gt;process_msg+0x18e is req-&amp;gt;cb(req).  req-&amp;gt;cb is set to xs_wake_up(), a
thin wrapper around wake_up(), or xenbus_dev_queue_reply().  It seems
like it was xs_wake_up() in this case.&lt;/p&gt;
&lt;p&gt;It seems like req may have woken up the xs_wait_for_reply(), which
kfree()ed the req.  When xenbus_thread resumes, it faults on the zero-ed
data.&lt;/p&gt;
&lt;p&gt;Linux Device Drivers 2nd edition states:
&amp;#34;Normally, a wake_up call can cause an immediate reschedule to happen,
meaning that other processes might run before wake_up returns.&amp;#34;
... which would match the behaviour observed.&lt;/p&gt;
&lt;p&gt;Change to keeping two krefs on each request.  One for the caller, and
one for xenbus_thread.  Each will kref_put() when finished, and the last
will free it.&lt;/p&gt;
&lt;p&gt;This use of kref matches the description in
Documentation/core-api/kref.rst&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;xenbus: Use kref to track req lifetime&lt;/p&gt;
&lt;p&gt;Marek reported seeing a NULL pointer fault in the xenbus_thread
callstack:
BUG: kernel NULL pointer dereference, address: 0000000000000000
RIP: e030:__wake_up_common+0x4c/0x180
Call Trace:
 &amp;lt;TASK&amp;gt;
 __wake_up_common_lock+0x82/0xd0
 process_msg+0x18e/0x2f0
 xenbus_thread+0x165/0x1c0&lt;/p&gt;
&lt;p&gt;process_msg+0x18e is req-&amp;gt;cb(req).  req-&amp;gt;cb is set to xs_wake_up(), a
thin wrapper around wake_up(), or xenbus_dev_queue_reply().  It seems
like it was xs_wake_up() in this case.&lt;/p&gt;
&lt;p&gt;It seems like req may have woken up the xs_wait_for_reply(), which
kfree()ed the req.  When xenbus_thread resumes, it faults on the zero-ed
data.&lt;/p&gt;
&lt;p&gt;Linux Device Drivers 2nd edition states:
&amp;#34;Normally, a wake_up call can cause an immediate reschedule to happen,
meaning that other processes might run before wake_up returns.&amp;#34;
... which would match the behaviour observed.&lt;/p&gt;
&lt;p&gt;Change to keeping two krefs on each request.  One for the caller, and
one for xenbus_thread.  Each will kref_put() when finished, and the last
will free it.&lt;/p&gt;
&lt;p&gt;This use of kref matches the description in
Documentation/core-api/kref.rst&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2025-37949</guid>
    </item>
  </channel>
</rss>
