<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:00:50 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-6510] mdt_handle_idmap unsafe access to req-&gt;rq_export</title>
                <link>https://jira.whamcloud.com/browse/LU-6510</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;smatch highlighted this unsafe usage:&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;int mdt_handle_idmap(struct tgt_session_info *tsi)
{
        struct ptlrpc_request   *req = tgt_ses_req(tsi);
        struct mdt_device       *mdt = mdt_exp2dev(req-&amp;gt;rq_export);
        struct mdt_export_data *med;
        struct ptlrpc_user_desc *pud = req-&amp;gt;rq_user_desc;
        struct md_identity *identity;
        __u32 opc;
        int rc = 0;
        ENTRY;

        if (!req-&amp;gt;rq_export)
                RETURN(0);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Probably need to move the mdt variable assignment to after this check.&lt;/p&gt;</description>
                <environment></environment>
        <key id="29701">LU-6510</key>
            <summary>mdt_handle_idmap unsafe access to req-&gt;rq_export</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="3">Duplicate</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="green">Oleg Drokin</reporter>
                        <labels>
                            <label>easy</label>
                            <label>hackathon2017</label>
                    </labels>
                <created>Mon, 27 Apr 2015 03:14:04 +0000</created>
                <updated>Wed, 7 Jun 2017 19:37:26 +0000</updated>
                            <resolved>Tue, 30 May 2017 22:30:34 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="149060" author="gerrit" created="Fri, 15 Apr 2016 09:34:44 +0000"  >&lt;p&gt;Parinay Kondekar (parinay.kondekar@seagate.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/19601&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/19601&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6510&quot; title=&quot;mdt_handle_idmap unsafe access to req-&amp;gt;rq_export&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6510&quot;&gt;&lt;del&gt;LU-6510&lt;/del&gt;&lt;/a&gt; mdt: mdt_handle_idmap unsafe access to req-&amp;gt;rq_export&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 4237bc6dc978a5b3e33d160a334c37076269770c&lt;/p&gt;</comment>
                            <comment id="197609" author="sbuisson" created="Tue, 30 May 2017 21:31:51 +0000"  >&lt;p&gt;File containing the faulty code has been removed by patch:&lt;br/&gt;
&lt;a href=&quot;https://review.whamcloud.com/19789&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/19789&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So this ticket can be closed.&lt;/p&gt;</comment>
                            <comment id="197618" author="pjones" created="Tue, 30 May 2017 22:30:34 +0000"  >&lt;p&gt;ok - thanks Sebastien&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="31405">LU-6971</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|hzxbpb:</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>