<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:29:10 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-16688] Client crash due to an assertion in lite_lib.c:3394</title>
                <link>https://jira.whamcloud.com/browse/LU-16688</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;PoC:&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-object&quot;&gt;int&lt;/span&gt; fd = open(&lt;span class=&quot;code-quote&quot;&gt;&quot;.&quot;&lt;/span&gt;, 0, 0);
ioctl(fd, 0xc00866a4, 0);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Stack trace:&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;LustreError: 54949:0:(llite_lib.c:3394:ll_obd_statfs()) ASSERTION( data ) failed: 
LustreError: 54949:0:(llite_lib.c:3394:ll_obd_statfs()) LBUG
Kernel panic - not syncing: LBUG
CPU: 0 PID: 54949 Comm: syz-executor Tainted: G           O      5.11.22+ #46
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.13.0-1ubuntu1.1 04/01/2014
Call Trace:
 dump_stack+0x57/0x6a
 panic+0x151/0x312
 lbug_with_loc.cold+0x2c/0x2c [libcfs]
 ll_obd_statfs+0x116b/0x1850 [lustre]
 ll_dir_ioctl+0x60ce/0x1aa90 [lustre]
 __x64_sys_ioctl+0x83/0xb0
 do_syscall_64+0x33/0x40
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7ffff7389aad
Code: 02 b8 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 &amp;lt;48&amp;gt; 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffff40bf7b8 EFLAGS: 00000212 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007ffff73e041f RCX: 00007ffff7389aad
RDX: 0000000000000000 RSI: 00000000c00866a4 RDI: 0000000000000003
RBP: 00007ffff40bf810 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000212 R12: 00007fffffffe0de
R13: 00007fffffffe0df R14: 00007fffffffe180 R15: 00007ffff40bfd80
Kernel Offset: disabled
---[ end Kernel panic - not syncing: LBUG ]---
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>Three server nodes and one client. Kernel version: Ubuntu-5.4.0-90.101&lt;br/&gt;
&lt;br/&gt;
# MGS&lt;br/&gt;
mkfs.lustre --fsname=lustre --mgs /dev/vda&lt;br/&gt;
mount -t lustre /dev/vda /root/lustre-server&lt;br/&gt;
&lt;br/&gt;
# MDS&lt;br/&gt;
mkfs.lustre --fsname=lustre --index=0 --mgsnode=$&lt;a href=&apos;mailto:start_ip@tcp0&apos;&gt;start_ip@tcp0&lt;/a&gt; --mdt /dev/vda&lt;br/&gt;
mount -t lustre /dev/vda /root/lustre-server&lt;br/&gt;
&lt;br/&gt;
# OSS&lt;br/&gt;
mkfs.lustre --ost --fsname=lustre --index=1 --reformat --mgsnode=$&lt;a href=&apos;mailto:start_ip@tcp0&apos;&gt;start_ip@tcp0&lt;/a&gt; /dev/vda&lt;br/&gt;
mount -t lustre /dev/vda /root/lustre-server&lt;br/&gt;
&lt;br/&gt;
# Client&lt;br/&gt;
mount -t lustre $&lt;a href=&apos;mailto:start_ip@tcp0&apos;&gt;start_ip@tcp0&lt;/a&gt;:/lustre /root/lustre-client </environment>
        <key id="75359">LU-16688</key>
            <summary>Client crash due to an assertion in lite_lib.c:3394</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="tao.lyu">Tao Lyu</reporter>
                        <labels>
                    </labels>
                <created>Thu, 30 Mar 2023 18:44:32 +0000</created>
                <updated>Wed, 16 Aug 2023 07:14:51 +0000</updated>
                            <resolved>Wed, 16 Aug 2023 06:53:46 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="367970" author="adilger" created="Fri, 31 Mar 2023 09:30:34 +0000"  >&lt;p&gt;Hello &lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=tao.lyu&quot; class=&quot;user-hover&quot; rel=&quot;tao.lyu&quot;&gt;tao.lyu&lt;/a&gt;, what version of Lustre is this running?&lt;/p&gt;

&lt;p&gt;I don&apos;t see an &lt;tt&gt;LASSERT(data)&lt;/tt&gt; in &lt;tt&gt;ll_obd_statfs()&lt;/tt&gt;, nor anywhere in the client code, though it is possible that it is hidden behind a macro somewhere. &lt;/p&gt;

&lt;p&gt;Is this running the patches from &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16634&quot; title=&quot;Null pointer dereference in lustre_set_wire_obdo&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16634&quot;&gt;&lt;del&gt;LU-16634&lt;/del&gt;&lt;/a&gt;?  Those should preferentially be used for your future testing, so that we don&apos;t get duplicate bug reports for the same NULL-argument ioctl calls.&lt;/p&gt;</comment>
                            <comment id="367999" author="gerrit" created="Fri, 31 Mar 2023 14:01:24 +0000"  >&lt;p&gt;&lt;del&gt;&quot;Zhenyu Xu &amp;lt;bobijam@hotmail.com&amp;gt;&quot; uploaded a new patch:&lt;/del&gt; &lt;a href=&quot;https://review.whamcloud.com/c/fs/lustre-release/+/50484&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/c/fs/lustre-release/+/50484&lt;/a&gt;&lt;br/&gt;
&lt;del&gt;Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16688&quot; title=&quot;Client crash due to an assertion in lite_lib.c:3394&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16688&quot;&gt;&lt;del&gt;LU-16688&lt;/del&gt;&lt;/a&gt; llite: avoid free empty pointer&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Project: fs/lustre-release&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Branch: master&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Current Patch Set: 1&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Commit: 17d346e669fddb03aba60c9fc31fb75c46dd893c&lt;/del&gt;&lt;/p&gt;</comment>
                            <comment id="382603" author="bobijam" created="Wed, 16 Aug 2023 06:53:46 +0000"  >&lt;p&gt;fixed in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-16890&quot; title=&quot;allow OBD_FREE() to ignore NULL pointers&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-16890&quot;&gt;&lt;del&gt;LU-16890&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="75016">LU-16634</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="76526">LU-16890</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|i03hov:</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>