<?xml version="1.0" encoding="UTF-8"?>
<VrdaData refvuldefversion="1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://vrda.jpcert.or.jp" xsi:schemaLocation="http://vrda.jpcert.or.jp/feed/xsd/vrda_data.xsd">
  <VrdaDataProvider>
    <Name>JVN iPedia</Name>
    <URL>http://jvndb.jvn.jp</URL>
  </VrdaDataProvider>
  <VrdaDataSourceType>Advisory</VrdaDataSourceType>
  <Vulinfo revisionno="1" lang="ja" invalidated="false">
    <VulinfoID>JVNDB-2026-032038</VulinfoID>
    <VulinfoData>
      <Title>Linux&#12398;Linux Kernel&#12395;&#12362;&#12369;&#12427;&#22659;&#30028;&#22806;&#35501;&#12415;&#21462;&#12426;&#12395;&#38306;&#12377;&#12427;&#33030;&#24369;&#24615;</Title>
      <VulinfoDescription>
        <Overview>Linux&#12459;&#12540;&#12493;&#12523;&#12395;&#12362;&#12356;&#12390;&#12289;&#20197;&#19979;&#12398;&#33030;&#24369;&#24615;&#12364;&#20462;&#27491;&#12373;&#12428;&#12414;&#12375;&#12383;&#65306;usb: misc: usbio: &#21463;&#20449;&#36578;&#36865;&#12395;&#12496;&#12452;&#12531;&#12489;&#12373;&#12428;&#12383;&#12496;&#12523;&#12463;IN&#24540;&#31572;&#12398;&#38263;&#12373;&#12290;usbio_bulk_msg()&#12399;&#12289;&#12496;&#12523;&#12463;IN&#12496;&#12483;&#12501;&#12449;&#65288;usbio-&#65310;rxbuf&#12289;&#12469;&#12452;&#12474;usbio-&#65310;rxbuf_len&#12391;&#21106;&#12426;&#24403;&#12390;&#12425;&#12428;&#12390;&#12356;&#12427;&#65289;&#12363;&#12425;&#21628;&#12403;&#20986;&#12375;&#20803;&#12398;&#12496;&#12483;&#12501;&#12449;&#12408;bpkt_len = le16_to_cpu(bpkt-&#65310;len)&#12496;&#12452;&#12488;&#12434;&#12467;&#12500;&#12540;&#12375;&#12414;&#12377;&#12290;bpkt_len&#12399;&#12487;&#12496;&#12452;&#12473;&#12395;&#12424;&#12387;&#12390;&#23436;&#20840;&#12395;&#21046;&#24481;&#12373;&#12428;&#12390;&#12362;&#12426;&#12289;ibuf_len&#12395;&#23550;&#12375;&#12390;&#12398;&#12415;&#12481;&#12455;&#12483;&#12463;&#12373;&#12428;&#12414;&#12377;&#12290;ibuf_len&#12399;usbio-&#65310;txbuf_len&#12395;&#23550;&#12375;&#12390;&#12481;&#12455;&#12483;&#12463;&#12373;&#12428;&#12414;&#12377;&#12364;&#12289;rxbuf_len&#12395;&#23550;&#12375;&#12390;&#12399;&#12481;&#12455;&#12483;&#12463;&#12373;&#12428;&#12414;&#12379;&#12435;&#12290;&#20855;&#20307;&#30340;&#12395;&#12399;&#12289;&#20197;&#19979;&#12398;&#26465;&#20214;&#12391;&#12456;&#12521;&#12540;&#12364;&#36820;&#12373;&#12428;&#12414;&#12377;&#65306; if ((obuf_len &#65310; (usbio-&#65310;txbuf_len - sizeof(*bpkt))) || (ibuf_len &#65310; (usbio-&#65310;txbuf_len - sizeof(*bpkt))))  return -EMSGSIZE;txbuf_len&#12392;rxbuf_len&#12399;usbio_probe()&#20869;&#12391;&#12496;&#12523;&#12463;OUT&#12362;&#12424;&#12403;&#12496;&#12523;&#12463;IN&#12456;&#12531;&#12489;&#12509;&#12452;&#12531;&#12488;&#12398;wMaxPacketSize&#12363;&#12425;&#12381;&#12428;&#12382;&#12428;&#29420;&#31435;&#12375;&#12390;&#21462;&#24471;&#12373;&#12428;&#12414;&#12377;&#12290;&#24746;&#24847;&#12398;&#12354;&#12427;&#12289;&#12414;&#12383;&#12399;&#35492;&#21205;&#20316;&#12377;&#12427;&#12487;&#12496;&#12452;&#12473;&#12364;&#22823;&#12365;&#12394;&#12496;&#12523;&#12463;OUT&#12456;&#12531;&#12489;&#12509;&#12452;&#12531;&#12488;&#12392;&#23567;&#12373;&#12394;&#12496;&#12523;&#12463;IN&#12456;&#12531;&#12489;&#12509;&#12452;&#12531;&#12488;&#65288;&#20363;&#65306;Lattice NX33U 0x2ac1:0x20cb&#12398;&#12424;&#12358;&#12394;&#12463;&#12452;&#12540;&#12463;&#12501;&#12522;&#12540;ID&#12398;&#19968;&#12388;&#12434;&#20027;&#24373;&#12377;&#12427;&#65289;&#12434;&#36890;&#30693;&#12377;&#12427;&#12392;&#12289;ibuf_len&#12362;&#12424;&#12403;&#12381;&#12428;&#12395;&#24540;&#12376;&#12390;&#12487;&#12496;&#12452;&#12473;&#25552;&#20379;&#12398;bpkt_len&#12364;rxbuf_len&#12434;&#36229;&#12360;&#12390;&#12375;&#12414;&#12358;&#12371;&#12392;&#12364;&#12354;&#12426;&#12414;&#12377;&#12290;&#12371;&#12428;&#12395;&#12424;&#12426;&#12289;memcpy()&#12399;rxbuf&#12458;&#12502;&#12472;&#12455;&#12463;&#12488;&#12398;&#32066;&#31471;&#12434;txbuf_len - rxbuf_len&#12496;&#12452;&#12488;&#20998;&#12458;&#12540;&#12496;&#12540;&#12522;&#12540;&#12489;&#12375;&#12390;&#12375;&#12414;&#12356;&#12414;&#12377;&#12290;&#12371;&#12398;&#12458;&#12540;&#12496;&#12540;&#12522;&#12540;&#12489;&#12375;&#12383;&#12496;&#12452;&#12488;&#12399;i2c&#12524;&#12452;&#12516;&#12395;&#36820;&#12373;&#12428;&#12289;&#12373;&#12425;&#12395;i2c-dev&#12434;&#36890;&#12375;&#12390;&#12518;&#12540;&#12470;&#31354;&#38291;&#12395;&#28193;&#12373;&#12428;&#12289;&#38563;&#25509;&#12377;&#12427;&#12473;&#12521;&#12502;&#12513;&#12514;&#12522;&#12364;&#28431;&#27945;&#12375;&#12390;&#12375;&#12414;&#12356;&#12414;&#12377;&#12290;KASAN&#29872;&#22659;&#19979;&#12391;&#12399;&#12371;&#12428;&#12399;&#12473;&#12521;&#12502;&#12398;&#31684;&#22258;&#22806;&#35501;&#12415;&#21462;&#12426;&#12392;&#12375;&#12390;&#22577;&#21578;&#12373;&#12428;&#12414;&#12377;&#12290;&#23455;&#38555;&#12395;&#21463;&#20449;&#12375;&#12383;&#12496;&#12452;&#12488;&#25968;&#12399;&#12377;&#12391;&#12395;act&#65288;URB&#12398;actual_length&#65289;&#12395;&#12424;&#12426;&#30693;&#12425;&#12428;&#12390;&#12362;&#12426;&#12289;rxbuf_len&#12391;&#21046;&#38480;&#12373;&#12428;&#12390;&#12356;&#12414;&#12377;&#12290;&#12381;&#12398;&#12383;&#12417;&#12289;&#21463;&#20449;&#12375;&#12383;&#12506;&#12452;&#12525;&#12540;&#12489;&#12424;&#12426;&#22823;&#12365;&#12356;&#12392;&#20027;&#24373;&#12377;&#12427;&#24540;&#31572;&#12399;&#25298;&#21542;&#12373;&#12428;&#12427;&#12409;&#12365;&#12391;&#12354;&#12426;&#12289;&#12371;&#12428;&#12399;&#26082;&#23384;&#12398;&#12300;act &#65308; sizeof(*bpkt)&#12301;&#12481;&#12455;&#12483;&#12463;&#12398;&#12377;&#12368;&#19978;&#12395;&#12354;&#12427;&#12418;&#12398;&#12392;&#23550;&#24540;&#12375;&#12390;&#12356;&#12414;&#12377;&#12290;&#21046;&#24481;&#12497;&#12473;&#65288;usbio_ctrl_msg()&#65289;&#12395;&#12399;&#24433;&#38911;&#12364;&#12354;&#12426;&#12414;&#12379;&#12435;&#12290;&#21046;&#24481;&#12497;&#12473;&#12399;&#20001;&#26041;&#21521;&#12391;&#21336;&#19968;&#12398;&#12496;&#12483;&#12501;&#12449;&#65288;ctrlbuf&#65289;&#12434;&#20351;&#29992;&#12375;&#12390;&#12356;&#12427;&#12383;&#12417;&#12289;&#39006;&#20284;&#12398;&#12467;&#12500;&#12540;&#12364;&#21106;&#12426;&#24403;&#12390;&#31684;&#22258;&#22806;&#12395;&#12394;&#12427;&#12371;&#12392;&#12399;&#12354;&#12426;&#12414;&#12379;&#12435;&#12290;&#26412;&#33030;&#24369;&#24615;&#12399;&#12467;&#12540;&#12489;&#12524;&#12499;&#12517;&#12540;&#12391;&#30330;&#35211;&#12373;&#12428;&#12414;&#12375;&#12383;&#12290;&#31684;&#22258;&#22806;&#35501;&#12415;&#21462;&#12426;&#12399;&#12289;usbio_bulk_msg()&#12398;&#21463;&#20449;&#12497;&#12473;&#12395;&#12362;&#12369;&#12427;&#24544;&#23455;&#12394;&#12518;&#12540;&#12470;&#31354;&#38291;&#12514;&#12487;&#12523;&#65288;rxbuf_len&#12469;&#12452;&#12474;&#12398;&#12496;&#12483;&#12501;&#12449;&#12289;act/ibuf_len/bpkt_len&#12481;&#12455;&#12483;&#12463;&#12362;&#12424;&#12403;memcpy&#12434;&#21547;&#12416;&#65289;&#12434;AddressSanitizer&#19979;&#12391;&#26908;&#35388;&#12375;&#12289;&#30906;&#35469;&#12375;&#12390;&#12356;&#12414;&#12377;&#12290;USB raw-gadget + dummy_hcd&#12434;&#29992;&#12356;&#12383;&#20877;&#29694;&#29872;&#22659;&#12418;&#21033;&#29992;&#21487;&#33021;&#12391;&#12377;&#12290;</Overview>
      </VulinfoDescription>
      <Affected>
        <AffectedItem affectedstatus="vulnerable">
          <Lapt>cpe:/o:linux:linux_kernel</Lapt>
        </AffectedItem>
      </Affected>
      <FactAnalysis>
      </FactAnalysis>
      <Related>
        <RelatedItem relationtype="self" origin="jvnipedia">
          <URL>https://jvndb.jvn.jp/ja/contents/2026/JVNDB-2026-032038.html</URL>
        </RelatedItem>
        <RelatedItem relationtype="alternate" origin="other">
          <Name>Common Vulnerabilities and Exposures (CVE)</Name>
          <VulinfoID>CVE-2026-64339</VulinfoID>
          <URL>https://www.cve.org/CVERecord?id=CVE-2026-64339</URL>
        </RelatedItem>
        <RelatedItem relationtype="alternate" origin="other">
          <Name>National Vulnerability Database (NVD)</Name>
          <VulinfoID>CVE-2026-64339</VulinfoID>
          <URL>https://nvd.nist.gov/vuln/detail/CVE-2026-64339</URL>
        </RelatedItem>
        <RelatedItem relationtype="reference" origin="other">
          <Name>JVNDB</Name>
          <VulinfoID>CWE-125</VulinfoID>
          <Title>&#22659;&#30028;&#22806;&#35501;&#12415;&#21462;&#12426;</Title>
          <URL>https://cwe.mitre.org/data/definitions/125.html</URL>
        </RelatedItem>
        <RelatedItem relationtype="reference" origin="other">
          <Name>&#38306;&#36899;&#25991;&#26360;</Name>
          <VulinfoID>usb: misc: usbio: bound bulk IN response length to the received transfer - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/fc1b546973c1442d5b947fcdd03581f20ecc5bd2)</VulinfoID>
          <URL>https://git.kernel.org/stable/c/fc1b546973c1442d5b947fcdd03581f20ecc5bd2</URL>
        </RelatedItem>
        <RelatedItem relationtype="reference" origin="other">
          <Name>&#38306;&#36899;&#25991;&#26360;</Name>
          <VulinfoID>usb: misc: usbio: bound bulk IN response length to the received transfer - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/48394f94211cf8fe0ea8604fc441633abf90fc94)</VulinfoID>
          <URL>https://git.kernel.org/stable/c/48394f94211cf8fe0ea8604fc441633abf90fc94</URL>
        </RelatedItem>
        <RelatedItem relationtype="reference" origin="other">
          <Name>&#38306;&#36899;&#25991;&#26360;</Name>
          <VulinfoID>usb: misc: usbio: bound bulk IN response length to the received transfer - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/8c6314489550fa81d41723a0ff33f655b5b6c7b6)</VulinfoID>
          <URL>https://git.kernel.org/stable/c/8c6314489550fa81d41723a0ff33f655b5b6c7b6</URL>
        </RelatedItem>
      </Related>
      <DateFirstPublished>2026-09-04T17:49:46+09:00</DateFirstPublished>
      <DateLastUpdated>2026-09-04T17:49:46+09:00</DateLastUpdated>
    </VulinfoData>
  </Vulinfo>
</VrdaData>
