<?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-032030</VulinfoID>
    <VulinfoData>
      <Title>Linux&#12398;Linux Kernel&#12395;&#12362;&#12369;&#12427;&#12522;&#12477;&#12540;&#12473;&#12398;&#12525;&#12483;&#12463;&#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;&#12290;usb: gadget: composite: USB_DT_OTG&#12495;&#12531;&#12489;&#12521;&#20869;&#12398;&#28961;&#21177;&#12394;&#31354;&#12481;&#12455;&#12483;&#12463;&#12434;&#20462;&#27491;&#12375;&#12414;&#12375;&#12383;&#12290;composite_setup()&#12398;OTG&#12502;&#12521;&#12531;&#12481;&#12391;&#12399;&#12289;&#35373;&#23450;&#12364;&#36984;&#25246;&#12373;&#12428;&#12390;&#12356;&#12394;&#12356;&#22580;&#21512;&#12395;&#26368;&#21021;&#12398;&#35373;&#23450;&#12395;&#12501;&#12457;&#12540;&#12523;&#12496;&#12483;&#12463;&#12375;&#12414;&#12377;&#12290;```if (cdev-&#65310;config)    config = cdev-&#65310;config;else    config = list_first_entry(&amp;cdev-&#65310;configs, struct usb_configuration, list);if (!config)    goto done;...memcpy(req-&#65310;buf, config-&#65310;descriptors[0], value);```list_first_entry()&#12399;NULL&#12434;&#36820;&#12375;&#12414;&#12379;&#12435;&#12290;&#31354;&#12398;&#12522;&#12473;&#12488;&#12391;&#12399;&#12522;&#12473;&#12488;&#12504;&#12483;&#12489;&#12398;container_of()&#12434;&#36820;&#12375;&#12414;&#12377;&#12290;&#12375;&#12383;&#12364;&#12387;&#12390;&#12289;"if (!config)"&#12398;&#12481;&#12455;&#12483;&#12463;&#12399;&#24847;&#21619;&#12434;&#25104;&#12375;&#12414;&#12379;&#12435;&#12290;cdev-&#65310;configs&#12364;&#31354;&#12398;&#22580;&#21512;&#12289;config&#12399;struct usb_composite_dev&#20869;&#12398;&#12504;&#12483;&#12489;&#12434;&#25351;&#12375;&#12414;&#12377;&#12290;config-&#65310;descriptors[0]&#12399;&#12381;&#12398;&#12458;&#12501;&#12475;&#12483;&#12488;&#12395;&#23384;&#22312;&#12377;&#12427;&#12487;&#12540;&#12479;&#12434;&#35501;&#12415;&#21462;&#12426;&#12289;&#12381;&#12398;&#20869;&#23481;&#12434;memcpy&#12391;w_length&#12496;&#12452;&#12488;&#20998;&#12524;&#12473;&#12509;&#12531;&#12473;&#12496;&#12483;&#12501;&#12449;&#12395;&#12467;&#12500;&#12540;&#12375;&#12414;&#12377;&#12290;cdev-&#65310;configs&#12364;&#31354;&#12395;&#12394;&#12427;&#12465;&#12540;&#12473;&#12399;2&#12388;&#12354;&#12426;&#12414;&#12377;&#12290;1&#12388;&#12399;&#12289;&#12467;&#12531;&#12488;&#12525;&#12540;&#12523;&#36578;&#36865;&#12364;&#36914;&#34892;&#20013;&#12395;&#12460;&#12472;&#12455;&#12483;&#12488;&#12398;unbind&#12391;teardown&#12524;&#12540;&#12473;&#12364;&#30330;&#29983;&#12377;&#12427;&#22580;&#21512;&#12289;&#12418;&#12358;1&#12388;&#12399;&#35373;&#23450;&#12434;&#36861;&#21152;&#12377;&#12427;&#21069;&#12395;is_otg&#12364;&#35373;&#23450;&#12373;&#12428;&#12390;&#12356;&#12427;&#12489;&#12521;&#12452;&#12496;&#12540;&#12398;&#22580;&#21512;&#12391;&#12377;&#12290;cdev-&#65310;configs&#12434;&#31354;&#12398;&#12414;&#12414;&#12395;&#12377;&#12427;&#12392;&#12289;&#12371;&#12398;&#12502;&#12521;&#12531;&#12481;&#12391;KASAN&#12501;&#12457;&#12523;&#12488;&#12364;&#30330;&#29983;&#12375;&#12414;&#12377;&#12290;&#12371;&#12398;&#21839;&#38988;&#12434;&#35299;&#27770;&#12377;&#12427;&#12383;&#12417;&#12395;&#12289;list_first_entry_or_null()&#12434;&#20351;&#29992;&#12375;&#12289;&#26082;&#23384;&#12398;&#12481;&#12455;&#12483;&#12463;&#12364;&#27491;&#12375;&#12367;&#27231;&#33021;&#12377;&#12427;&#12424;&#12358;&#20462;&#27491;&#12375;&#12414;&#12375;&#12383;&#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-032030.html</URL>
        </RelatedItem>
        <RelatedItem relationtype="alternate" origin="other">
          <Name>Common Vulnerabilities and Exposures (CVE)</Name>
          <VulinfoID>CVE-2026-64347</VulinfoID>
          <URL>https://www.cve.org/CVERecord?id=CVE-2026-64347</URL>
        </RelatedItem>
        <RelatedItem relationtype="alternate" origin="other">
          <Name>National Vulnerability Database (NVD)</Name>
          <VulinfoID>CVE-2026-64347</VulinfoID>
          <URL>https://nvd.nist.gov/vuln/detail/CVE-2026-64347</URL>
        </RelatedItem>
        <RelatedItem relationtype="reference" origin="other">
          <Name>JVNDB</Name>
          <VulinfoID>CWE-667</VulinfoID>
          <Title>&#19981;&#36969;&#20999;&#12394;&#12525;&#12483;&#12463;</Title>
          <URL>http://cwe.mitre.org/data/definitions/667.html</URL>
        </RelatedItem>
        <RelatedItem relationtype="reference" origin="other">
          <Name>&#38306;&#36899;&#25991;&#26360;</Name>
          <VulinfoID>usb: gadget: composite: fix dead empty check in the USB_DT_OTG handler - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/01feaf024f29618d5ffa7ab0fd858e0579dcbf7b)</VulinfoID>
          <URL>https://git.kernel.org/stable/c/01feaf024f29618d5ffa7ab0fd858e0579dcbf7b</URL>
        </RelatedItem>
        <RelatedItem relationtype="reference" origin="other">
          <Name>&#38306;&#36899;&#25991;&#26360;</Name>
          <VulinfoID>usb: gadget: composite: fix dead empty check in the USB_DT_OTG handler - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/d3e72cfef2e38bd588055739a8100d14f9773b17)</VulinfoID>
          <URL>https://git.kernel.org/stable/c/d3e72cfef2e38bd588055739a8100d14f9773b17</URL>
        </RelatedItem>
        <RelatedItem relationtype="reference" origin="other">
          <Name>&#38306;&#36899;&#25991;&#26360;</Name>
          <VulinfoID>usb: gadget: composite: fix dead empty check in the USB_DT_OTG handler - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/f8f680609c2b3ab795ffcd6f21585b6dfc46d395)</VulinfoID>
          <URL>https://git.kernel.org/stable/c/f8f680609c2b3ab795ffcd6f21585b6dfc46d395</URL>
        </RelatedItem>
        <RelatedItem relationtype="reference" origin="other">
          <Name>&#38306;&#36899;&#25991;&#26360;</Name>
          <VulinfoID>usb: gadget: composite: fix dead empty check in the USB_DT_OTG handler - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/fcb21bf747640c9d6bd1eda9da85420f076d59c1)</VulinfoID>
          <URL>https://git.kernel.org/stable/c/fcb21bf747640c9d6bd1eda9da85420f076d59c1</URL>
        </RelatedItem>
        <RelatedItem relationtype="reference" origin="other">
          <Name>&#38306;&#36899;&#25991;&#26360;</Name>
          <VulinfoID>usb: gadget: composite: fix dead empty check in the USB_DT_OTG handler - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/2454264b2ab4cf0055c0bfd39e79f830452bd0db)</VulinfoID>
          <URL>https://git.kernel.org/stable/c/2454264b2ab4cf0055c0bfd39e79f830452bd0db</URL>
        </RelatedItem>
        <RelatedItem relationtype="reference" origin="other">
          <Name>&#38306;&#36899;&#25991;&#26360;</Name>
          <VulinfoID>usb: gadget: composite: fix dead empty check in the USB_DT_OTG handler - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/91b3ecd34b60f950c50c560974945b6596a6f207)</VulinfoID>
          <URL>https://git.kernel.org/stable/c/91b3ecd34b60f950c50c560974945b6596a6f207</URL>
        </RelatedItem>
        <RelatedItem relationtype="reference" origin="other">
          <Name>&#38306;&#36899;&#25991;&#26360;</Name>
          <VulinfoID>usb: gadget: composite: fix dead empty check in the USB_DT_OTG handler - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/56add2b9b2e89ec61c0761165d758f73004fdfdf)</VulinfoID>
          <URL>https://git.kernel.org/stable/c/56add2b9b2e89ec61c0761165d758f73004fdfdf</URL>
        </RelatedItem>
        <RelatedItem relationtype="reference" origin="other">
          <Name>&#38306;&#36899;&#25991;&#26360;</Name>
          <VulinfoID>usb: gadget: composite: fix dead empty check in the USB_DT_OTG handler - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/8ac463fe6c0f85bdb1ce8c30e8c9e060802e4483)</VulinfoID>
          <URL>https://git.kernel.org/stable/c/8ac463fe6c0f85bdb1ce8c30e8c9e060802e4483</URL>
        </RelatedItem>
      </Related>
      <DateFirstPublished>2026-09-04T17:49:19+09:00</DateFirstPublished>
      <DateLastUpdated>2026-09-04T17:49:19+09:00</DateLastUpdated>
    </VulinfoData>
  </Vulinfo>
</VrdaData>
