<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:23:05 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-2186] seq_server_alloc_meta() NULL deref</title>
                <link>https://jira.whamcloud.com/browse/LU-2186</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Observed running a current version of master, 2.3.53.&lt;/p&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;BUG: unable to handle kernel NULL pointer dereference at 0000000000000010
IP: [&amp;lt;ffffffffa06ad93e&amp;gt;] seq_server_alloc_meta+0x51e/0x700 [fid]
PGD 0 
Oops: 0000 [#1] SMP
last sysfs file: /sys/devices/pci0000:80/0000:80:02.2/0000:83:00.0/host7/port-7:0/expander-7:0/port-7:0:13/end_device-7:0:13/target7:0:17/7:0:17:0/timeout
CPU 9 

Pid: 33477, comm: mdt_mdss_0003 Tainted: P        W  ----------------   2.6.32-220.23.1.1chaos.ch5.x86_64 #1 appro 2620x-in/S2600GZ
RIP: 0010:[&amp;lt;ffffffffa06ad93e&amp;gt;]  [&amp;lt;ffffffffa06ad93e&amp;gt;] seq_server_alloc_meta+0x51e/0x700 [fid]
RSP: 0018:ffff881fa8007ca0  EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000200003e98 RCX: 0000000200004280
RDX: 00000000000003e8 RSI: ffff881faadb40c0 RDI: ffff880fcc9e9500
RBP: ffff881fa8007ce0 R08: 0000000000000000 R09: ffff881e0ee63e00
R10: 0000000000000009 R11: ffffffffa09e2090 R12: ffff881e0ee63fe8
R13: ffff881faadb4130 R14: ffff881faadb40c0 R15: ffff880fcc9e9500
FS:  00007ffff7fdc700(0000) GS:ffff881078820000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 0000000000000010 CR3: 0000000001a85000 CR4: 00000000000406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 
Process mdt_mdss_0003 (pid: 33477, threadinfo ffff881fa8006000, task ffff8820150b8080)
Stack:
 ffff881fa8007cb0 ffff881a5019a400 ffff880fcc9e9b40 ffff881a5019a400
&amp;lt;0&amp;gt; ffff880fcc9e9b40 ffff880fcc9e9500 ffff881e0ee63fe8 00000000ffffffea
&amp;lt;0&amp;gt; ffff881fa8007d30 ffffffffa06ade9f ffff881fa8007d10 ffffc900c2888988
Call Trace:
 [&amp;lt;ffffffffa06ade9f&amp;gt;] seq_query+0x37f/0x6d0 [fid]
 [&amp;lt;ffffffffa0f39322&amp;gt;] mdt_handle_common+0x932/0x1760 [mdt]
 [&amp;lt;ffffffffa0f3a1c5&amp;gt;] mdt_mdss_handle+0x15/0x20 [mdt]
 [&amp;lt;ffffffffa0948bfc&amp;gt;] ptlrpc_server_handle_request+0x41c/0xe00 [ptlrpc]
 [&amp;lt;ffffffffa05b26be&amp;gt;] ? cfs_timer_arm+0xe/0x10 [libcfs]
 [&amp;lt;ffffffffa05c414f&amp;gt;] ? lc_watchdog_touch+0x6f/0x180 [libcfs]
 [&amp;lt;ffffffffa093ffb9&amp;gt;] ? ptlrpc_wait_event+0xa9/0x2a0 [ptlrpc]
 [&amp;lt;ffffffff81051ba3&amp;gt;] ? __wake_up+0x53/0x70
 [&amp;lt;ffffffffa094a1ec&amp;gt;] ptlrpc_main+0xc0c/0x19f0 [ptlrpc]
 [&amp;lt;ffffffffa09495e0&amp;gt;] ? ptlrpc_main+0x0/0x19f0 [ptlrpc]
 [&amp;lt;ffffffff8100c14a&amp;gt;] child_rip+0xa/0x20
 [&amp;lt;ffffffffa09495e0&amp;gt;] ? ptlrpc_main+0x0/0x19f0 [ptlrpc]
 [&amp;lt;ffffffffa09495e0&amp;gt;] ? ptlrpc_main+0x0/0x19f0 [ptlrpc]
 [&amp;lt;ffffffff8100c140&amp;gt;] ? child_rip+0x0/0x20
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>RHEL6.2 the Sequoia MDS</environment>
        <key id="16372">LU-2186</key>
            <summary>seq_server_alloc_meta() NULL deref</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="bzzz">Alex Zhuravlev</assignee>
                                    <reporter username="behlendorf">Brian Behlendorf</reporter>
                        <labels>
                            <label>topsequoia</label>
                    </labels>
                <created>Mon, 15 Oct 2012 18:43:04 +0000</created>
                <updated>Wed, 2 Jan 2013 18:04:59 +0000</updated>
                            <resolved>Thu, 8 Nov 2012 11:29:09 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                                    <fixVersion>Lustre 2.4.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="46601" author="pjones" created="Mon, 15 Oct 2012 18:46:34 +0000"  >&lt;p&gt;Alex&lt;/p&gt;

&lt;p&gt;Could you please assign someone to look into this one?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="46604" author="behlendorf" created="Mon, 15 Oct 2012 18:56:27 +0000"  >&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;(gdb) list *(seq_server_alloc_meta+0x51e)
0x196e is in seq_server_alloc_meta (/builddir/build/BUILD/lustre-2.3.53/lustre/fid/fid_handler.c:211).
206     /builddir/build/BUILD/lustre-2.3.53/lustre/fid/fid_handler.c: No such file or directory.
        in /builddir/build/BUILD/lustre-2.3.53/lustre/fid/fid_handler.c


        if (range_is_exhausted(loset)) {
                /* reached high water mark. */
&amp;gt;&amp;gt;&amp;gt;             struct lu_device *dev = seq-&amp;gt;lss_site-&amp;gt;ms_lu-&amp;gt;ls_top_dev;
                int obd_num_clients = dev-&amp;gt;ld_obd-&amp;gt;obd_num_exports;
                __u64 set_sz;
        }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;It looks like seq-&amp;gt;lss_site-&amp;gt;ms_lu = NULL.  At least that&apos;s consistent with what offset in the NULL deref and is roughly where gdb pointed me.  How that can happen I&apos;m not sure.&lt;/p&gt;</comment>
                            <comment id="46632" author="bzzz" created="Tue, 16 Oct 2012 15:32:25 +0000"  >&lt;p&gt;please try with &lt;a href=&quot;http://review.whamcloud.com/4280&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/4280&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="47216" author="morrone" created="Wed, 31 Oct 2012 13:53:37 +0000"  >&lt;p&gt;I added patch &lt;a href=&quot;http://review.whamcloud.com/4280&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;4280&lt;/a&gt; to our &lt;a href=&quot;https://github.com/chaos/lustre/tree/2.3.54-llnl&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;2.3.54-llnl&lt;/a&gt; branch.&lt;/p&gt;</comment>
                            <comment id="47590" author="bzzz" created="Thu, 8 Nov 2012 11:29:09 +0000"  >&lt;p&gt;landed on master&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="16533">LU-2256</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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_10040" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Epic</customfieldname>
                        <customfieldvalues>
                                        <label>server</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10070" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Project</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10031"><![CDATA[Orion]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzvag7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5228</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>