<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:16:58 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-8372] Suspicious dereference of pointer &apos;vma-&gt;vm_file&apos; in ll_vm_{open|close}</title>
                <link>https://jira.whamcloud.com/browse/LU-8372</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&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-keyword&quot;&gt;static&lt;/span&gt; void ll_vm_open(struct vm_area_struct * vma)
{
            struct inode *inode    = file_inode(vma-&amp;gt;vm_file); &amp;lt;== &lt;span class=&quot;code-quote&quot;&gt;&apos;vma-&amp;gt;vm_file&apos;&lt;/span&gt; is dereferenced by being passed as argument 1 to function &lt;span class=&quot;code-quote&quot;&gt;&apos;file_inode&apos;&lt;/span&gt;.
            struct vvp_object *vob = cl_inode2vvp(inode);

            ENTRY;
            LASSERT(vma-&amp;gt;vm_file); &amp;lt;== &lt;span class=&quot;code-quote&quot;&gt;&apos;vma-&amp;gt;vm_file&apos;&lt;/span&gt; is checked &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; NULL.
            LASSERT(atomic_read(&amp;amp;vob-&amp;gt;vob_mmap_cnt) &amp;gt;= 0);
            atomic_inc(&amp;amp;vob-&amp;gt;vob_mmap_cnt);
            EXIT;
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;So, LASSERT(vma-&amp;gt;vm_file) is useless because if it&apos;s NULL it will crash in file_inode(vma-&amp;gt;vm_file).&lt;/p&gt;</description>
                <environment></environment>
        <key id="37988">LU-8372</key>
            <summary>Suspicious dereference of pointer &apos;vma-&gt;vm_file&apos; in ll_vm_{open|close}</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="dmiter">Dmitry Eremin</assignee>
                                    <reporter username="dmiter">Dmitry Eremin</reporter>
                        <labels>
                            <label>kw</label>
                    </labels>
                <created>Wed, 6 Jul 2016 11:28:56 +0000</created>
                <updated>Wed, 13 Jul 2016 17:55:34 +0000</updated>
                            <resolved>Wed, 13 Jul 2016 17:55:34 +0000</resolved>
                                                    <fixVersion>Lustre 2.9.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="157787" author="gerrit" created="Wed, 6 Jul 2016 12:11:42 +0000"  >&lt;p&gt;Dmitry Eremin (dmitry.eremin@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/21171&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/21171&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8372&quot; title=&quot;Suspicious dereference of pointer &amp;#39;vma-&amp;gt;vm_file&amp;#39; in ll_vm_{open|close}&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8372&quot;&gt;&lt;del&gt;LU-8372&lt;/del&gt;&lt;/a&gt; llite: Fix suspicious dereference of pointer &apos;vma-&amp;gt;vm_file&apos;&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: df7244f5f9cdaa9be7cfe13ff2d01a5e31c58613&lt;/p&gt;</comment>
                            <comment id="158442" author="gerrit" created="Tue, 12 Jul 2016 00:00:12 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/21171/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/21171/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8372&quot; title=&quot;Suspicious dereference of pointer &amp;#39;vma-&amp;gt;vm_file&amp;#39; in ll_vm_{open|close}&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8372&quot;&gt;&lt;del&gt;LU-8372&lt;/del&gt;&lt;/a&gt; llite: Fix suspicious dereference of pointer &apos;vma-&amp;gt;vm_file&apos;&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 9d8469694738288fcd246a1e9f22c47918a32c58&lt;/p&gt;</comment>
                            <comment id="158650" author="jgmitter" created="Wed, 13 Jul 2016 17:55:34 +0000"  >&lt;p&gt;Landed to master for 2.9.0&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|hzygo7:</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>