<?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>Wed, 30 Sep 2026 21:33:39 +0000</lastBuildDate>
    <item>
      <title>CVE-2024-49863 — vhost/scsi: null-ptr-dereference in vhost_scsi_get_req()</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2024-49863</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;vhost/scsi: null-ptr-dereference in vhost_scsi_get_req()&lt;/p&gt;
&lt;p&gt;Since commit 3f8ca2e115e5 (&amp;#34;vhost/scsi: Extract common handling code
from control queue handler&amp;#34;) a null pointer dereference bug can be
triggered when guest sends an SCSI AN request.&lt;/p&gt;
&lt;p&gt;In vhost_scsi_ctl_handle_vq(), `vc.target` is assigned with
`&amp;amp;v_req.tmf.lun[1]` within a switch-case block and is then passed to
vhost_scsi_get_req() which extracts `vc-&amp;gt;req` and `tpg`. However, for
a `VIRTIO_SCSI_T_AN_*` request, tpg is not required, so `vc.target` is
set to NULL in this branch. Later, in vhost_scsi_get_req(),
`vc-&amp;gt;target` is dereferenced without being checked, leading to a null
pointer dereference bug. This bug can be triggered from guest.&lt;/p&gt;
&lt;p&gt;When this bug occurs, the vhost_worker process is killed while holding
`vq-&amp;gt;mutex` and the corresponding tpg will remain occupied
indefinitely.&lt;/p&gt;
&lt;p&gt;Below is the KASAN report:
Oops: general protection fault, probably for non-canonical address
0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 PID: 840 Comm: poc Not tainted 6.10.0+ #1
Hardware name: QEMU Ubuntu 24.04 PC (i440FX + PIIX, 1996), BIOS
1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:vhost_scsi_get_req+0x165/0x3a0
Code: 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 2b 02 00 00
48 b8 00 00 00 00 00 fc ff df 4d 8b 65 30 4c 89 e2 48 c1 ea 03 &amp;lt;0f&amp;gt; b6
04 02 4c 89 e2 83 e2 07 38 d0 7f…&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;vhost/scsi: null-ptr-dereference in vhost_scsi_get_req()&lt;/p&gt;
&lt;p&gt;Since commit 3f8ca2e115e5 (&amp;#34;vhost/scsi: Extract common handling code
from control queue handler&amp;#34;) a null pointer dereference bug can be
triggered when guest sends an SCSI AN request.&lt;/p&gt;
&lt;p&gt;In vhost_scsi_ctl_handle_vq(), `vc.target` is assigned with
`&amp;amp;v_req.tmf.lun[1]` within a switch-case block and is then passed to
vhost_scsi_get_req() which extracts `vc-&amp;gt;req` and `tpg`. However, for
a `VIRTIO_SCSI_T_AN_*` request, tpg is not required, so `vc.target` is
set to NULL in this branch. Later, in vhost_scsi_get_req(),
`vc-&amp;gt;target` is dereferenced without being checked, leading to a null
pointer dereference bug. This bug can be triggered from guest.&lt;/p&gt;
&lt;p&gt;When this bug occurs, the vhost_worker process is killed while holding
`vq-&amp;gt;mutex` and the corresponding tpg will remain occupied
indefinitely.&lt;/p&gt;
&lt;p&gt;Below is the KASAN report:
Oops: general protection fault, probably for non-canonical address
0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 PID: 840 Comm: poc Not tainted 6.10.0+ #1
Hardware name: QEMU Ubuntu 24.04 PC (i440FX + PIIX, 1996), BIOS
1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:vhost_scsi_get_req+0x165/0x3a0
Code: 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 2b 02 00 00
48 b8 00 00 00 00 00 fc ff df 4d 8b 65 30 4c 89 e2 48 c1 ea 03 &amp;lt;0f&amp;gt; b6
04 02 4c 89 e2 83 e2 07 38 d0 7f…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2024-49863</guid>
    </item>
  </channel>
</rss>
