<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:51:09 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-5398] Oops in ldlm_handle_enqueue0()</title>
                <link>https://jira.whamcloud.com/browse/LU-5398</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;In ldlm_handle_enqueue0() following an early GOTO(out, ...) may leave lock NULL. This will oops:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt; out:
         ...
        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (!IS_ERR(lock)) {
                LDLM_DEBUG(lock, &lt;span class=&quot;code-quote&quot;&gt;&quot;server-side enqueue handler, sending reply&quot;&lt;/span&gt;
                           &lt;span class=&quot;code-quote&quot;&gt;&quot;(err=%d, rc=%d)&quot;&lt;/span&gt;, err, rc);

                &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (rc == 0) {
                        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (req_capsule_has_field(&amp;amp;req-&amp;gt;rq_pill, &amp;amp;RMF_DLM_LVB,
                                                  RCL_SERVER) &amp;amp;&amp;amp;
                            ldlm_lvbo_size(lock) &amp;gt; 0) {
                                void *buf;
                                &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; buflen;

                                buf = req_capsule_server_get(&amp;amp;req-&amp;gt;rq_pill,
                                                             &amp;amp;RMF_DLM_LVB);
                                LASSERTF(buf != NULL, &lt;span class=&quot;code-quote&quot;&gt;&quot;req %p, lock %p\n&quot;&lt;/span&gt;,
                                         req, lock);
                                buflen = req_capsule_get_size(&amp;amp;req-&amp;gt;rq_pill,
                                                &amp;amp;RMF_DLM_LVB, RCL_SERVER);
                                &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (buflen &amp;gt; 0) {
                                        buflen = ldlm_lvbo_fill(lock, buf,
                                                                buflen);
                                        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (buflen &amp;gt;= 0)
                                                req_capsule_shrink(
                                                        &amp;amp;req-&amp;gt;rq_pill,
                                                        &amp;amp;RMF_DLM_LVB,
                                                        buflen, RCL_SERVER);
                                        &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt;
                                                rc = buflen;
                                } &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; {
                                        rc = buflen;
                                }
                        }
                } &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt; {
                        lock_res_and_lock(lock);
			ldlm_resource_unlink_lock(lock);
                        ldlm_lock_destroy_nolock(lock);
                        unlock_res_and_lock(lock);
                }
&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;[  139.919778] BUG: unable to handle kernel NULL pointer dereference at 0000000000000186
[  139.919782] IP: [&amp;lt;ffffffffa063d05e&amp;gt;] lock_res_and_lock+0xe/0x60 [ptlrpc]
[  139.919837] PGD 1f061a067 PUD 1e9293067 PMD 0
[  139.919842] Oops: 0000 [#1] SMP
[  139.919844] last sysfs file: /sys/devices/system/cpu/possible
[  139.919904] CPU 1
[  139.919906] Modules linked in: lustre(U) ofd(U) osp(U) lod(U) ost(U) mdt(U) mdd(U) mgs(U)\
 nodemap(U) osd_ldiskfs(U) ldiskfs(U) exportfs lquota(U) lfsck(U) jbd obdecho(U) mgc(U) lov(\
U) osc(U) mdc(U) lmv(U) fid(U) fld(U) ptlrpc(U) obdclass(U) ksocklnd(U) lnet(U) sha512_gener\
ic sha256_generic libcfs(U) autofs4 nfs lockd fscache auth_rpcgss nfs_acl sunrpc ipv6 microc\
ode virtio_balloon virtio_net i2c_piix4 i2c_core ext4 jbd2 mbcache virtio_blk virtio_pci vir\
tio_ring virtio pata_acpi ata_generic ata_piix dm_mirror dm_region_hash dm_log dm_mod [last \
unloaded: speedstep_lib]
[  139.919956]
[  139.919959] Pid: 30623, comm: ll_ost00_011 Not tainted 2.6.32-431.5.1.el6.lustre.x86_64 #\
1 Bochs Bochs
[  139.919964] RIP: 0010:[&amp;lt;ffffffffa063d05e&amp;gt;]  [&amp;lt;ffffffffa063d05e&amp;gt;] lock_res_and_lock+0xe/0x\
60 [ptlrpc]
[  139.920005] RSP: 0018:ffff8801ef06bc70  EFLAGS: 00010282
[  139.920008] RAX: 0000000000000001 RBX: ffff8801fc914eb0 RCX: 0000000000000000
[  139.920010] RDX: 0000000000000001 RSI: 0000000000000001 RDI: 0000000000000000
[  139.920013] RBP: ffff8801ef06bc80 R08: 00000000fffffff9 R09: 00000000fffffffc
[  139.920016] R10: 0000000000000001 R11: 0000000000000000 R12: ffffc9000d7cb0e0
[  139.920019] R13: 00000000fffffff2 R14: 0000000000000000 R15: 00000000fffffff2
  139.920022] FS:  0000000000000000(0000) GS:ffff88002fa00000(0000) knlGS:0000000000000000
[  139.920025] CS:  0010 DS: 0018 ES: 0018 CR0: 000000008005003b
[  139.920028] CR2: 0000000000000186 CR3: 00000001eaac9000 CR4: 00000000000006e0
[  139.920038] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  139.920045] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[  139.920048] Process ll_ost00_011 (pid: 30623, threadinfo ffff8801ef06a000, task ffff8801e\
c412100)
[  139.920051] Stack:
[  139.920053]  0000000000000004 ffff8801fc914eb0 ffff8801ef06bcf0 ffffffffa066b609
[  139.920058] &amp;lt;d&amp;gt; ffff880219ec4db0 ffff880219ec4d98 0000000000000001 ffff880219ec4d98
[  139.920063] &amp;lt;d&amp;gt; 0000000000000000 0000000040000000 ffffc9000d7cb000 ffff8801fc914eb0
[  139.920074] Call Trace:
[  139.920086]  [&amp;lt;ffffffffa066b609&amp;gt;] ldlm_handle_enqueue0+0x699/0x11e0 [ptlrpc]
[  139.920086]  [&amp;lt;ffffffffa06ea4b2&amp;gt;] tgt_enqueue+0x62/0x1d0 [ptlrpc]
[  139.920086]  [&amp;lt;ffffffffa06e9745&amp;gt;] tgt_request_handle+0x245/0xad0 [ptlrpc]
[  139.920086]  [&amp;lt;ffffffffa069c9f1&amp;gt;] ptlrpc_main+0xcf1/0x1870 [ptlrpc]
[  139.920086]  [&amp;lt;ffffffffa069bd00&amp;gt;] ? ptlrpc_main+0x0/0x1870 [ptlrpc]
[  139.920086]  [&amp;lt;ffffffff8109eab6&amp;gt;] kthread+0x96/0xa0
[  139.920086]  [&amp;lt;ffffffff8100c30a&amp;gt;] child_rip+0xa/0x20
[  139.920086]  [&amp;lt;ffffffff81554710&amp;gt;] ? _spin_unlock_irq+0x30/0x40
[  139.920086]  [&amp;lt;ffffffff8100bb10&amp;gt;] ? restore_args+0x0/0x30
[  139.920086]  [&amp;lt;ffffffff8109ea20&amp;gt;] ? kthread+0x0/0xa0
[  139.920086]  [&amp;lt;ffffffff8100c300&amp;gt;] ? child_rip+0x0/0x20
[  139.920086] Code: 83 86 01 00 00 40 75 0c 48 8d bb 88 00 00 00 e8 59 77 f1 e0 48 83 c4 08\
 5b c9 c3 66 90 55 48 89 e5 53 48 83 ec 08 0f 1f 44 00 00 &amp;lt;f6&amp;gt; 87 86 01 00 00 40 48 89 fb 75\
 0c 48 8d bf 88 00 00 00 e8 ea
[  139.920086] RIP  [&amp;lt;ffffffffa063d05e&amp;gt;] lock_res_and_lock+0xe/0x60 [ptlrpc]
[  139.920086]  RSP &amp;lt;ffff8801ef06bc70&amp;gt;
[  139.920086] CR2: 0000000000000186
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This was found via RPC packet corruption.&lt;/p&gt;</description>
                <environment></environment>
        <key id="25705">LU-5398</key>
            <summary>Oops in ldlm_handle_enqueue0()</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</priority>
                        <status id="6" iconUrl="https://jira.whamcloud.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="jhammond">John Hammond</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>fault</label>
                            <label>ldlm</label>
                    </labels>
                <created>Wed, 23 Jul 2014 20:06:14 +0000</created>
                <updated>Wed, 15 Jul 2015 13:06:28 +0000</updated>
                            <resolved>Mon, 27 Apr 2015 20:47:28 +0000</resolved>
                                    <version>Lustre 2.7.0</version>
                                    <fixVersion>Lustre 2.7.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="89869" author="jhammond" created="Wed, 23 Jul 2014 20:13:35 +0000"  >&lt;p&gt;Please see &lt;a href=&quot;http://review.whamcloud.com/11197&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/11197&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="90875" author="jhammond" created="Tue, 5 Aug 2014 16:17:06 +0000"  >&lt;p&gt;Patch landed to master.&lt;/p&gt;</comment>
                            <comment id="92030" author="jlevi" created="Wed, 20 Aug 2014 12:41:42 +0000"  >&lt;p&gt;Reopening to add label&lt;/p&gt;</comment>
                    </comments>
                    <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|hzws2v:</customfieldvalue>

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