<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:02:06 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-13534] Landing an LU-12678 high likely introduce a random memory corruption bug</title>
                <link>https://jira.whamcloud.com/browse/LU-13534</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;with landing an &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12678&quot; title=&quot;LNet simplification work from linux client&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12678&quot;&gt;LU-12678&lt;/a&gt;, ptlrpc hold an object pointer without reference to it (lnet_me don&apos;t have a reference). &lt;br/&gt;
Scenario is&lt;br/&gt;
lnet monitor_thread found an expired response and start a kill MD once no references MD start to kill an ME entry, but ptlrpc have a reference to the ME object and try to kill ME itself.&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;void
lnet_md_unlink(struct lnet_libmd *md)
{
        if ((md-&amp;gt;md_flags &amp;amp; LNET_MD_FLAG_ZOMBIE) == 0) {
                /* first unlink attempt... */
                struct lnet_me *me = md-&amp;gt;md_me;

                md-&amp;gt;md_flags |= LNET_MD_FLAG_ZOMBIE;

                /* Disassociate from ME (if any), and unlink it if it was created
                 * with LNET_UNLINK */
                if (me != NULL) {
                        /* detach MD from portal */
                        lnet_ptl_detach_md(me, md);
                        if (me-&amp;gt;me_unlink == LNET_UNLINK)
                                lnet_me_unlink(me);
                }

                /* ensure all future handle lookups fail */
                lnet_res_lh_invalidate(&amp;amp;md-&amp;gt;md_lh);
        }

        if (md-&amp;gt;md_refcount != 0) {
                CDEBUG(D_NET, &quot;Queueing unlink of md %p\n&quot;, md);
                return;
        }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;�&lt;/p&gt;

&lt;p&gt;so lnet_me isn&apos;t protected by MD reference.&lt;/p&gt;</description>
                <environment></environment>
        <key id="59090">LU-13534</key>
            <summary>Landing an LU-12678 high likely introduce a random memory corruption bug</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="neilb">Neil Brown</assignee>
                                    <reporter username="shadow">Alexey Lyashkov</reporter>
                        <labels>
                    </labels>
                <created>Thu, 7 May 2020 17:42:54 +0000</created>
                <updated>Wed, 17 Feb 2021 22:41:30 +0000</updated>
                            <resolved>Fri, 10 Jul 2020 17:19:25 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="272069" author="simmonsja" created="Fri, 5 Jun 2020 14:56:48 +0000"  >&lt;p&gt;&lt;a href=&quot;https://review.whamcloud.com/#/c/38646/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/38646/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="275014" author="simmonsja" created="Fri, 10 Jul 2020 17:19:25 +0000"  >&lt;p&gt;Patch&#160;&lt;a href=&quot;https://review.whamcloud.com/#/c/38646/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/#/c/38646&lt;/a&gt;&#160;landed which should of resolved this issue.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="59459">LU-13638</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="56692">LU-12678</issuekey>
        </issuelink>
                            </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|i00zs7:</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>