<?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, 20 Nov 2026 21:15:54 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-99557 — ceph: fail readdir when the MDS reply carries no dirfrag</title>
      <link>https://db.gcve.eu/vuln/cve-2026-99557</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;ceph: fail readdir when the MDS reply carries no dirfrag&lt;/p&gt;
&lt;p&gt;A ceph mount oopses in ceph_readdir() when the MDS answers a READDIR
request with a reply whose extra blob is empty.  parse_reply_info()
skips reply blobs whose length is zero, so parse_reply_info_readdir()
never runs, r_reply_info.dir_dir stays NULL, and the reply still
parses as successful.  ceph_mdsc_do_request() returns 0 and
ceph_readdir() then reads rinfo-&amp;gt;dir_dir-&amp;gt;frag with no NULL check:&lt;/p&gt;
&lt;p&gt;/* extra */
	ceph_decode_32_safe(&amp;amp;p, end, len, bad);
	if (len &amp;gt; 0) {
		...
		err = parse_reply_info_extra(&amp;amp;p, p + len, req, features, s);
		...
	}&lt;/p&gt;
&lt;p&gt;The oops on v7.3.0-rc4-00537-ga3ff15db6820, one getdents64(2) on the
mount root after an ms_mode=legacy mount, trimmed:&lt;/p&gt;
&lt;p&gt;BUG: KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN NOPTI
CPU: 1 UID: 0 PID: 266 Comm: ls Tainted: G                 N  7.3.0-rc4-00537-ga3ff15db6820 #1 PREEMPT(lazy)
RIP: 0010:ceph_readdir+0xbff/0x3ea0
Call Trace:
 &amp;lt;TASK&amp;gt;
 ? __pfx_ceph_readdir+0x10/0x10
 wrap_directory_iterator+0xa2/0xe0
 iterate_dir+0x1da/0x5d0
 __x64_sys_getdents64+0x13b/0x2a0
 do_syscall_64+0xdd/0x4a0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
 &amp;lt;/TASK&amp;gt;&lt;/p&gt;
&lt;p&gt;The unconditional frag read came in with 81c6aea5275ea (&amp;#34;ceph: handle
frag mismatch between readdir request and reply&amp;#34;), so the bug is old.&lt;/p&gt;
&lt;p&gt;Tre…&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;ceph: fail readdir when the MDS reply carries no dirfrag&lt;/p&gt;
&lt;p&gt;A ceph mount oopses in ceph_readdir() when the MDS answers a READDIR
request with a reply whose extra blob is empty.  parse_reply_info()
skips reply blobs whose length is zero, so parse_reply_info_readdir()
never runs, r_reply_info.dir_dir stays NULL, and the reply still
parses as successful.  ceph_mdsc_do_request() returns 0 and
ceph_readdir() then reads rinfo-&amp;gt;dir_dir-&amp;gt;frag with no NULL check:&lt;/p&gt;
&lt;p&gt;/* extra */
	ceph_decode_32_safe(&amp;amp;p, end, len, bad);
	if (len &amp;gt; 0) {
		...
		err = parse_reply_info_extra(&amp;amp;p, p + len, req, features, s);
		...
	}&lt;/p&gt;
&lt;p&gt;The oops on v7.3.0-rc4-00537-ga3ff15db6820, one getdents64(2) on the
mount root after an ms_mode=legacy mount, trimmed:&lt;/p&gt;
&lt;p&gt;BUG: KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN NOPTI
CPU: 1 UID: 0 PID: 266 Comm: ls Tainted: G                 N  7.3.0-rc4-00537-ga3ff15db6820 #1 PREEMPT(lazy)
RIP: 0010:ceph_readdir+0xbff/0x3ea0
Call Trace:
 &amp;lt;TASK&amp;gt;
 ? __pfx_ceph_readdir+0x10/0x10
 wrap_directory_iterator+0xa2/0xe0
 iterate_dir+0x1da/0x5d0
 __x64_sys_getdents64+0x13b/0x2a0
 do_syscall_64+0xdd/0x4a0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
 &amp;lt;/TASK&amp;gt;&lt;/p&gt;
&lt;p&gt;The unconditional frag read came in with 81c6aea5275ea (&amp;#34;ceph: handle
frag mismatch between readdir request and reply&amp;#34;), so the bug is old.&lt;/p&gt;
&lt;p&gt;Tre…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-99557</guid>
    </item>
  </channel>
</rss>
