<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-12-04T18:04:30.347030+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/cve-2026-99862</id>
    <title>CVE-2026-99862 — fs/ntfs3: bound DeleteAttribute asize against rec-&gt;used in do_action</title>
    <updated>2026-12-04T18:04:30.348476+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>fs/ntfs3: bound DeleteAttribute asize against rec-&gt;used in do_action</p>
<p>In do_action()'s DeleteAttribute case (fslog.c:3316), attr is
Add2Ptr(rec, roff) with roff taken from the on-disk lrh-&gt;record_off, and
asize = le32_to_cpu(attr-&gt;size) is read straight out of the MFT record:</p>
<p>asize = le32_to_cpu(attr-&gt;size);
	used  = le32_to_cpu(rec-&gt;used);</p>
<p>if (!check_if_attr(rec, lrh))
		goto dirty_vol;
	...
	memmove(attr, Add2Ptr(attr, asize), used - asize - roff);</p>
<p>check_if_attr() (fslog.c:2869) walks the attribute chain from
rec-&gt;attr_off and returns o == ro.  Its loop breaks on ATTR_END, so ro may
legitimately equal the offset of the ATTR_END marker; that is exactly how
CreateAttribute appends to a record.  But check_file_record()'s walk
(fslog.c:2831) also stops at ATTR_END, so check_attr() never inspects the
bytes there.  When roff is the ATTR_END offset, those never-validated bytes
are what gets read as attr-&gt;size, and used - asize - roff underflows.</p>
<p>The read itself is also unbounded: roff is a u16 and attr-&gt;size is
dereferenced at fslog.c:3317, before check_if_attr() has constrained roff
at all, so it can be up to ~64K past a record_size-sized object.</p>
<p>Commit 0ca0485e4b2e ("fs/ntfs3: validate rec-&gt;used in journal-replay file
record check") added at fslog.c:2844</p>
<p>if (used &lt; PtrOffset(rec, attr) + sizeof(attr-&gt;type))
		return false;</p>
<p>and its changelog names this very memmove.  It bounds rec-&gt;used against the
AT…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-99862"/>
  </entry>
</feed>
