<?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-025998</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;&#12290;ksmbd: smb_check_perm_dacl()&#12395;&#12362;&#12369;&#12427;&#22659;&#30028;&#22806;&#35501;&#12415;&#21462;&#12426;&#12398;&#20462;&#27491;&#12290;smb_check_perm_dacl()&#20869;&#12398;&#27177;&#38480;&#12481;&#12455;&#12483;&#12463;&#29992;ACE&#12398;&#20966;&#29702;&#12391;&#12399;&#12289;ACE&#12504;&#12483;&#12480;&#12540;&#12398;&#12469;&#12452;&#12474;&#12434;&#26908;&#35388;&#12375;&#12289;sid.num_subauth&#12434;SID_MAX_SUB_AUTHORITIES&#12391;&#21046;&#38480;&#12375;&#12390;&#12356;&#12414;&#12377;&#12290;&#12375;&#12363;&#12375;&#12289;compare_sids()&#12364;&#12381;&#12428;&#12434;&#21442;&#29031;&#12377;&#12427;&#21069;&#12395;&#12289;ace-&#65310;size&#12364;&#23455;&#38555;&#12395;num_subauth&#20998;&#12398;&#12469;&#12502;&#27177;&#38480;&#12434;&#21547;&#12416;&#12398;&#12395;&#21313;&#20998;&#12394;&#22823;&#12365;&#12373;&#12391;&#12354;&#12427;&#12363;&#12393;&#12358;&#12363;&#12434;&#12481;&#12455;&#12483;&#12463;&#12375;&#12390;&#12356;&#12414;&#12379;&#12435;&#12290;CIFS_SID_BASE_SIZE&#12399;sub_auth[]&#37197;&#21015;&#12434;&#38500;&#12367;SID&#12504;&#12483;&#12480;&#12540;&#12398;&#37096;&#20998;&#12434;&#12459;&#12496;&#12540;&#12375;&#12289;offsetof(struct smb_ace, sid)&#12399;ACE&#12504;&#12483;&#12480;&#12540;&#12434;&#25351;&#12375;&#12414;&#12377;&#12290;&#26082;&#23384;&#12398;&#12460;&#12540;&#12489;&#12399;8&#12496;&#12452;&#12488;&#12398;SID&#12505;&#12540;&#12473;&#65288;&#12388;&#12414;&#12426;&#12469;&#12502;&#27177;&#38480;&#12364;0&#20491;&#65289;&#12434;&#20445;&#35388;&#12377;&#12427;&#12398;&#12415;&#12391;&#12377;&#12290;compare_sids()&#12399;i &#65308; min(local_sid-&#65310;num_subauth, ace-&#65310;sid.num_subauth)&#12398;&#31684;&#22258;&#12391;ace-&#65310;sid.sub_auth[i]&#12434;&#35501;&#12415;&#21462;&#12426;&#12414;&#12377;&#12290;&#27604;&#36611;&#23550;&#35937;&#12398;&#12525;&#12540;&#12459;&#12523;SID&#65288;sid_everyone&#12289;sid_unix_NFS_mode&#12289;id_to_sid()&#12398;&#32080;&#26524;&#65289;&#12399;&#23569;&#12394;&#12367;&#12392;&#12418;1&#12388;&#12398;&#12469;&#12502;&#27177;&#38480;&#12434;&#25345;&#12387;&#12390;&#12356;&#12414;&#12377;&#12290;&#12414;&#12383;&#12289;&#25915;&#25731;&#32773;&#12399;ACE&#12398;&#12522;&#12499;&#12472;&#12519;&#12531;&#12392;&#27177;&#38480;&#12496;&#12452;&#12488;&#65288;&#31684;&#22258;&#20869;SID&#12505;&#12540;&#12473;&#12395;&#23384;&#22312;&#65289;&#12434;&#25805;&#20316;&#21487;&#33021;&#12394;&#12383;&#12417;&#12289;&#12381;&#12428;&#12425;&#12398;SID&#12398;&#12356;&#12378;&#12428;&#12363;&#12392;&#19968;&#33268;&#12373;&#12379;&#12390;sub_auth&#12398;&#35501;&#12415;&#21462;&#12426;&#12434;&#24375;&#21046;&#12391;&#12365;&#12414;&#12377;&#12290;&#12469;&#12452;&#12474;&#12364;16&#12391;num_subauth&#12364;1&#20197;&#19978;&#12398;&#32048;&#24037;&#12373;&#12428;&#12383;ACE&#12434;&#12475;&#12461;&#12517;&#12522;&#12486;&#12451;&#12487;&#12451;&#12473;&#12463;&#12522;&#12503;&#12479;&#12540;&#12398;&#26411;&#23614;&#12395;&#37197;&#32622;&#12377;&#12427;&#12392;&#12289;pntsd&#21106;&#12426;&#24403;&#12390;&#12398;&#24460;&#12429;&#20596;&#12395;&#26368;&#22823;&#12391;SID_MAX_SUB_AUTHORITIES * sizeof(__le32)&#12496;&#12452;&#12488;&#12398;&#12498;&#12540;&#12503;&#22659;&#30028;&#22806;&#35501;&#12415;&#21462;&#12426;&#12364;&#24341;&#12365;&#36215;&#12371;&#12373;&#12428;&#12414;&#12377;&#12290;&#12475;&#12461;&#12517;&#12522;&#12486;&#12451;&#12487;&#12451;&#12473;&#12463;&#12522;&#12503;&#12479;&#12540;&#12399;ksmbd_vfs_get_sd_xattr()&#12395;&#12424;&#12426;&#12458;&#12531;&#12487;&#12451;&#12473;&#12463;&#12487;&#12540;&#12479;&#12392;&#21516;&#12376;&#27491;&#30906;&#12394;&#12469;&#12452;&#12474;&#12398;&#12496;&#12483;&#12501;&#12449;&#65288;ndr_decode_v4_ntacl()&#20869;&#12398;kzalloc(sd_size)&#65289;&#12395;&#12525;&#12540;&#12489;&#12373;&#12428;&#12427;&#12383;&#12417;&#12289;&#12371;&#12398;&#35501;&#12415;&#21462;&#12426;&#12399;&#21106;&#12426;&#24403;&#12390;&#31684;&#22258;&#22806;&#12408;&#12398;&#12450;&#12463;&#12475;&#12473;&#12392;&#12394;&#12426;&#12414;&#12377;&#12290;&#30772;&#25613;&#12375;&#12383;&#12487;&#12451;&#12473;&#12463;&#12522;&#12503;&#12479;&#12540;&#12399;SMB2_SET_INFO&#12434;&#36890;&#12376;&#12390;&#12381;&#12398;&#12414;&#12414;&#20445;&#23384;&#21487;&#33021;&#12391;&#12354;&#12426;&#65288;DACL&#12399;&#26360;&#12365;&#36796;&#12415;&#21069;&#12395;&#12475;&#12461;&#12517;&#12522;&#12486;&#12451;.NTACL xattr&#20869;&#12391;&#27491;&#35215;&#21270;&#12373;&#12428;&#12414;&#12379;&#12435;&#65289;&#12289;&#12371;&#12398;&#35501;&#12415;&#21462;&#12426;&#12399;&#24460;&#32154;&#12398;SMB2_CREATE&#12450;&#12463;&#12475;&#12473;&#12481;&#12455;&#12483;&#12463;&#26178;&#12395;&#30330;&#29983;&#12375;&#12289;ACL xattr&#12434;&#20351;&#29992;&#12377;&#12427;&#20849;&#26377;&#12395;&#23550;&#12377;&#12427;&#35469;&#35388;&#28168;&#12415;&#12463;&#12521;&#12452;&#12450;&#12531;&#12488;&#12363;&#12425;&#21033;&#29992;&#12373;&#12428;&#12427;&#21487;&#33021;&#24615;&#12364;&#12354;&#12426;&#12414;&#12377;&#12290;parse_dacl()&#12362;&#12424;&#12403;smb_inherit_dacl()&#12392;&#12356;&#12358;&#20804;&#24351;&#12497;&#12540;&#12469;&#12540;&#12395;&#26082;&#12395;&#23384;&#22312;&#12377;&#12427;&#21516;&#19968;&#12398;&#12460;&#12540;&#12489;&#12434;&#21453;&#26144;&#12375;&#12289;num_subauth&#12392;ace_size&#12395;&#38306;&#12377;&#12427;&#19981;&#36275;&#12375;&#12390;&#12356;&#12383;&#12481;&#12455;&#12483;&#12463;&#12434;&#36861;&#21152;&#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-025998.html</URL>
        </RelatedItem>
        <RelatedItem relationtype="alternate" origin="other">
          <Name>Common Vulnerabilities and Exposures (CVE)</Name>
          <VulinfoID>CVE-2026-53390</VulinfoID>
          <URL>https://www.cve.org/CVERecord?id=CVE-2026-53390</URL>
        </RelatedItem>
        <RelatedItem relationtype="alternate" origin="other">
          <Name>National Vulnerability Database (NVD)</Name>
          <VulinfoID>CVE-2026-53390</VulinfoID>
          <URL>https://nvd.nist.gov/vuln/detail/CVE-2026-53390</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>ksmbd: fix out-of-bounds read in smb_check_perm_dacl() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/e36e35660adb9b8ef1435ac359151dda5f094c55)</VulinfoID>
          <URL>https://git.kernel.org/stable/c/e36e35660adb9b8ef1435ac359151dda5f094c55</URL>
        </RelatedItem>
        <RelatedItem relationtype="reference" origin="other">
          <Name>&#38306;&#36899;&#25991;&#26360;</Name>
          <VulinfoID>ksmbd: fix out-of-bounds read in smb_check_perm_dacl() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/36599894fa8536fefdf1e296c0af71b8b7226859)</VulinfoID>
          <URL>https://git.kernel.org/stable/c/36599894fa8536fefdf1e296c0af71b8b7226859</URL>
        </RelatedItem>
        <RelatedItem relationtype="reference" origin="other">
          <Name>&#38306;&#36899;&#25991;&#26360;</Name>
          <VulinfoID>ksmbd: fix out-of-bounds read in smb_check_perm_dacl() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/c7488c85fd822959e9b5c22fbd9e7c8a21caf5e0)</VulinfoID>
          <URL>https://git.kernel.org/stable/c/c7488c85fd822959e9b5c22fbd9e7c8a21caf5e0</URL>
        </RelatedItem>
        <RelatedItem relationtype="reference" origin="other">
          <Name>&#38306;&#36899;&#25991;&#26360;</Name>
          <VulinfoID>ksmbd: fix out-of-bounds read in smb_check_perm_dacl() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/7627ff8c4f9919f14de562b0160ab4ec9d80b1f7)</VulinfoID>
          <URL>https://git.kernel.org/stable/c/7627ff8c4f9919f14de562b0160ab4ec9d80b1f7</URL>
        </RelatedItem>
        <RelatedItem relationtype="reference" origin="other">
          <Name>&#38306;&#36899;&#25991;&#26360;</Name>
          <VulinfoID>ksmbd: fix out-of-bounds read in smb_check_perm_dacl() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/988c93d3bba066d8669143e6ec30bb2be9608d53)</VulinfoID>
          <URL>https://git.kernel.org/stable/c/988c93d3bba066d8669143e6ec30bb2be9608d53</URL>
        </RelatedItem>
        <RelatedItem relationtype="reference" origin="other">
          <Name>&#38306;&#36899;&#25991;&#26360;</Name>
          <VulinfoID>ksmbd: fix out-of-bounds read in smb_check_perm_dacl() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/1ef06004ed4bd6d3ed8c840d9d1a376b66d4935b)</VulinfoID>
          <URL>https://git.kernel.org/stable/c/1ef06004ed4bd6d3ed8c840d9d1a376b66d4935b</URL>
        </RelatedItem>
        <RelatedItem relationtype="reference" origin="other">
          <Name>&#38306;&#36899;&#25991;&#26360;</Name>
          <VulinfoID>ksmbd: fix out-of-bounds read in smb_check_perm_dacl() - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/d5c81a095c86fe507c032d08f3a8cfc518444927)</VulinfoID>
          <URL>https://git.kernel.org/stable/c/d5c81a095c86fe507c032d08f3a8cfc518444927</URL>
        </RelatedItem>
      </Related>
      <DateFirstPublished>2026-07-30T17:44:31+09:00</DateFirstPublished>
      <DateLastUpdated>2026-07-30T17:44:31+09:00</DateLastUpdated>
    </VulinfoData>
  </Vulinfo>
</VrdaData>
