<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:05:24 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-13929] NULL pointer dereference in lnet_post_send_locked</title>
                <link>https://jira.whamcloud.com/browse/LU-13929</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;During an lnet shutdown, the router crashes with the following stack:&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 0000000000000038
IP: [&amp;lt;ffffffffc0d43bda&amp;gt;] lnet_post_send_locked+0x7a/0xa40 [lnet]
PGD 0 
Oops: 0000 [#1] SMP 
CPU: 1 PID: 19931 Comm: kiblnd_sd_00_02 Kdump: loaded Tainted: G        W  OE  ------------ T 3.10.0-1127.0.0.1chaos.ch6.x86_64 #1
Hardware name: Cray Inc. SERVER-1824X-GN/S2600GZ, BIOS SE5C600.86B.02.06.0002.101320150901 10/13/2015
task: ffff8e581c0562a0 ti: ffff8e601d554000 task.ti: ffff8e601d554000
RIP: 0010:[&amp;lt;ffffffffc0d43bda&amp;gt;]  [&amp;lt;ffffffffc0d43bda&amp;gt;] lnet_post_send_locked+0x7a/0xa40 [lnet]
RSP: 0018:ffff8e601d557c50  EFLAGS: 00010202
RAX: 0000000000000000 RBX: ffff8e5f8666fc00 RCX: dead000000000200
RDX: ffff8e5eb083e810 RSI: 0000000000000001 RDI: ffff8e5f8666fc00
RBP: ffff8e601d557cb0 R08: ffff8e5f8666fc10 R09: ffff8e5174561070
R10: 0000000000000008 R11: ffff8e58154e48b8 R12: 0000000000000000
R13: ffff8e6017c3a800 R14: ffff8e58170fa100 R15: ffff8e57f5a94000
FS:  0000000000000000(0000) GS:ffff8e581ea40000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000038 CR3: 000000101ae34000 CR4: 00000000000607e0
Call Trace:
 [&amp;lt;ffffffffc0d46238&amp;gt;] lnet_return_tx_credits_locked+0x238/0x4a0 [lnet]
 [&amp;lt;ffffffffc0d3895c&amp;gt;] lnet_msg_decommit+0xec/0x700 [lnet]
 [&amp;lt;ffffffffc0d39a2c&amp;gt;] lnet_finalize+0x34c/0xd40 [lnet]
 [&amp;lt;ffffffffc0aa875d&amp;gt;] kiblnd_tx_done+0x10d/0x3e0 [ko2iblnd]
 [&amp;lt;ffffffffc0ab3d19&amp;gt;] kiblnd_scheduler+0x8c9/0x1160 [ko2iblnd]
 [&amp;lt;ffffffffaac2d59e&amp;gt;] ? __switch_to+0xce/0x5a0
 [&amp;lt;ffffffffaace29b0&amp;gt;] ? wake_up_state+0x20/0x20
 [&amp;lt;ffffffffc0ab3450&amp;gt;] ? kiblnd_cq_event+0x90/0x90 [ko2iblnd]
 [&amp;lt;ffffffffaaccca01&amp;gt;] kthread+0xd1/0xe0
 [&amp;lt;ffffffffaaccc930&amp;gt;] ? insert_kthread_work+0x40/0x40
 [&amp;lt;ffffffffab3bff77&amp;gt;] ret_from_fork_nospec_begin+0x21/0x21
 [&amp;lt;ffffffffaaccc930&amp;gt;] ? insert_kthread_work+0x40/0x40
Code: 45 c0 49 8b 45 50 4e 8b 34 e0 0f 85 8e 08 00 00 80 7b 72 00 0f 88 52 08 00 00 f6 43 6d 01 0f 84 b6 08 00 00 48 8b 05 56 74 03 00 &amp;lt;48&amp;gt; 8b 40 38 49 39 87 20 01 00 00 0f 84 fe 07 00 00 8b 7b 28 85 
RIP  [&amp;lt;ffffffffc0d43bda&amp;gt;] lnet_post_send_locked+0x7a/0xa40 [lnet]
 RSP &amp;lt;ffff8e601d557c50&amp;gt;
CR2: 0000000000000038
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>kmod-lustre-2.12.4_5.chaos&lt;br/&gt;
3.10.0-1127.0.0.1chaos.ch6.x86_64</environment>
        <key id="60504">LU-13929</key>
            <summary>NULL pointer dereference in lnet_post_send_locked</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="ssmirnov">Serguei Smirnov</assignee>
                                    <reporter username="ofaaland">Olaf Faaland</reporter>
                        <labels>
                            <label>llnl</label>
                    </labels>
                <created>Wed, 26 Aug 2020 23:45:21 +0000</created>
                <updated>Fri, 26 Aug 2022 16:31:35 +0000</updated>
                            <resolved>Fri, 26 Feb 2021 14:51:25 +0000</resolved>
                                    <version>Lustre 2.12.4</version>
                                    <fixVersion>Lustre 2.15.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="278157" author="ofaaland" created="Wed, 26 Aug 2020 23:51:33 +0000"  >&lt;p&gt;The relevant code:&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;(gdb) l *(lnet_post_send_locked+0x7a)
0x1cc0a is in lnet_post_send_locked (/usr/src/debug/lustre-2.12.4_5.chaos/lnet/lnet/lib-move.c:942).
937		/* non-lnet_send() callers have checked before */
938		LASSERT(!do_send || msg-&amp;gt;msg_tx_delayed);
939		LASSERT(!msg-&amp;gt;msg_receiving);
940		LASSERT(msg-&amp;gt;msg_tx_committed);
941		/* can&apos;t get here if we&apos;re sending to the loopback interface */
942		LASSERT(lp-&amp;gt;lpni_nid != the_lnet.ln_loni-&amp;gt;ni_nid);
943	
944		/* NB &apos;lp&apos; is always the next hop */
945		if ((msg-&amp;gt;msg_target.pid &amp;amp; LNET_PID_USERFLAG) == 0 &amp;amp;&amp;amp;
946		    lnet_peer_alive_locked(ni, lp, msg) == 0) {
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="278158" author="ofaaland" created="Wed, 26 Aug 2020 23:52:42 +0000"  >&lt;p&gt;This problem is not currently a priority for us.  Just posted so there&apos;s a record in case others run into it.&lt;/p&gt;</comment>
                            <comment id="278222" author="pjones" created="Thu, 27 Aug 2020 16:53:58 +0000"  >&lt;p&gt;Serguei&lt;/p&gt;

&lt;p&gt;Could you please investigate&lt;/p&gt;

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

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="285146" author="mrb" created="Fri, 13 Nov 2020 16:20:58 +0000"  >&lt;p&gt;Thanks for logging this, I just hit this today on 2.12.5, exact same situation, during an lnet shutdown on our LNET routers. &lt;/p&gt;

&lt;p&gt;kernel-3.10.0-1127.19.1.el7.x86_64&lt;br/&gt;
lustre-client-2.12.5-1.el7.x86_64&lt;/p&gt;</comment>
                            <comment id="285941" author="gerrit" created="Wed, 25 Nov 2020 00:06:49 +0000"  >&lt;p&gt;Serguei Smirnov (ssmirnov@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/40749&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/40749&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13929&quot; title=&quot;NULL pointer dereference in lnet_post_send_locked&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13929&quot;&gt;&lt;del&gt;LU-13929&lt;/del&gt;&lt;/a&gt; lnet: replace assertion in lnet_post_send_locked&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 00ef477710f541d31c5a21fa2d4ec9cf0f45ff14&lt;/p&gt;</comment>
                            <comment id="286036" author="gerrit" created="Wed, 25 Nov 2020 22:15:28 +0000"  >&lt;p&gt;Serguei Smirnov (ssmirnov@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/40759&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/40759&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13929&quot; title=&quot;NULL pointer dereference in lnet_post_send_locked&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13929&quot;&gt;&lt;del&gt;LU-13929&lt;/del&gt;&lt;/a&gt; lnet: modify assertion in lnet_post_send_locked&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: cc623ea3f49633cfaafa0b8f044c3b28cd664b4f&lt;/p&gt;</comment>
                            <comment id="293157" author="gerrit" created="Fri, 26 Feb 2021 08:23:37 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/40749/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/40749/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13929&quot; title=&quot;NULL pointer dereference in lnet_post_send_locked&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13929&quot;&gt;&lt;del&gt;LU-13929&lt;/del&gt;&lt;/a&gt; lnet: modify assertion in lnet_post_send_locked&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: e5a8f3fc12840aee97fca03d76b1ae9b4572acb8&lt;/p&gt;</comment>
                            <comment id="293200" author="pjones" created="Fri, 26 Feb 2021 14:51:25 +0000"  >&lt;p&gt;Landed for 2.15&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|i018gn:</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>