<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:27:40 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-2724] Null pointer dereference in lprocfs_rd_import()</title>
                <link>https://jira.whamcloud.com/browse/LU-2724</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Looks like obd_svc_stats was null when I cat /proc/fs/lustre/mgc/MGC192.168.56.101&amp;#64;tcp/import:&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;BUG: unable to handle kernel NULL pointer dereference at 0000000000000010
IP: [&amp;lt;ffffffffa083e50e&amp;gt;] lprocfs_rd_import+0x38e/0x6e0 [obdclass]
PGD 7a329067 PUD 7a32a067 PMD 0 
Oops: 0000 [#1] SMP DEBUG_PAGEALLOC
last sysfs file: /sys/devices/system/cpu/possible
CPU 0 
Modules linked in: lustre(U) ofd(U) osp(U) lod(U) ost(U) mdt(U) osd_ldiskfs(U) fsfilt_ldiskfs(U) ldiskfs(U) mdd(U) mgs(U) lquota(U) obdecho(U) mgc(U) lov(U) osc(U) mdc(U) lmv(U) fid(U) fld(U) ptlrpc(U) obdclass(U) lvfs(U) ksocklnd(U) lnet(U) libcfs(U) exportfs jbd sha512_generic sha256_generic ipv6 zfs(P)(U) zcommon(P)(U) znvpair(P)(U) zavl(P)(U) zunicode(P)(U) spl(U) zlib_deflate ppdev parport_pc parport e1000 i2c_piix4 i2c_core snd_intel8x0 snd_ac97_codec ac97_bus snd_seq snd_seq_device snd_pcm snd_timer snd soundcore snd_page_alloc sg ext4 mbcache jbd2 sd_mod crc_t10dif sr_mod cdrom ahci pata_acpi ata_generic ata_piix dm_mirror dm_region_hash dm_log dm_mod [last unloaded: libcfs]

Pid: 3942, comm: cat Tainted: P           ---------------    2.6.32-279.5.1.el6.4d65293 #1 innotek GmbH VirtualBox/VirtualBox
RIP: 0010:[&amp;lt;ffffffffa083e50e&amp;gt;]  [&amp;lt;ffffffffa083e50e&amp;gt;] lprocfs_rd_import+0x38e/0x6e0 [obdclass]
RSP: 0018:ffff88007a325d98  EFLAGS: 00010246
RAX: ffff88001dc5c0b8 RBX: ffff88007910f800 RCX: 0000000000000001
RDX: ffff88007a325dd8 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff88007a325e38 R08: 00000000fffffffb R09: 00000000fffffffe
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 0000000000000170 R14: 0000000000000000 R15: 0000000000001000
FS:  00007f9913c27700(0000) GS:ffff880002200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000010 CR3: 000000007a327000 CR4: 00000000000006f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process cat (pid: 3942, threadinfo ffff88007a324000, task ffff880022d62040)
Stack:
 ffff880000000000 0000000000000000 ffff880000000001 ffff88007910f800
&amp;lt;d&amp;gt; ffff88001dc5c5e0 ffff88007910fa68 ffff88001dc5c0b8 ffff88007a317000
&amp;lt;d&amp;gt; 0000000000000000 ffffffff81abf940 0000000000000000 fffffffffffffffb
Call Trace:
 [&amp;lt;ffffffff8115c52a&amp;gt;] ? alloc_pages_current+0xaa/0x110
 [&amp;lt;ffffffffa083a263&amp;gt;] lprocfs_fops_read+0xf3/0x1f0 [obdclass]
 [&amp;lt;ffffffff811e0f5e&amp;gt;] proc_reg_read+0x7e/0xc0
 [&amp;lt;ffffffff8117bc25&amp;gt;] vfs_read+0xb5/0x1a0
 [&amp;lt;ffffffff810d6cb2&amp;gt;] ? audit_syscall_entry+0x272/0x2a0
 [&amp;lt;ffffffff8117bd61&amp;gt;] sys_read+0x51/0x90
 [&amp;lt;ffffffff8100b0f2&amp;gt;] system_call_fastpath+0x16/0x1b
Code: f6 31 c0 44 89 34 24 e8 71 ef a3 e0 46 8d 2c 28 48 8b 45 88 66 ff 00 66 66 90 48 8b 45 90 48 8d 55 a0 31 f6 48 8b b8 e8 19 00 00 &amp;lt;4c&amp;gt; 8b 67 10 e8 09 f8 ff ff 48 8b 4d a0 48 85 c9 0f 85 cc 01 00 
RIP  [&amp;lt;ffffffffa083e50e&amp;gt;] lprocfs_rd_import+0x38e/0x6e0 [obdclass]
 RSP &amp;lt;ffff88007a325d98&amp;gt;
CR2: 0000000000000010
---[ end trace 130c592d1674d0c5 ]---
Kernel panic - not syncing: Fatal exception
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The line of code in question was:&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;        header = &amp;amp;obd-&amp;gt;obd_svc_stats-&amp;gt;ls_cnt_header[PTLRPC_REQWAIT_CNTR];
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="17385">LU-2724</key>
            <summary>Null pointer dereference in lprocfs_rd_import()</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <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="jhammond">John Hammond</assignee>
                                    <reporter username="liwei">Li Wei</reporter>
                        <labels>
                            <label>LB</label>
                    </labels>
                <created>Thu, 31 Jan 2013 11:39:12 +0000</created>
                <updated>Fri, 8 Mar 2013 15:55:08 +0000</updated>
                            <resolved>Fri, 8 Mar 2013 15:55:08 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                                    <fixVersion>Lustre 2.4.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="51539" author="liwei" created="Thu, 31 Jan 2013 11:42:47 +0000"  >&lt;p&gt;It was master (ca461f0 &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1282&quot; title=&quot;Lustre 2.1 client memory usage at mount is excessive&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1282&quot;&gt;&lt;del&gt;LU-1282&lt;/del&gt;&lt;/a&gt; lprocfs: reduce lprocfs stats memory use) plus my local changes, which do not seem to cause the issue.&lt;/p&gt;</comment>
                            <comment id="51559" author="jhammond" created="Thu, 31 Jan 2013 14:36:41 +0000"  >&lt;p&gt;Please see &lt;a href=&quot;http://review.whamcloud.com/5234&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/5234&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="53626" author="pjones" created="Fri, 8 Mar 2013 15:55:08 +0000"  >&lt;p&gt;Landed for 2.4&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|hzvibz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6620</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>