<?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:01:05 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-99850 — fsverity: Explicitly require FMODE_READ to retrieve hashes</title>
      <link>https://db.gcve.eu/vuln/cve-2026-99850</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;fsverity: Explicitly require FMODE_READ to retrieve hashes&lt;/p&gt;
&lt;p&gt;The comment in fsverity_ioctl_read_metadata(), which justifies not
checking for FMODE_READ, doesn&amp;#39;t consider that the nonstandard access
mode 3 (ioctl-only) exists.&lt;/p&gt;
&lt;p&gt;Opening an ioctl-only fd generally requires read (and write) permission.
However, there are gaps with certain LSMs: an ioctl-only fd requests
read (and write) permission via security_inode_permission, but not
security_file_open.  With certain LSMs relying on the latter, such as
Landlock and AppArmor, an ioctl-only fd can be opened without the LSM
granting read (and write) permission.&lt;/p&gt;
&lt;p&gt;Since FS_IOC_READ_VERITY_METADATA returns hashes of file contents
blocks, it should require read permission.  This also applies to
FS_IOC_MEASURE_VERITY, which returns a hash for the whole file.&lt;/p&gt;
&lt;p&gt;Meanwhile, ioctl-only fds are a rarely-used feature, not known to be
used with either ioctl.&lt;/p&gt;
&lt;p&gt;Therefore, just disallow these ioctls on ioctl-only file descriptors,
similar to what was already done with FS_IOC_ENABLE_VERITY.&lt;/p&gt;
&lt;p&gt;More specifically, explicitly check for FMODE_READ.  This also covers
write-only fds to non-verity files which otherwise would have failed
with ENODATA.  This change in error code for write-only fds should be
fine too, as these ioctls cannot be usefully used with write-only fds
anyway, but it&amp;#39;s worth noting as another technicality.&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;fsverity: Explicitly require FMODE_READ to retrieve hashes&lt;/p&gt;
&lt;p&gt;The comment in fsverity_ioctl_read_metadata(), which justifies not
checking for FMODE_READ, doesn&amp;#39;t consider that the nonstandard access
mode 3 (ioctl-only) exists.&lt;/p&gt;
&lt;p&gt;Opening an ioctl-only fd generally requires read (and write) permission.
However, there are gaps with certain LSMs: an ioctl-only fd requests
read (and write) permission via security_inode_permission, but not
security_file_open.  With certain LSMs relying on the latter, such as
Landlock and AppArmor, an ioctl-only fd can be opened without the LSM
granting read (and write) permission.&lt;/p&gt;
&lt;p&gt;Since FS_IOC_READ_VERITY_METADATA returns hashes of file contents
blocks, it should require read permission.  This also applies to
FS_IOC_MEASURE_VERITY, which returns a hash for the whole file.&lt;/p&gt;
&lt;p&gt;Meanwhile, ioctl-only fds are a rarely-used feature, not known to be
used with either ioctl.&lt;/p&gt;
&lt;p&gt;Therefore, just disallow these ioctls on ioctl-only file descriptors,
similar to what was already done with FS_IOC_ENABLE_VERITY.&lt;/p&gt;
&lt;p&gt;More specifically, explicitly check for FMODE_READ.  This also covers
write-only fds to non-verity files which otherwise would have failed
with ENODATA.  This change in error code for write-only fds should be
fine too, as these ioctls cannot be usefully used with write-only fds
anyway, but it&amp;#39;s worth noting as another technicality.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-99850</guid>
    </item>
  </channel>
</rss>
