<?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-01T16:13:06.949831+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-2026-80575</id>
    <title>CVE-2026-80575 — Input: cs40l50-vibra - validate custom data from user space</title>
    <updated>2026-10-01T16:13:07.850882+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>Input: cs40l50-vibra - validate custom data from user space</p>
<p>cs40l50_add() copies the custom data of an FF_PERIODIC/FF_CUSTOM effect
straight from the ff_effect the user passed to EVIOCSFF, without
requiring it to hold anything:</p>
<p>work_data.custom_data = memdup_array_user(periodic-&gt;custom_data,
                                              periodic-&gt;custom_len,
                                              sizeof(s16));
    work_data.custom_len = periodic-&gt;custom_len;</p>
<p>The driver then reads two words out of that buffer: custom_data[0] as the
waveform bank in cs40l50_effect_bank_set(), and custom_data[1] as the
index within the bank in cs40l50_effect_index_set().  Neither read is
covered by a length check, and custom_len is fully user controlled:</p>
<p>- custom_len == 0 makes memdup_array_user() call memdup_user() with a
    length of zero, which returns ZERO_SIZE_PTR rather than an error, so
    custom_data[0] dereferences it.</p>
<p>- custom_len == 1 allocates two bytes.  A bank of ROM or RAM keeps
    effect-&gt;type out of the OWT case, and custom_data[1] is then read one
    word past the allocation.</p>
<p>The bank value itself is also mishandled.  It is masked with
CS40L50_CUSTOM_DATA_MASK (0xffff) but stored in an s16, so a
custom_data[0] of 0x8000 or above wraps to a negative value that passes
the "bank_type &gt;= CS40L50_WVFRM_BANK_NUM" test.
cs40l50_effect_index_set() indexes vib-&gt;dsp.banks[] with it before the
s…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-80575"/>
  </entry>
</feed>
