<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:29:33 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-16734] kernel warning in key_task_permission() leading to stuck resources</title>
                <link>https://jira.whamcloud.com/browse/LU-16734</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;On Ubuntu 22.04, when some keyring resources are getting cleared, a warning message is displayed instead, and the clearing is not successful, leading into a misbehaving filesystem and regular stack traces being printed in logs.&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;
WARNING: CPU: 44 PID: 305468 at security/keys/permission.c:35 key_task_permission+0xa5/0x150
CPU: 44 PID: 305468 Comm: kworker/u448:1 Tainted: P &#160; &#160; &#160; &#160;W &#160;OE &#160; &#160; 5.15.0-69-&lt;span class=&quot;code-keyword&quot;&gt;generic&lt;/span&gt; #76-Ubuntu
Workqueue: ptlrpc_pinger ptlrpc_pinger_main [ptlrpc]
RIP: 0010:key_task_permission+0xa5/0x150
Call Trace:
&#160;&amp;lt;TASK&amp;gt;
&#160;lookup_user_key+0xf4/0x700
&#160;? key_validate+0x50/0x50
&#160;request_key_unlink+0x230/0x330 [ptlrpc_gss]
&#160;gss_sec_lookup_ctx_kr+0xa0c/0xd0c [ptlrpc_gss]
&#160;get_my_ctx+0x5f/0x140 [ptlrpc]
&#160;sptlrpc_req_get_ctx+0x15a/0x280 [ptlrpc]
&#160;ptlrpc_request_bufs_pack+0x283/0x6a0 [ptlrpc]
&#160;ptlrpc_request_alloc_pack+0x3a/0x70 [ptlrpc]
&#160;ptlrpc_pinger_main+0x893/0xab0 [ptlrpc]
&#160;process_one_work+0x228/0x3d0
&#160;worker_thread+0x53/0x420
&#160;? process_one_work+0x3d0/0x3d0
&#160;kthread+0x127/0x150
&#160;? set_kthread_struct+0x50/0x50
&#160;ret_from_fork+0x1f/0x30
&#160;&amp;lt;/TASK&amp;gt;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;This is because in Linux 5.8, in commit 8c0637e950d68933a67f7438f779d79b049b5e5c, lookup_user_key() API was changed and requires different parameters.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="75551">LU-16734</key>
            <summary>kernel warning in key_task_permission() leading to stuck resources</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="adegremont_nvda">Aurelien Degremont</assignee>
                                    <reporter username="adegremont_nvda">Aurelien Degremont</reporter>
                        <labels>
                    </labels>
                <created>Thu, 13 Apr 2023 09:38:36 +0000</created>
                <updated>Tue, 30 May 2023 10:09:03 +0000</updated>
                            <resolved>Sat, 22 Apr 2023 18:19:59 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="369347" author="gerrit" created="Thu, 13 Apr 2023 09:52:06 +0000"  >&lt;p&gt;&quot;Aurelien Degremont &amp;lt;adegremont@nvidia.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/50623&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/50623&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16734&quot; title=&quot;kernel warning in key_task_permission() leading to stuck resources&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16734&quot;&gt;&lt;del&gt;LU-16734&lt;/del&gt;&lt;/a&gt; gss: fix lookup_user_key() bug&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 4e98d42e68191b8078779432ec2870baa0477431&lt;/p&gt;</comment>
                            <comment id="369410" author="adilger" created="Thu, 13 Apr 2023 16:07:22 +0000"  >&lt;p&gt;API changes that don&apos;t break the compilation are evil, and this is really a bug in the original patch, but hindsight is 20/20.&#160;&lt;/p&gt;</comment>
                            <comment id="369413" author="JIRAUSER18483" created="Thu, 13 Apr 2023 16:40:37 +0000"  >&lt;p&gt;&amp;gt;&#160; API changes that don&apos;t break the compilation are evil, and this is really a bug in the original patch, but hindsight is 20/20.&lt;/p&gt;

&lt;p&gt;Actually it would have break compilation, but we have&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;
&lt;span class=&quot;code-comment&quot;&gt;/* from Linux security/keys/internal.h: */&lt;/span&gt;
#ifndef KEY_LOOKUP_FOR_UNLINK
#define KEY_LOOKUP_FOR_UNLINK &#160; &#160; &#160; &#160; &#160; 0x04
#endif&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;in the code that masked it. We have that because this define would have require us to include an internal header.&lt;/p&gt;</comment>
                            <comment id="370248" author="gerrit" created="Sat, 22 Apr 2023 17:32:13 +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/+/50623/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/50623/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16734&quot; title=&quot;kernel warning in key_task_permission() leading to stuck resources&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16734&quot;&gt;&lt;del&gt;LU-16734&lt;/del&gt;&lt;/a&gt; gss: fix lookup_user_key() bug&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 013a6711503045b9e7154b8ff786ee85cdc3ecdd&lt;/p&gt;</comment>
                            <comment id="370255" author="pjones" created="Sat, 22 Apr 2023 18:19:59 +0000"  >&lt;p&gt;Landed for 2.16&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|i03isn:</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>