<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:14:04 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-8037] subtree mounts should reject &apos;..&apos; as a path component</title>
                <link>https://jira.whamcloud.com/browse/LU-8037</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;t:~# mount t@tcp:/lustre/.. /mnt/lustre2 -t lustre -o user_xattr,flock
t:~# /bin/ls /mnt/lustre2
BATCHID		   O	     oi.16.22  oi.16.37  oi.16.51  oi.16.9
CATALOGS	   oi.16.0   oi.16.23  oi.16.38  oi.16.52  OI_scrub
changelog_catalog  oi.16.1   oi.16.24  oi.16.39  oi.16.53  PENDING
changelog_users    oi.16.10  oi.16.25  oi.16.4	 oi.16.54  quota_master
CONFIGS		   oi.16.11  oi.16.26  oi.16.40  oi.16.55  quota_slave
fld		   oi.16.12  oi.16.27  oi.16.41  oi.16.56  REMOTE_PARENT_DIR
hsm_actions	   oi.16.13  oi.16.28  oi.16.42  oi.16.57  reply_data
last_rcvd	   oi.16.14  oi.16.29  oi.16.43  oi.16.58  ROOT
LFSCK		   oi.16.15  oi.16.3   oi.16.44  oi.16.59  seq_ctl
lfsck_bookmark	   oi.16.16  oi.16.30  oi.16.45  oi.16.6   seq_srv
lfsck_layout	   oi.16.17  oi.16.31  oi.16.46  oi.16.60  update_log
lfsck_namespace    oi.16.18  oi.16.32  oi.16.47  oi.16.61  update_log_dir
lost+found	   oi.16.19  oi.16.33  oi.16.48  oi.16.62
lov_objid	   oi.16.2   oi.16.34  oi.16.49  oi.16.63
lov_objseq	   oi.16.20  oi.16.35  oi.16.5	 oi.16.7
NIDTBL_VERSIONS    oi.16.21  oi.16.36  oi.16.50  oi.16.8
t:~# /bin/ls -l /mnt/lustre2
/bin/ls: cannot access /mnt/lustre2/REMOTE_PARENT_DIR: No data available

Message from syslogd@t at Apr 18 10:37:43 ...
 kernel:[ 1401.215808] LustreError: 3572:0:(md_object.h:305:lu2md()) ASSERTION( o == ((void *)0) || IS_ERR(o) || lu_device_is_md(o-&amp;gt;lo_dev) ) failed: 

Message from syslogd@t at Apr 18 10:37:43 ...
 kernel:[ 1401.218227] LustreError: 3572:0:(md_object.h:305:lu2md()) LBUG
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;[  507.642901] LDISKFS-fs (loop3): mounted filesystem with ordered data mode. quota=on. Opts: 
[  590.252657] Lustre: lustre-MDT0000: trigger OI scrub by RPC for [0xe:0x987a9b4c:0x0], rc = 0 [2]
[ 1401.215808] LustreError: 3572:0:(md_object.h:305:lu2md()) ASSERTION( o == ((void *)0) || IS_ERR(o) || lu_device_is_md(o-&amp;gt;lo_dev) ) failed: 
[ 1401.218227] LustreError: 3572:0:(md_object.h:305:lu2md()) LBUG
[ 1401.219350] Pid: 3572, comm: mdt00_002
[ 1401.220099] 
[ 1401.220100] Call Trace:
[ 1401.220869]  [&amp;lt;ffffffffa09338b5&amp;gt;] libcfs_debug_dumpstack+0x55/0x80 [libcfs]
[ 1401.222218]  [&amp;lt;ffffffffa0933eb7&amp;gt;] lbug_with_loc+0x47/0xb0 [libcfs]
[ 1401.223424]  [&amp;lt;ffffffffa12f91a0&amp;gt;] mdt_getattr_internal+0xf00/0x1300 [mdt]
[ 1401.224761]  [&amp;lt;ffffffffa0aa453a&amp;gt;] ? class_handle2object+0xea/0x1d0 [obdclass]
[ 1401.226159]  [&amp;lt;ffffffffa12fbf1e&amp;gt;] mdt_getattr_name_lock+0xdfe/0x1920 [mdt]
[ 1401.227481]  [&amp;lt;ffffffffa12fcf62&amp;gt;] mdt_intent_getattr+0x292/0x470 [mdt]
[ 1401.228737]  [&amp;lt;ffffffffa12ee86e&amp;gt;] mdt_intent_policy+0x4ce/0xc80 [mdt]
[ 1401.230070]  [&amp;lt;ffffffffa0c93122&amp;gt;] ldlm_lock_enqueue+0x132/0x920 [ptlrpc]
[ 1401.231363]  [&amp;lt;ffffffffa0945101&amp;gt;] ? cfs_hash_rw_unlock+0x1/0x30 [libcfs]
[ 1401.232676]  [&amp;lt;ffffffffa0cbd33f&amp;gt;] ldlm_handle_enqueue0+0x81f/0x14e0 [ptlrpc]
[ 1401.234091]  [&amp;lt;ffffffffa0d30e94&amp;gt;] ? tgt_lookup_reply+0x34/0x190 [ptlrpc]
[ 1401.235416]  [&amp;lt;ffffffffa0d427c1&amp;gt;] tgt_enqueue+0x61/0x230 [ptlrpc]
[ 1401.236629]  [&amp;lt;ffffffffa0d4345f&amp;gt;] tgt_request_handle+0x90f/0x1470 [ptlrpc]
[ 1401.238000]  [&amp;lt;ffffffffa0cf137a&amp;gt;] ptlrpc_main+0xcea/0x17f0 [ptlrpc]
[ 1401.239269]  [&amp;lt;ffffffffa0cf0690&amp;gt;] ? ptlrpc_main+0x0/0x17f0 [ptlrpc]
[ 1401.240477]  [&amp;lt;ffffffff8109e856&amp;gt;] kthread+0x96/0xa0
[ 1401.241440]  [&amp;lt;ffffffff8100c30a&amp;gt;] child_rip+0xa/0x20
[ 1401.242400]  [&amp;lt;ffffffff8100bb10&amp;gt;] ? restore_args+0x0/0x30
[ 1401.243442]  [&amp;lt;ffffffff8109e7c0&amp;gt;] ? kthread+0x0/0xa0
[ 1401.244398]  [&amp;lt;ffffffff8100c300&amp;gt;] ? child_rip+0x0/0x20
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="36214">LU-8037</key>
            <summary>subtree mounts should reject &apos;..&apos; as a path component</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.whamcloud.com/images/icons/priorities/blocker.svg">Blocker</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="wangshilong">Wang Shilong</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>mdt</label>
                    </labels>
                <created>Mon, 18 Apr 2016 15:43:25 +0000</created>
                <updated>Fri, 23 Sep 2016 13:04:26 +0000</updated>
                            <resolved>Wed, 27 Apr 2016 16:04:39 +0000</resolved>
                                    <version>Lustre 2.9.0</version>
                                    <fixVersion>Lustre 2.9.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="149369" author="wangshilong" created="Tue, 19 Apr 2016 04:06:58 +0000"  >&lt;p&gt;So sometimes if administrator try:&lt;/p&gt;

&lt;p&gt;    ip@tcp:/lustre/dir1/dir2/.. /mnt/lustre&lt;/p&gt;

&lt;p&gt;or more complex rule, this should be allowed?&lt;br/&gt;
But It is hard to check which should be allowed or not.&lt;/p&gt;
</comment>
                            <comment id="149375" author="gerrit" created="Tue, 19 Apr 2016 04:53:52 +0000"  >&lt;p&gt;Wang Shilong (wshilong@ddn.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/19646&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/19646&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8037&quot; title=&quot;subtree mounts should reject &amp;#39;..&amp;#39; as a path component&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8037&quot;&gt;&lt;del&gt;LU-8037&lt;/del&gt;&lt;/a&gt; fileset: reject dotdot as a path component&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 723962647c7e31d152d18c033cca5d936146c166&lt;/p&gt;</comment>
                            <comment id="149841" author="gerrit" created="Fri, 22 Apr 2016 15:46:35 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/19646/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/19646/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8037&quot; title=&quot;subtree mounts should reject &amp;#39;..&amp;#39; as a path component&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8037&quot;&gt;&lt;del&gt;LU-8037&lt;/del&gt;&lt;/a&gt; fileset: reject dotdot as a path component&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 05ff4729e0a8bb1a67957c20d18e3097ac6003c1&lt;/p&gt;</comment>
                            <comment id="150380" author="jgmitter" created="Wed, 27 Apr 2016 16:04:39 +0000"  >&lt;p&gt;Landed to master for 2.9.0&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzy8fb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>