<?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://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-02T18:20:28.946407+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" 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://vulnerability.circl.lu/vuln/cve-2021-47636</id>
    <title>CVE-2021-47636 — ubifs: Fix read out-of-bounds in ubifs_wbuf_write_nolock()</title>
    <updated>2026-10-02T18:20:28.952638+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>ubifs: Fix read out-of-bounds in ubifs_wbuf_write_nolock()</p>
<p>Function ubifs_wbuf_write_nolock() may access buf out of bounds in
following process:</p>
<p>ubifs_wbuf_write_nolock():
  aligned_len = ALIGN(len, 8);   // Assume len = 4089, aligned_len = 4096
  if (aligned_len &lt;= wbuf-&gt;avail) ... // Not satisfy
  if (wbuf-&gt;used) {
    ubifs_leb_write()  // Fill some data in avail wbuf
    len -= wbuf-&gt;avail;   // len is still not 8-bytes aligned
    aligned_len -= wbuf-&gt;avail;
  }
  n = aligned_len &gt;&gt; c-&gt;max_write_shift;
  if (n) {
    n &lt;&lt;= c-&gt;max_write_shift;
    err = ubifs_leb_write(c, wbuf-&gt;lnum, buf + written,
                          wbuf-&gt;offs, n);
    // n &gt; len, read out of bounds less than 8(n-len) bytes
  }</p>
<p>, which can be catched by KASAN:
  =========================================================
  BUG: KASAN: slab-out-of-bounds in ecc_sw_hamming_calculate+0x1dc/0x7d0
  Read of size 4 at addr ffff888105594ff8 by task kworker/u8:4/128
  Workqueue: writeback wb_workfn (flush-ubifs_0_0)
  Call Trace:
    kasan_report.cold+0x81/0x165
    nand_write_page_swecc+0xa9/0x160
    ubifs_leb_write+0xf2/0x1b0 [ubifs]
    ubifs_wbuf_write_nolock+0x421/0x12c0 [ubifs]
    write_head+0xdc/0x1c0 [ubifs]
    ubifs_jnl_write_inode+0x627/0x960 [ubifs]
    wb_workfn+0x8af/0xb80</p>
<p>Function ubifs_wbuf_write_nolock() accepts that parameter 'len' is not 8
bytes aligned, the 'len' represents the true length of buf (which is
alloca…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2021-47636"/>
  </entry>
</feed>
