<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:28:33 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-16617] A null-pointer dereference in osc_request.c:3358:function osc_iocontro</title>
                <link>https://jira.whamcloud.com/browse/LU-16617</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;A null-pointer dereference is detected in osc_request.c:3358 (function osc_iocontrol) and then crashes the kernel.&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;Strace&lt;br/&gt;
open(&quot;.&quot;, O_RDONLY)                     = 3&lt;br/&gt;
ioctl(3, _IOC(_IOC_WRITE, 0x66, 0x85, 0x8), 0) = ?&lt;br/&gt;
+++ killed by SIGSEGV +++&lt;br/&gt;
Segmentation fault&lt;/li&gt;
&lt;/ol&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="74934">LU-16617</key>
            <summary>A null-pointer dereference in osc_request.c:3358:function osc_iocontro</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="3">Duplicate</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="tao.lyu">Tao Lyu</reporter>
                        <labels>
                    </labels>
                <created>Fri, 3 Mar 2023 13:33:50 +0000</created>
                <updated>Thu, 11 Jan 2024 12:05:03 +0000</updated>
                            <resolved>Thu, 11 Jan 2024 12:05:03 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="366165" author="JIRAUSER18484" created="Thu, 16 Mar 2023 18:39:04 +0000"  >&lt;p&gt;Concrete information:&lt;/p&gt;

&lt;p&gt; Lustre commit: 9ddcdee2c8b9ec14986b93cf3180d946cd4869f7 &lt;/p&gt;

&lt;p&gt;crash stack trace:&lt;/p&gt;

&lt;p&gt;root@dfs:~# [  142.000320] kasan: CONFIG_KASAN_INLINE enabled&lt;br/&gt;
[  142.000869] kasan: GPF could be caused by NULL-ptr deref or user memory access&lt;br/&gt;
[  142.001675] general protection fault: 0000 &lt;a href=&quot;#1&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;1&lt;/a&gt; SMP KASAN NOPTI&lt;br/&gt;
[  142.002347] CPU: 0 PID: 520 Comm: test Tainted: G           O      5.4.148+ #7&lt;br/&gt;
[  142.003143] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.13.0-1ubuntu1.1 04/01/2014&lt;br/&gt;
[  142.004159] RIP: 0010:osc_iocontrol+0x2f7/0xe80 &lt;span class=&quot;error&quot;&gt;&amp;#91;osc&amp;#93;&lt;/span&gt;&lt;br/&gt;
[  142.004719] Code: 08 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 42 f9 b5 ce 49 8d bc 24 08 02 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 &amp;lt;80&amp;gt; 3c 02 00 0f 85 6f 0a 00 00 49 8d bf d8 05 00 00 49 8b b4 24 08&lt;br/&gt;
[  142.006938] RSP: 0018:ffff88824a88f6f0 EFLAGS: 00010206&lt;br/&gt;
[  142.007560] RAX: dffffc0000000000 RBX: ffffffffc0352780 RCX: ffffffffc0dbde1e&lt;br/&gt;
[  142.008362] RDX: 0000000000000041 RSI: 00000000c0086815 RDI: 0000000000000208&lt;br/&gt;
[  142.009128] RBP: ffff88824db93800 R08: ffff88824b3b9ec0 R09: 0000000000000000&lt;br/&gt;
[  142.009943] R10: ffff88824a88f940 R11: ffff88824a88fd34 R12: 0000000000000000&lt;br/&gt;
[  142.010754] R13: ffff88824db938e8 R14: 0000000040086685 R15: ffff88823d8336d8&lt;br/&gt;
[  142.011582] FS:  00007ffff7fc0540(0000) GS:ffff888257400000(0000) knlGS:0000000000000000&lt;br/&gt;
[  142.012552] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033&lt;br/&gt;
[  142.013215] CR2: 0000000020000100 CR3: 000000024aea6005 CR4: 0000000000760ef0&lt;br/&gt;
[  142.014046] PKRU: 55555554&lt;br/&gt;
[  142.014363] Call Trace:&lt;br/&gt;
[  142.015213]  lov_iocontrol+0x4ba/0x5de0 &lt;span class=&quot;error&quot;&gt;&amp;#91;lov&amp;#93;&lt;/span&gt;&lt;br/&gt;
[  142.021510]  ll_dir_ioctl+0x2834/0x17cc0 &lt;span class=&quot;error&quot;&gt;&amp;#91;lustre&amp;#93;&lt;/span&gt;&lt;br/&gt;
[  142.048571]  do_vfs_ioctl+0x405/0x660&lt;br/&gt;
[  142.049029]  ksys_ioctl+0x5e/0x90&lt;br/&gt;
[  142.049444]  __x64_sys_ioctl+0x16/0x20&lt;br/&gt;
[  142.049904]  do_syscall_64+0x48/0x140&lt;br/&gt;
[  142.050360]  entry_SYSCALL_64_after_hwframe+0x44/0xa9&lt;br/&gt;
[  142.051005] RIP: 0033:0x7ffff7ee870d&lt;br/&gt;
[  142.051448] Code: 00 c3 66 2e 0f 1f 84 00 00 00 00 00 90 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 8b 0d 53 f7 0c 00 f7 d8 64 89 01 48&lt;br/&gt;
[  142.053593] RSP: 002b:00007fffffffe348 EFLAGS: 00000213 ORIG_RAX: 0000000000000010&lt;br/&gt;
[  142.054686] RAX: ffffffffffffffda RBX: 0000555555555290 RCX: 00007ffff7ee870d&lt;br/&gt;
[  142.055484] RDX: 0000000000000000 RSI: 0000000040086685 RDI: 0000000000000003&lt;br/&gt;
[  142.056285] RBP: 00007fffffffe360 R08: 00007fffffffe450 R09: 00007fffffffe450&lt;br/&gt;
[  142.057102] R10: 0000000000000000 R11: 0000000000000213 R12: 0000555555555080&lt;br/&gt;
[  142.057909] R13: 00007fffffffe450 R14: 0000000000000000 R15: 0000000000000000&lt;br/&gt;
[  142.058715] Modules linked in: mgc(O) lustre(O) lmv(O) mdc(O) fid(O) lov(O) fld(O) osc(O) ksocklnd(O) ptlrpc(O) obdclass(O) lnet(O) libcfs(O)&lt;br/&gt;
[  142.060313] --&lt;del&gt;[ end trace 9c88039dbe2366d5 ]&lt;/del&gt;--&lt;br/&gt;
[  142.060919] RIP: 0010:osc_iocontrol+0x2f7/0xe80 &lt;span class=&quot;error&quot;&gt;&amp;#91;osc&amp;#93;&lt;/span&gt;&lt;br/&gt;
[  142.061569] Code: 08 5b 5d 41 5c 41 5d 41 5e 41 5f c3 e8 42 f9 b5 ce 49 8d bc 24 08 02 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 &amp;lt;80&amp;gt; 3c 02 00 0f 85 6f 0a 00 00 49 8d bf d8 05 00 00 49 8b b4 24 08&lt;br/&gt;
[  142.064004] RSP: 0018:ffff88824a88f6f0 EFLAGS: 00010206&lt;br/&gt;
[  142.064817] RAX: dffffc0000000000 RBX: ffffffffc0352780 RCX: ffffffffc0dbde1e&lt;br/&gt;
[  142.065573] RDX: 0000000000000041 RSI: 00000000c0086815 RDI: 0000000000000208&lt;br/&gt;
[  142.066227] RBP: ffff88824db93800 R08: ffff88824b3b9ec0 R09: 0000000000000000&lt;br/&gt;
[  142.066887] R10: ffff88824a88f940 R11: ffff88824a88fd34 R12: 0000000000000000&lt;br/&gt;
[  142.067513] R13: ffff88824db938e8 R14: 0000000040086685 R15: ffff88823d8336d8&lt;br/&gt;
[  142.068139] FS:  00007ffff7fc0540(0000) GS:ffff888257400000(0000) knlGS:0000000000000000&lt;br/&gt;
[  142.068921] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033&lt;br/&gt;
[  142.069568] CR2: 0000000020000100 CR3: 000000024aea6005 CR4: 0000000000760ef0&lt;br/&gt;
[  142.070358] PKRU: 55555554&lt;/p&gt;</comment>
                            <comment id="366194" author="adilger" created="Thu, 16 Mar 2023 22:55:34 +0000"  >&lt;p&gt;This will likely also be handled by the &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; patch.&lt;/p&gt;</comment>
                            <comment id="366222" author="JIRAUSER18484" created="Fri, 17 Mar 2023 07:24:56 +0000"  >&lt;p&gt;Okay, thanks!&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="75016">LU-16634</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="74932">LU-16616</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="48342" name="poc.c" size="791" author="tao.lyu" created="Fri, 3 Mar 2023 13:33:45 +0000"/>
                    </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|i03fmf:</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>