<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:22:32 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-15933] client hang with NULL pointer dereference, at iov_iter_advance</title>
                <link>https://jira.whamcloud.com/browse/LU-15933</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;lustre clients hang with following call trace.&lt;/p&gt;

&lt;p&gt;&#160; &#160; &#160; BUG: kernel NULL pointer dereference, address: 0000000000000008&lt;br/&gt;
&#160; &#160; &#160; RIP: 0010:iov_iter_advance+0x1ef/0x260&lt;br/&gt;
&#160; &#160; &#160; Call Trace:&lt;br/&gt;
&#160; &#160; &#160; &#160;vvp_io_rw_lock+0x240/0x7e0 &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160;vvp_io_read_lock+0x3f/0xd0 &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160;cl_io_lock+0x62/0x2d0 &lt;span class=&quot;error&quot;&gt;&amp;#91;obdclass&amp;#93;&lt;/span&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160;cl_io_loop+0x8b/0x1f0 &lt;span class=&quot;error&quot;&gt;&amp;#91;obdclass&amp;#93;&lt;/span&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160;ll_file_io_generic+0x436/0xd60 &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160;ll_file_read_iter+0x42c/0x5d0 &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
&#160; &#160; &#160; &#160;generic_file_splice_read+0xf7/0x1a0&lt;br/&gt;
&#160; &#160; &#160; &#160;do_splice_to+0x81/0xb0&lt;br/&gt;
&#160; &#160; &#160; &#160;splice_direct_to_actor+0xbc/0x230&lt;br/&gt;
&#160; &#160; &#160; &#160;? opipe_prep.part.0+0xb0/0xb0&lt;br/&gt;
&#160; &#160; &#160; &#160;do_splice_direct+0x89/0xd0&lt;br/&gt;
&#160; &#160; &#160; &#160;do_sendfile+0x303/0x450&lt;/p&gt;</description>
                <environment>client kernel version &amp;gt;= 5.13</environment>
        <key id="70711">LU-15933</key>
            <summary>client hang with NULL pointer dereference, at iov_iter_advance</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="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="bobijam">Zhenyu Xu</assignee>
                                    <reporter username="bobijam">Zhenyu Xu</reporter>
                        <labels>
                    </labels>
                <created>Sat, 11 Jun 2022 17:14:37 +0000</created>
                <updated>Tue, 4 Oct 2022 19:38:39 +0000</updated>
                            <resolved>Wed, 6 Jul 2022 13:09:23 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                    <fixVersion>Lustre 2.15.1</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="337551" author="bobijam" created="Sat, 11 Jun 2022 17:15:16 +0000"  >&lt;p&gt;the iov_iter type compile testing is&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;
208 LB_CHECK_COMPILE([&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; iov_iter has member type],                                 
 209 iov_iter_has_type_member, [                                                     
 210         #include &amp;lt;linux/uio.h&amp;gt;                                                  
 211 ],[                                                                             
 212         struct iov_iter iter = { .type = ITER_KVEC };                           
 213         (void)iter;                                                             
 214 ],[                                                                             
 215         AC_DEFINE(HAVE_IOV_ITER_HAS_TYPE_MEMBER, 1,                             
 216                 [&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; iov_iter has member type])                                  
 217 ])                                           
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;while kernel commit 8cd54c1c84803 (v5.13) has changed the member -&amp;gt;type to -&amp;gt;iter_type, and I think that&apos;s caused the mess.&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;
 struct iov_iter {
-       /*
-        * Bit 0 is the read/write bit, set &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; we&apos;re writing.
-        * Bit 1 is the BVEC_FLAG_NO_REF bit, set &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; type is a bvec and
-        * the caller isn&apos;t expecting to drop a page reference when done.
-        */
-       unsigned &lt;span class=&quot;code-object&quot;&gt;int&lt;/span&gt; type;
+       u8 iter_type;
+       bool data_source;
        size_t iov_offset;
        size_t count;
        union {&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="337552" author="gerrit" created="Sat, 11 Jun 2022 17:25:24 +0000"  >&lt;p&gt;&quot;Bobi Jam &amp;lt;bobijam@hotmail.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/47601&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47601&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15933&quot; title=&quot;client hang with NULL pointer dereference, at iov_iter_advance&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15933&quot;&gt;&lt;del&gt;LU-15933&lt;/del&gt;&lt;/a&gt; libcfs: fix configure check for iov_iter member&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: c0cf40a3d0846ca5c0a72dd2022e5b9c7f46c52a&lt;/p&gt;</comment>
                            <comment id="338633" author="gerrit" created="Fri, 24 Jun 2022 06:38:12 +0000"  >&lt;p&gt;&quot;Jian Yu &amp;lt;yujian@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/47756&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47756&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15933&quot; title=&quot;client hang with NULL pointer dereference, at iov_iter_advance&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15933&quot;&gt;&lt;del&gt;LU-15933&lt;/del&gt;&lt;/a&gt; libcfs: fix configure check for iov_iter member&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_15&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: d48d845e3c906a2090c6409926360362bd922c55&lt;/p&gt;</comment>
                            <comment id="338843" author="gerrit" created="Mon, 27 Jun 2022 04:38:08 +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/47601/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47601/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15933&quot; title=&quot;client hang with NULL pointer dereference, at iov_iter_advance&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15933&quot;&gt;&lt;del&gt;LU-15933&lt;/del&gt;&lt;/a&gt; libcfs: fix configure check for iov_iter member&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: ae53ef4a6ab0491c01b723322f45c931e22f6140&lt;/p&gt;</comment>
                            <comment id="339681" author="gerrit" created="Wed, 6 Jul 2022 03:39:59 +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/47756/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47756/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15933&quot; title=&quot;client hang with NULL pointer dereference, at iov_iter_advance&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15933&quot;&gt;&lt;del&gt;LU-15933&lt;/del&gt;&lt;/a&gt; libcfs: fix configure check for iov_iter member&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_15&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 8a2a5f3ffea68b0866e983302ccab152b12207c9&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </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|i02rx3:</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>