<?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-025002</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;btrfs&#12398;flushoncommit&#20351;&#29992;&#26178;&#12395;&#30330;&#29983;&#12377;&#12427;reflink&#12392;&#12488;&#12521;&#12531;&#12470;&#12463;&#12471;&#12519;&#12531;&#12467;&#12511;&#12483;&#12488;&#38291;&#12398;&#12487;&#12483;&#12489;&#12525;&#12483;&#12463;&#12398;&#21839;&#38988;&#12391;&#12377;&#12290;flushoncommit&#12510;&#12454;&#12531;&#12488;&#12458;&#12503;&#12471;&#12519;&#12531;&#12434;&#20351;&#29992;&#12377;&#12427;&#12392;&#12289;&#12488;&#12521;&#12531;&#12470;&#12463;&#12471;&#12519;&#12531;&#12467;&#12511;&#12483;&#12488;&#12392;&#12289;&#12452;&#12531;&#12521;&#12452;&#12531;&#12456;&#12463;&#12473;&#12486;&#12531;&#12488;&#12434;&#12467;&#12500;&#12540;&#12375;&#12390;&#23451;&#20808;&#12494;&#12540;&#12489;&#12398;&#29694;&#22312;&#12398;i_size&#12434;&#36229;&#12360;&#12427;&#12458;&#12501;&#12475;&#12483;&#12488;&#12395;&#37197;&#32622;&#12377;&#12427;reflink&#25805;&#20316;&#12398;&#38291;&#12391;&#12487;&#12483;&#12489;&#12525;&#12483;&#12463;&#12364;&#30330;&#29983;&#12377;&#12427;&#21487;&#33021;&#24615;&#12364;&#12354;&#12426;&#12414;&#12377;&#12290;&#12487;&#12483;&#12489;&#12525;&#12483;&#12463;&#12398;&#30330;&#29983;&#12399;&#20197;&#19979;&#12398;&#12424;&#12358;&#12395;&#36914;&#34892;&#12375;&#12414;&#12377;&#12290;1) &#12479;&#12473;&#12463;A&#12364;inode X&#12363;&#12425;inode Y&#12398;&#29694;&#22312;&#12398;i_size&#12434;&#36229;&#12360;&#12427;&#12458;&#12501;&#12475;&#12483;&#12488;&#12395;&#12452;&#12531;&#12521;&#12452;&#12531;&#12456;&#12463;&#12473;&#12486;&#12531;&#12488;&#12434;&#12463;&#12525;&#12540;&#12531;&#12375;&#12414;&#12377;&#12290;&#12371;&#12428;&#12399;&#12289;copy_inline_to_page()&#12434;&#20351;&#29992;&#12375;&#12390;EOF&#12434;&#36229;&#12360;&#12427;inode Y&#12398;&#12501;&#12457;&#12522;&#12458;&#12395;&#12452;&#12531;&#12521;&#12452;&#12531;&#12456;&#12463;&#12473;&#12486;&#12531;&#12488;&#12398;&#12487;&#12540;&#12479;&#12434;&#12467;&#12500;&#12540;&#12375;&#12383;&#12371;&#12392;&#12434;&#24847;&#21619;&#12375;&#12414;&#12377;&#12290;2) &#12479;&#12473;&#12463;B&#12364;&#12488;&#12521;&#12531;&#12470;&#12463;&#12471;&#12519;&#12531;&#12398;&#12467;&#12511;&#12483;&#12488;&#12434;&#38283;&#22987;&#12375;&#12289;delalloc&#12398;&#12501;&#12521;&#12483;&#12471;&#12517;&#12398;&#12383;&#12417;&#12395;btrfs_start_delalloc_flush()&#12434;&#21628;&#12403;&#20986;&#12375;&#12414;&#12377;&#12290;3) delalloc&#12501;&#12521;&#12483;&#12471;&#12517;&#12399;inode Y&#12398;&#26032;&#12375;&#12356;&#12480;&#12540;&#12486;&#12451;&#12501;&#12457;&#12522;&#12458;&#12434;&#26908;&#20986;&#12375;&#12289;&#12381;&#12428;&#12434;&#12501;&#12521;&#12483;&#12471;&#12517;&#12375;&#12424;&#12358;&#12392;&#12377;&#12427;&#12392;extent_writepage()&#12395;&#20837;&#12426;&#12414;&#12377;&#12290;&#12371;&#12398;&#26178;&#12289;&#12501;&#12457;&#12522;&#12458;&#12398;&#12458;&#12501;&#12475;&#12483;&#12488;&#12364;inode Y&#12398;i_size&#12434;&#36229;&#12360;&#12390;&#12356;&#12427;&#12371;&#12392;&#12434;&#26908;&#30693;&#12375;&#12289;folio_invalidate()&#12434;&#21628;&#12403;&#20986;&#12375;&#12390;&#12501;&#12457;&#12522;&#12458;&#12398;&#28961;&#21177;&#21270;&#12434;&#35430;&#12415;&#12414;&#12377;&#12290;&#12371;&#12428;&#12399;btrfs&#12398;folio&#28961;&#21177;&#21270;&#12467;&#12540;&#12523;&#12496;&#12483;&#12463;&#12391;&#12354;&#12427;btrfs_invalidate_folio()&#12395;&#12388;&#12394;&#12364;&#12426;&#12414;&#12377;&#12290;&#12381;&#12371;&#12391;inode Y&#12398;extent io&#12484;&#12522;&#12540;&#12398;&#12501;&#12457;&#12522;&#12458;&#31684;&#22258;&#12398;&#12525;&#12483;&#12463;&#12434;&#35430;&#12415;&#12414;&#12377;&#12364;&#12289;&#12371;&#12428;&#12399;&#12479;&#12473;&#12463;A&#12395;&#12424;&#12387;&#12390;&#26082;&#12395;&#12525;&#12483;&#12463;&#12373;&#12428;&#12390;&#12356;&#12427;&#12383;&#12417;&#12502;&#12525;&#12483;&#12463;&#12373;&#12428;&#12414;&#12377;&#12290;reflink&#20013;&#12399;&#12377;&#12409;&#12390;&#12398;delalloc&#12434;&#12501;&#12521;&#12483;&#12471;&#12517;&#12375;&#12289;ordered extent&#12398;&#23436;&#20102;&#12434;&#24453;&#12387;&#12383;&#24460;&#12395;&#12289;inode&#12362;&#12424;&#12403;&#20803;&#12398;&#31684;&#22258;&#12392;&#23451;&#20808;&#31684;&#22258;&#12434;&#12525;&#12483;&#12463;&#12375;&#12414;&#12377;&#12290;&#12371;&#12398;&#26178;&#28857;&#12391;&#31684;&#22258;&#20869;&#12398;&#12480;&#12540;&#12486;&#12451;&#12501;&#12457;&#12522;&#12458;&#12399;&#23384;&#22312;&#12375;&#12394;&#12356;&#24819;&#23450;&#12391;&#12377;&#12364;&#12289;&#23451;&#20808;&#12458;&#12501;&#12475;&#12483;&#12488;&#12364;&#12476;&#12525;&#12391;&#12394;&#12356;&#22580;&#21512;&#12399;&#12452;&#12531;&#12521;&#12452;&#12531;&#12456;&#12463;&#12473;&#12486;&#12531;&#12488;&#12398;&#12487;&#12540;&#12479;&#12434;&#12467;&#12500;&#12540;&#12377;&#12427;&#24517;&#35201;&#12364;&#12354;&#12427;&#20363;&#22806;&#12364;&#23384;&#22312;&#12375;&#12414;&#12377;&#12290;4) &#12479;&#12473;&#12463;A&#12399;inode&#12450;&#12452;&#12486;&#12512;&#12434;&#26356;&#26032;&#12377;&#12427;&#12383;&#12417;&#12395;&#12488;&#12521;&#12531;&#12470;&#12463;&#12471;&#12519;&#12531;&#12434;&#38283;&#22987;&#12375;&#12424;&#12358;&#12392;&#12375;&#12414;&#12377;&#12364;&#12289;&#29694;&#22312;&#12398;&#12488;&#12521;&#12531;&#12470;&#12463;&#12471;&#12519;&#12531;&#12364;TRANS_STATE_COMMIT_START&#12398;&#29366;&#24907;&#12391;&#12354;&#12427;&#12383;&#12417;&#12502;&#12525;&#12483;&#12463;&#12373;&#12428;&#12414;&#12377;&#12290;&#12424;&#12387;&#12390;&#12479;&#12473;&#12463;A&#12399;&#29694;&#22312;&#12398;&#12488;&#12521;&#12531;&#12470;&#12463;&#12471;&#12519;&#12531;&#12364;&#12450;&#12531;&#12502;&#12525;&#12483;&#12463;&#29366;&#24907;&#65288;state &#65310;= TRANS_STATE_UNBLOCKED&#65289;&#12395;&#12394;&#12427;&#12398;&#12434;&#24453;&#27231;&#12375;&#12394;&#12369;&#12428;&#12400;&#12394;&#12426;&#12414;&#12379;&#12435;&#12290;&#12388;&#12414;&#12426;&#12289;&#12479;&#12473;&#12463;A&#12399;&#12479;&#12473;&#12463;B&#12395;&#12424;&#12427;&#12488;&#12521;&#12531;&#12470;&#12463;&#12471;&#12519;&#12531;&#12467;&#12511;&#12483;&#12488;&#12398;&#23436;&#20102;&#12434;&#24453;&#12387;&#12390;&#12362;&#12426;&#12289;&#19968;&#26041;&#12391;&#12479;&#12473;&#12463;B&#12399;&#12479;&#12473;&#12463;A&#12364;&#20445;&#25345;&#12377;&#12427;inode Y&#12398;extent&#12525;&#12483;&#12463;&#12434;&#24453;&#12387;&#12390;&#12356;&#12427;&#29366;&#24907;&#12391;&#12354;&#12426;&#12289;&#12371;&#12428;&#12364;&#12487;&#12483;&#12489;&#12525;&#12483;&#12463;&#12434;&#24341;&#12365;&#36215;&#12371;&#12375;&#12414;&#12377;&#12290;&#12371;&#12398;&#21839;&#38988;&#12399;Syzbot&#12395;&#12424;&#12387;&#12390;&#26368;&#36817;&#12289;&#20197;&#19979;&#12398;&#12473;&#12479;&#12483;&#12463;&#12488;&#12524;&#12540;&#12473;&#20184;&#12365;&#12391;&#22577;&#21578;&#12373;&#12428;&#12414;&#12375;&#12383;&#12290;INFO: task kworker/u8:7:1053&#12364;143&#31186;&#20197;&#19978;&#12502;&#12525;&#12483;&#12463;&#12373;&#12428;&#12390;&#12356;&#12414;&#12377;&#12290;&#12479;&#12473;&#12463;: kworker/u8:7 &#29366;&#24907;:D &#12473;&#12479;&#12483;&#12463;:23520 PID:1053 Tgid:1053 &#35242;PID:2 Workqueue: writeback wb_workfn (flush-btrfs-46)(&#30465;&#30053;)&#12290;&#12371;&#12398;&#21839;&#38988;&#12395;&#12424;&#12426;&#12289;flushoncommit&#20351;&#29992;&#26178;&#12398;reflink&#20966;&#29702;&#20013;&#12395;&#12488;&#12521;&#12531;&#12470;&#12463;&#12471;&#12519;&#12531;&#12467;&#12511;&#12483;&#12488;&#12392;&#12487;&#12540;&#12479;&#12501;&#12521;&#12483;&#12471;&#12517;&#12398;&#30456;&#20114;&#24453;&#27231;&#12395;&#12424;&#12427;&#12487;&#12483;&#12489;&#12525;&#12483;&#12463;&#12364;&#30330;&#29983;&#12377;&#12427;&#12383;&#12417;&#12289;&#35442;&#24403;&#37096;&#20998;&#12398;&#20462;&#27491;&#12364;&#34892;&#12431;&#12428;&#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-025002.html</URL>
        </RelatedItem>
        <RelatedItem relationtype="alternate" origin="other">
          <Name>Common Vulnerabilities and Exposures (CVE)</Name>
          <VulinfoID>CVE-2026-53122</VulinfoID>
          <URL>https://www.cve.org/CVERecord?id=CVE-2026-53122</URL>
        </RelatedItem>
        <RelatedItem relationtype="alternate" origin="other">
          <Name>National Vulnerability Database (NVD)</Name>
          <VulinfoID>CVE-2026-53122</VulinfoID>
          <URL>https://nvd.nist.gov/vuln/detail/CVE-2026-53122</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>btrfs: fix deadlock between reflink and transaction commit when using flushoncommit - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/6f0f9c0a368aa1fe078109091322d3b0632d9380)</VulinfoID>
          <URL>https://git.kernel.org/stable/c/6f0f9c0a368aa1fe078109091322d3b0632d9380</URL>
        </RelatedItem>
        <RelatedItem relationtype="reference" origin="other">
          <Name>&#38306;&#36899;&#25991;&#26360;</Name>
          <VulinfoID>btrfs: fix deadlock between reflink and transaction commit when using flushoncommit - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/73be4a08306bb84f4d5d16f62cb80e1543109ffa)</VulinfoID>
          <URL>https://git.kernel.org/stable/c/73be4a08306bb84f4d5d16f62cb80e1543109ffa</URL>
        </RelatedItem>
        <RelatedItem relationtype="reference" origin="other">
          <Name>&#38306;&#36899;&#25991;&#26360;</Name>
          <VulinfoID>btrfs: fix deadlock between reflink and transaction commit when using flushoncommit - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/9a24f0000876b8755cf21972b41632f4d6f3dafb)</VulinfoID>
          <URL>https://git.kernel.org/stable/c/9a24f0000876b8755cf21972b41632f4d6f3dafb</URL>
        </RelatedItem>
        <RelatedItem relationtype="reference" origin="other">
          <Name>&#38306;&#36899;&#25991;&#26360;</Name>
          <VulinfoID>btrfs: fix deadlock between reflink and transaction commit when using flushoncommit - kernel/git/stable/linux.git - Linux kernel stable tree (https://git.kernel.org/stable/c/b48c980b6a7e409050bb3067165db31cc6205e3e)</VulinfoID>
          <URL>https://git.kernel.org/stable/c/b48c980b6a7e409050bb3067165db31cc6205e3e</URL>
        </RelatedItem>
      </Related>
      <DateFirstPublished>2026-07-24T17:23:32+09:00</DateFirstPublished>
      <DateLastUpdated>2026-07-24T17:23:32+09:00</DateLastUpdated>
    </VulinfoData>
  </Vulinfo>
</VrdaData>
