<?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>Tue, 29 Sep 2026 14:36:51 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-49993 — loop: Check for overflow while configuring loop</title>
      <link>https://db.gcve.eu/vuln/cve-2022-49993</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;loop: Check for overflow while configuring loop&lt;/p&gt;
&lt;p&gt;The userspace can configure a loop using an ioctl call, wherein
a configuration of type loop_config is passed (see lo_ioctl()&amp;#39;s
case on line 1550 of drivers/block/loop.c). This proceeds to call
loop_configure() which in turn calls loop_set_status_from_info()
(see line 1050 of loop.c), passing &amp;amp;config-&amp;gt;info which is of type
loop_info64*. This function then sets the appropriate values, like
the offset.&lt;/p&gt;
&lt;p&gt;loop_device has lo_offset of type loff_t (see line 52 of loop.c),
which is typdef-chained to long long, whereas loop_info64 has
lo_offset of type __u64 (see line 56 of include/uapi/linux/loop.h).&lt;/p&gt;
&lt;p&gt;The function directly copies offset from info to the device as
follows (See line 980 of loop.c):
	lo-&amp;gt;lo_offset = info-&amp;gt;lo_offset;&lt;/p&gt;
&lt;p&gt;This results in an overflow, which triggers a warning in iomap_iter()
due to a call to iomap_iter_done() which has:
	WARN_ON_ONCE(iter-&amp;gt;iomap.offset &amp;gt; iter-&amp;gt;pos);&lt;/p&gt;
&lt;p&gt;Thus, check for negative value during loop_set_status_from_info().&lt;/p&gt;
&lt;p&gt;Bug report: https://syzkaller.appspot.com/bug?id=c620fe14aac810396d3c3edc9ad73848bf69a29e&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;loop: Check for overflow while configuring loop&lt;/p&gt;
&lt;p&gt;The userspace can configure a loop using an ioctl call, wherein
a configuration of type loop_config is passed (see lo_ioctl()&amp;#39;s
case on line 1550 of drivers/block/loop.c). This proceeds to call
loop_configure() which in turn calls loop_set_status_from_info()
(see line 1050 of loop.c), passing &amp;amp;config-&amp;gt;info which is of type
loop_info64*. This function then sets the appropriate values, like
the offset.&lt;/p&gt;
&lt;p&gt;loop_device has lo_offset of type loff_t (see line 52 of loop.c),
which is typdef-chained to long long, whereas loop_info64 has
lo_offset of type __u64 (see line 56 of include/uapi/linux/loop.h).&lt;/p&gt;
&lt;p&gt;The function directly copies offset from info to the device as
follows (See line 980 of loop.c):
	lo-&amp;gt;lo_offset = info-&amp;gt;lo_offset;&lt;/p&gt;
&lt;p&gt;This results in an overflow, which triggers a warning in iomap_iter()
due to a call to iomap_iter_done() which has:
	WARN_ON_ONCE(iter-&amp;gt;iomap.offset &amp;gt; iter-&amp;gt;pos);&lt;/p&gt;
&lt;p&gt;Thus, check for negative value during loop_set_status_from_info().&lt;/p&gt;
&lt;p&gt;Bug report: https://syzkaller.appspot.com/bug?id=c620fe14aac810396d3c3edc9ad73848bf69a29e&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2022-49993</guid>
    </item>
  </channel>
</rss>
