<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:33:52 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-17249] protect scp_rqbd_idle list operations in ptlrpc_service_purge_all()</title>
                <link>https://jira.whamcloud.com/browse/LU-17249</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;There are evidences that list entry taken from &lt;tt&gt;scp_rqbd_idle&lt;/tt&gt; in &lt;tt&gt;ptlrpc_service_purge_all()&lt;/tt&gt; is used then being freed. From code that entry is taken from the list without any protection, so that is possible place when it is being freed at the same time.&lt;/p&gt;

&lt;p&gt;I wasn&apos;t able to reproduce that but it seems that is only place where it can happen and solution would be just take the same spinlock &lt;tt&gt;svcpt-&amp;gt;scp_lock&lt;/tt&gt; which is used in all other place where these &lt;tt&gt;rqbd_list&lt;/tt&gt; linkage is being used&lt;/p&gt;</description>
                <environment></environment>
        <key id="78714">LU-17249</key>
            <summary>protect scp_rqbd_idle list operations in ptlrpc_service_purge_all()</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="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="tappro">Mikhail Pershin</assignee>
                                    <reporter username="tappro">Mikhail Pershin</reporter>
                        <labels>
                    </labels>
                <created>Wed, 1 Nov 2023 14:53:54 +0000</created>
                <updated>Thu, 9 Nov 2023 13:37:01 +0000</updated>
                            <resolved>Thu, 9 Nov 2023 13:37:01 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="391347" author="tappro" created="Wed, 1 Nov 2023 15:39:41 +0000"  >&lt;p&gt;&lt;a href=&quot;https://testing.whamcloud.com/test_sets/85afe042-b6a0-4dd1-b6c8-4fa1e15ce20f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/85afe042-b6a0-4dd1-b6c8-4fa1e15ce20f&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://testing.whamcloud.com/test_sets/cb2e8477-731a-4a66-8241-1c30198b42d5&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.whamcloud.com/test_sets/cb2e8477-731a-4a66-8241-1c30198b42d5&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So far there are two evidences of this issue with crash on attempt to free rqbd entry&lt;/p&gt;</comment>
                            <comment id="391384" author="gerrit" created="Wed, 1 Nov 2023 18:52:39 +0000"  >&lt;p&gt;&quot;Mikhail Pershin &amp;lt;mpershin@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/52931&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/52931&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-17249&quot; title=&quot;protect scp_rqbd_idle list operations in ptlrpc_service_purge_all()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-17249&quot;&gt;&lt;del&gt;LU-17249&lt;/del&gt;&lt;/a&gt; ptlrpc: protect scp_rqbd_idle list operations&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 78f739c7fa03c1b3d429c69b39afbcb324302bcc&lt;/p&gt;</comment>
                            <comment id="392322" author="gerrit" created="Wed, 8 Nov 2023 22:07:07 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/52931/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/52931/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-17249&quot; title=&quot;protect scp_rqbd_idle list operations in ptlrpc_service_purge_all()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-17249&quot;&gt;&lt;del&gt;LU-17249&lt;/del&gt;&lt;/a&gt; ptlrpc: protect scp_rqbd_idle list operations&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 9ba375983d498690f5caa29c289c137470a76505&lt;/p&gt;</comment>
                            <comment id="392451" author="pjones" created="Thu, 9 Nov 2023 13:37:01 +0000"  >&lt;p&gt;Landed for 2.16&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|i0409z:</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>