<?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>Fri, 02 Oct 2026 15:25:29 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-72155 — mtd: spi-nor: swp: Improve locking user experience</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-72155</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;mtd: spi-nor: swp: Improve locking user experience&lt;/p&gt;
&lt;p&gt;In the case of the first block being locked (or the few first blocks),
if the user want to fully unlock the device it has two possibilities:
- either it asks to unlock the entire device, and this works;
- or it asks to unlock just the block(s) that are currently locked,
  which fails.&lt;/p&gt;
&lt;p&gt;It fails because the conditions &amp;#34;can_be_top&amp;#34; and &amp;#34;can_be_bottom&amp;#34; are
true. Indeed, in this case, we unlock everything, so the TB bit does not
matter. However in the current implementation, use_top would be true (as
this is the favourite option) and lock_len, which in practice should be
reduced down to 0, is set to &amp;#34;nor-&amp;gt;params-&amp;gt;size - (ofs + len)&amp;#34; which is
a positive number. This is wrong.&lt;/p&gt;
&lt;p&gt;An easy way is to simply add an extra condition. In the unlock() path,
if we can achieve the same result from both sides, it means we unlock
everything and lock_len must simply be 0. A comment is added to clarify
that logic.&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;mtd: spi-nor: swp: Improve locking user experience&lt;/p&gt;
&lt;p&gt;In the case of the first block being locked (or the few first blocks),
if the user want to fully unlock the device it has two possibilities:
- either it asks to unlock the entire device, and this works;
- or it asks to unlock just the block(s) that are currently locked,
  which fails.&lt;/p&gt;
&lt;p&gt;It fails because the conditions &amp;#34;can_be_top&amp;#34; and &amp;#34;can_be_bottom&amp;#34; are
true. Indeed, in this case, we unlock everything, so the TB bit does not
matter. However in the current implementation, use_top would be true (as
this is the favourite option) and lock_len, which in practice should be
reduced down to 0, is set to &amp;#34;nor-&amp;gt;params-&amp;gt;size - (ofs + len)&amp;#34; which is
a positive number. This is wrong.&lt;/p&gt;
&lt;p&gt;An easy way is to simply add an extra condition. In the unlock() path,
if we can achieve the same result from both sides, it means we unlock
everything and lock_len must simply be 0. A comment is added to clarify
that logic.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-72155</guid>
    </item>
  </channel>
</rss>
