<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:15:26 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-8192] Unsafe access to keyrings in gss_kt_instantiate</title>
                <link>https://jira.whamcloud.com/browse/LU-8192</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Apparently you cannot just fetch a keyring like:&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;rc = key_link(key_tgcred(current)-&amp;gt;session_keyring, key);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This is unsafe and supposedly not even accessible, because sparse warns it&apos;s in wrong address space, also in&lt;br/&gt;
request_key_unlink():&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;                ring = key_get(rcu_dereference(key_tgcred(tsk)
                                               -&amp;gt;session_keyring));
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The errors I get are:&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;lustre/ptlrpc/gss/gss_keyring.c:1308 warning: incorrect type in argument 1 (different address spaces) expected &lt;span class=&quot;code-quote&quot;&gt;&quot;struct key *keyring&quot;&lt;/span&gt; got &lt;span class=&quot;code-quote&quot;&gt;&quot;struct key [noderef] &amp;lt;asn:4&amp;gt;*&lt;span class=&quot;code-keyword&quot;&gt;const&lt;/span&gt; [noderef] &amp;lt;asn:4&amp;gt;session_keyring&quot;&lt;/span&gt;
lustre/ptlrpc/gss/gss_keyring.c:695 warning: &lt;span class=&quot;code-keyword&quot;&gt;cast&lt;/span&gt; removes address space of expression
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="37134">LU-8192</key>
            <summary>Unsafe access to keyrings in gss_kt_instantiate</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</priority>
                        <status id="1" iconUrl="https://jira.whamcloud.com/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="jfilizetti">Jeremy Filizetti</assignee>
                                    <reporter username="green">Oleg Drokin</reporter>
                        <labels>
                            <label>patch</label>
                            <label>x</label>
                    </labels>
                <created>Sun, 22 May 2016 23:45:11 +0000</created>
                <updated>Sun, 30 Jan 2022 09:33:28 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="153344" author="jgmitter" created="Tue, 24 May 2016 15:00:54 +0000"  >&lt;p&gt;Hi Jeremy,&lt;/p&gt;

&lt;p&gt;Can you look at this code?  Looks like it was recently added by IU.&lt;/p&gt;

&lt;p&gt;Thanks.&lt;br/&gt;
Joe&lt;/p&gt;</comment>
                            <comment id="189753" author="gerrit" created="Mon, 27 Mar 2017 15:40:24 +0000"  >&lt;p&gt;Kit Westneat (kit.westneat@gmail.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/26205&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/26205&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8192&quot; title=&quot;Unsafe access to keyrings in gss_kt_instantiate&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8192&quot;&gt;LU-8192&lt;/a&gt; nodemap: modify lctl to allow non-contiguous nm ranges&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 77e53e7967aa77e2d60f31135b4bdc1d686c1a47&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|hzycin:</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>