<?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, 04 Dec 2026 19:39:57 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-99853 — nvme-tcp: fix io_work priority inversion when send_mutex is held</title>
      <link>https://db.gcve.eu/vuln/cve-2026-99853</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;nvme-tcp: fix io_work priority inversion when send_mutex is held&lt;/p&gt;
&lt;p&gt;Commit f42d4796ee10 (&amp;#34;nvme-tcp: fix I/O stalls on congested sockets&amp;#34;)
added a check in nvme_tcp_io_work() that sets pending to true when the
queue has pending requests and the socket is writeable. The check is
placed after the mutex_trylock() block, so it also runs when
mutex_trylock(&amp;amp;queue-&amp;gt;send_mutex) failed and io_work did not send
anything.&lt;/p&gt;
&lt;p&gt;When .queue_rq sends a request directly from its own context, it holds
send_mutex and can give up the CPU in lock_sock_nested() when another
task needs the CPU, for example the io_work kworker of the same queue,
which runs on the same CPU. Then io_work cannot take send_mutex, but
the requests are still on req_list and the socket is writeable, so
pending is set to true. io_work loops until the deadline and queues
itself again on io_cpu, without sleeping.&lt;/p&gt;
&lt;p&gt;This is a priority inversion. io_work runs on the high priority
nvme_tcp_wq and cannot make progress until send_mutex is released, but
it keeps running. The task holding send_mutex runs at normal priority
and needs the CPU to release it. The scheduler keeps giving the CPU to
io_work, so the task holding send_mutex may not run again, and the
requests on the queue are not sent and time out.&lt;/p&gt;
&lt;p&gt;This is the same problem that commit 70f437fb4395 (&amp;#34;nvme-tcp: fix
io_work priority inversion&amp;#34;) fixed. That commit removed
&amp;#34;pending = !llist_empty(&amp;amp;queue-&amp;gt;req_list)&amp;#34;…&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;nvme-tcp: fix io_work priority inversion when send_mutex is held&lt;/p&gt;
&lt;p&gt;Commit f42d4796ee10 (&amp;#34;nvme-tcp: fix I/O stalls on congested sockets&amp;#34;)
added a check in nvme_tcp_io_work() that sets pending to true when the
queue has pending requests and the socket is writeable. The check is
placed after the mutex_trylock() block, so it also runs when
mutex_trylock(&amp;amp;queue-&amp;gt;send_mutex) failed and io_work did not send
anything.&lt;/p&gt;
&lt;p&gt;When .queue_rq sends a request directly from its own context, it holds
send_mutex and can give up the CPU in lock_sock_nested() when another
task needs the CPU, for example the io_work kworker of the same queue,
which runs on the same CPU. Then io_work cannot take send_mutex, but
the requests are still on req_list and the socket is writeable, so
pending is set to true. io_work loops until the deadline and queues
itself again on io_cpu, without sleeping.&lt;/p&gt;
&lt;p&gt;This is a priority inversion. io_work runs on the high priority
nvme_tcp_wq and cannot make progress until send_mutex is released, but
it keeps running. The task holding send_mutex runs at normal priority
and needs the CPU to release it. The scheduler keeps giving the CPU to
io_work, so the task holding send_mutex may not run again, and the
requests on the queue are not sent and time out.&lt;/p&gt;
&lt;p&gt;This is the same problem that commit 70f437fb4395 (&amp;#34;nvme-tcp: fix
io_work priority inversion&amp;#34;) fixed. That commit removed
&amp;#34;pending = !llist_empty(&amp;amp;queue-&amp;gt;req_list)&amp;#34;…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-99853</guid>
    </item>
  </channel>
</rss>
