<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:35:48 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-3658] No user input verification in LL_IOC_HSM_REQUEST of ll_dir_ioctl()</title>
                <link>https://jira.whamcloud.com/browse/LU-3658</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;the code snippet is as follows:&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;/* We don&apos;t know the &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt; size yet; copy the fixed-size part */&lt;/span&gt;
                &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (copy_from_user(hur, (void *)arg, sizeof(*hur))) {
                        OBD_FREE_PTR(hur);
                        RETURN(-EFAULT);
                }

                &lt;span class=&quot;code-comment&quot;&gt;/* Compute the whole struct size */&lt;/span&gt;
                totalsize = hur_len(hur);
                OBD_FREE_PTR(hur);
                OBD_ALLOC_LARGE(hur, totalsize);
                &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (hur == NULL)
                        RETURN(-ENOMEM);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;So if the user space program passes in a malicious data with huge hur_len, the kernel will be in trouble. We need to make sure the itemcount is reasonable.&lt;/p&gt;
</description>
                <environment></environment>
        <key id="20074">LU-3658</key>
            <summary>No user input verification in LL_IOC_HSM_REQUEST of ll_dir_ioctl()</summary>
                <type id="7" iconUrl="https://jira.whamcloud.com/images/icons/issuetypes/task_agile.png">Technical task</type>
                            <parent id="20020">LU-3647</parent>
                                    <priority id="1" iconUrl="https://jira.whamcloud.com/images/icons/priorities/blocker.svg">Blocker</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="jay">Jinshan Xiong</assignee>
                                    <reporter username="jay">Jinshan Xiong</reporter>
                        <labels>
                            <label>HSM</label>
                    </labels>
                <created>Mon, 29 Jul 2013 17:19:43 +0000</created>
                <updated>Mon, 21 Oct 2013 20:28:49 +0000</updated>
                            <resolved>Sat, 17 Aug 2013 05:21:57 +0000</resolved>
                                    <version>Lustre 2.5.0</version>
                                    <fixVersion>Lustre 2.5.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="64182" author="jay" created="Tue, 13 Aug 2013 16:00:07 +0000"  >&lt;p&gt;patch is at &lt;a href=&quot;http://review.whamcloud.com/7243&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/7243&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="69448" author="adilger" created="Mon, 21 Oct 2013 20:28:49 +0000"  >&lt;p&gt;Problem was fixed in the final version of the &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3647&quot; title=&quot;HSM _not only_ small fixes and to do list goes here&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3647&quot;&gt;&lt;del&gt;LU-3647&lt;/del&gt;&lt;/a&gt; patch that was landed.&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|hzvwkv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9435</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>