<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:13:46 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-8001] Null pointer dereference in nm_member_reclassify_nodemap</title>
                <link>https://jira.whamcloud.com/browse/LU-8001</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Hit this in my testing today (receovery-small test 111):&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;&amp;lt;1&amp;gt;[231830.373084] BUG: unable to handle kernel NULL pointer dereference at 0000000000000018
&amp;lt;1&amp;gt;[231830.374591] IP: [&amp;lt;ffffffffa08966a1&amp;gt;] nm_member_reclassify_nodemap+0x71/0x130 [ptlrpc]
&amp;lt;4&amp;gt;[231830.376120] PGD 414cc067 PUD 2ba8f067 PMD 0 
&amp;lt;4&amp;gt;[231830.376513] Oops: 0000 [#1] SMP DEBUG_PAGEALLOC
&amp;lt;4&amp;gt;[231830.376513] last sysfs file: /sys/devices/virtual/block/loop0/queue/scheduler
&amp;lt;4&amp;gt;[231830.376513] CPU 1 
&amp;lt;4&amp;gt;[231830.376513] Modules linked in: lustre ofd osp lod ost mdt mdd mgs osd_ldiskfs ldiskfs lquota lfsck obdecho mgc lov osc mdc lmv fid fld ptlrpc obdclass ksocklnd lnet libcfs zfs(P) zcommon(P) znvpair(P) zavl(P) zunicode(P) spl zlib_deflate exportfs jbd sha512_generic sha256_generic ext4 jbd2 mbcache virtio_balloon virtio_console i2c_piix4 i2c_core virtio_blk virtio_net virtio_pci virtio_ring virtio pata_acpi ata_generic ata_piix dm_mirror dm_region_hash dm_log dm_mod nfs lockd fscache auth_rpcgss nfs_acl sunrpc be2iscsi bnx2i cnic uio cxgb3i libcxgbi ipv6 cxgb3 mdio libiscsi_tcp qla4xxx iscsi_boot_sysfs libiscsi scsi_transport_iscsi [last unloaded: libcfs]
&amp;lt;4&amp;gt;[231830.376513] 
&amp;lt;4&amp;gt;[231830.376513] Pid: 31113, comm: mount.lustre Tainted: P           -- ------------    2.6.32-rhe6.7-debug #1 Bochs Bochs
&amp;lt;4&amp;gt;[231830.376513] RIP: 0010:[&amp;lt;ffffffffa08966a1&amp;gt;]  [&amp;lt;ffffffffa08966a1&amp;gt;] nm_member_reclassify_nodemap+0x71/0x130 [ptlrpc]
&amp;lt;4&amp;gt;[231830.376513] RSP: 0018:ffff8800825cb628  EFLAGS: 00010286
&amp;lt;4&amp;gt;[231830.376513] RAX: 0000000000000000 RBX: ffff8800338337f0 RCX: 0000000000000000
&amp;lt;4&amp;gt;[231830.376513] RDX: 0000000000000000 RSI: 0000000000000071 RDI: 0000000000000246
&amp;lt;4&amp;gt;[231830.376513] RBP: ffff8800825cb678 R08: 0000000000000ed9 R09: ffff880000000000
&amp;lt;4&amp;gt;[231830.376513] R10: 0000000000000001 R11: 0000000087654321 R12: ffff880033833b58
&amp;lt;4&amp;gt;[231830.376513] R13: ffff88008e29d7f0 R14: ffff880095cf4ef0 R15: ffff880095cf4fa8
&amp;lt;4&amp;gt;[231830.376513] FS:  00007f35b8cbf7a0(0000) GS:ffff880006280000(0000) knlGS:0000000000000000
&amp;lt;4&amp;gt;[231830.376513] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
&amp;lt;4&amp;gt;[231830.376513] CR2: 0000000000000018 CR3: 000000007d53f000 CR4: 00000000000006e0
&amp;lt;4&amp;gt;[231830.376513] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
&amp;lt;4&amp;gt;[231830.376513] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
&amp;lt;4&amp;gt;[231830.376513] &lt;span class=&quot;code-object&quot;&gt;Process&lt;/span&gt; mount.lustre (pid: 31113, threadinfo ffff8800825c8000, task ffff880023028080)
&amp;lt;4&amp;gt;[231830.376513] Stack:
&amp;lt;4&amp;gt;[231830.376513]  0000000000000010 ffffffffa09173c0 ffff880095cf4f18 ffff880095cf4f60
&amp;lt;4&amp;gt;[231830.376513] &amp;lt;d&amp;gt; ffff8800292eae88 ffff880095cf4ef0 ffff880095cf4f18 ffff880095cf4f18
&amp;lt;4&amp;gt;[231830.376513] &amp;lt;d&amp;gt; ffff8800292eae88 ffff880095cf4ef0 ffff8800825cb698 ffffffffa0891efa
&amp;lt;4&amp;gt;[231830.376513] Call Trace:
&amp;lt;4&amp;gt;[231830.376513]  [&amp;lt;ffffffffa0891efa&amp;gt;] nodemap_putref+0x7a/0x2f0 [ptlrpc]
&amp;lt;4&amp;gt;[231830.376513]  [&amp;lt;ffffffffa08923aa&amp;gt;] nodemap_config_cleanup+0xda/0x120 [ptlrpc]
&amp;lt;4&amp;gt;[231830.376513]  [&amp;lt;ffffffffa0892406&amp;gt;] nodemap_config_dealloc+0x16/0xf0 [ptlrpc]
&amp;lt;4&amp;gt;[231830.376513]  [&amp;lt;ffffffffa089264e&amp;gt;] nodemap_config_set_active+0x14e/0x270 [ptlrpc]
&amp;lt;4&amp;gt;[231830.376513]  [&amp;lt;ffffffffa0897b76&amp;gt;] nm_config_file_register+0x966/0xf50 [ptlrpc]
&amp;lt;4&amp;gt;[231830.376513]  [&amp;lt;ffffffffa0c0892d&amp;gt;] ? iam_container_setup+0xad/0x110 [osd_ldiskfs]
&amp;lt;4&amp;gt;[231830.376513]  [&amp;lt;ffffffffa0c20000&amp;gt;] ? osd_inode_iteration+0xa30/0xd80 [osd_ldiskfs]
&amp;lt;4&amp;gt;[231830.376513]  [&amp;lt;ffffffffa0721043&amp;gt;] mgs_fs_setup+0x2f3/0x6d0 [mgs]
&amp;lt;4&amp;gt;[231830.376513]  [&amp;lt;ffffffffa072028f&amp;gt;] mgs_init0+0xe1f/0x16e0 [mgs]
&amp;lt;4&amp;gt;[231830.376513]  [&amp;lt;ffffffffa0719689&amp;gt;] ? mgs_type_start+0x19/0x20 [mgs]
&amp;lt;4&amp;gt;[231830.376513]  [&amp;lt;ffffffffa0720be8&amp;gt;] mgs_device_alloc+0x98/0x140 [mgs]
&amp;lt;4&amp;gt;[231830.376513]  [&amp;lt;ffffffffa058c37f&amp;gt;] obd_setup+0x1bf/0x290 [obdclass]
&amp;lt;4&amp;gt;[231830.376513]  [&amp;lt;ffffffffa058c6a8&amp;gt;] class_setup+0x258/0x930 [obdclass]
&amp;lt;4&amp;gt;[231830.376513]  [&amp;lt;ffffffffa0592e91&amp;gt;] class_process_config+0x1151/0x23f0 [obdclass]
&amp;lt;4&amp;gt;[231830.376513]  [&amp;lt;ffffffffa0427fb1&amp;gt;] ? libcfs_debug_msg+0x41/0x50 [libcfs]
&amp;lt;4&amp;gt;[231830.376513]  [&amp;lt;ffffffffa059afcf&amp;gt;] do_lcfg+0x2cf/0x8e0 [obdclass]
&amp;lt;4&amp;gt;[231830.376513]  [&amp;lt;ffffffffa059b674&amp;gt;] lustre_start_simple+0x94/0x200 [obdclass]
&amp;lt;4&amp;gt;[231830.376513]  [&amp;lt;ffffffffa04247f8&amp;gt;] ? libcfs_log_return+0x28/0x40 [libcfs]
&amp;lt;4&amp;gt;[231830.376513]  [&amp;lt;ffffffffa05ca1d7&amp;gt;] server_fill_super+0xc37/0x106c [obdclass]
&amp;lt;4&amp;gt;[231830.376513]  [&amp;lt;ffffffffa0427fb1&amp;gt;] ? libcfs_debug_msg+0x41/0x50 [libcfs]
&amp;lt;4&amp;gt;[231830.376513]  [&amp;lt;ffffffffa059d558&amp;gt;] lustre_fill_super+0x328/0x8a0 [obdclass]
&amp;lt;4&amp;gt;[231830.376513]  [&amp;lt;ffffffffa059d230&amp;gt;] ? lustre_fill_super+0x0/0x8a0 [obdclass]
&amp;lt;4&amp;gt;[231830.376513]  [&amp;lt;ffffffff811965cf&amp;gt;] get_sb_nodev+0x5f/0xa0
&amp;lt;4&amp;gt;[231830.376513]  [&amp;lt;ffffffffa0597505&amp;gt;] lustre_get_sb+0x25/0x30 [obdclass]
&amp;lt;4&amp;gt;[231830.376513]  [&amp;lt;ffffffff81195bfb&amp;gt;] vfs_kern_mount+0x7b/0x1b0
&amp;lt;4&amp;gt;[231830.376513]  [&amp;lt;ffffffff81195da2&amp;gt;] do_kern_mount+0x52/0x130
&amp;lt;4&amp;gt;[231830.376513]  [&amp;lt;ffffffff811b7ceb&amp;gt;] do_mount+0x2fb/0x920
&amp;lt;4&amp;gt;[231830.376513]  [&amp;lt;ffffffff811b83a0&amp;gt;] sys_mount+0x90/0xe0
&amp;lt;4&amp;gt;[231830.376513]  [&amp;lt;ffffffff8100b112&amp;gt;] system_call_fastpath+0x16/0x1b
&amp;lt;4&amp;gt;[231830.376513] Code: 03 00 00 0f 84 bf 00 00 00 49 81 ed 68 03 00 00 eb 12 0f 1f 84 00 00 00 00 00 4c 89 eb 4c 8d a8 98 fc ff ff 48 8b 83 10 01 00 00 &amp;lt;48&amp;gt; 8b 78 18 e8 96 b7 ff ff 49 39 c6 74 70 48 8b 8b 68 03 00 00 
&amp;lt;1&amp;gt;[231830.376513] RIP  [&amp;lt;ffffffffa08966a1&amp;gt;] nm_member_reclassify_nodemap+0x71/0x130 [ptlrpc]
&amp;lt;4&amp;gt;[231830.376513]  RSP &amp;lt;ffff8800825cb628&amp;gt;
&amp;lt;4&amp;gt;[231830.376513] CR2: 0000000000000018
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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;(gdb) l *(nm_member_reclassify_nodemap+0x71)
0xd76d1 is in nm_member_reclassify_nodemap (/home/green/git/lustre-release/lustre/ptlrpc/nodemap_member.c:153).
148		list_for_each_entry_safe(exp, tmp, &amp;amp;nodemap-&amp;gt;nm_member_list,
149					 exp_target_data.ted_nodemap_member) {
150			lnet_nid_t nid = exp-&amp;gt;exp_connection-&amp;gt;c_peer.nid;
151	
152			&lt;span class=&quot;code-comment&quot;&gt;/* nodemap_classify_nid requires nmc_range_tree_lock */&lt;/span&gt;
153			new_nodemap = nodemap_classify_nid(nid);
154			&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (new_nodemap != nodemap) {
155				/* don&apos;t use member_del because ted_nodemap
156				 * should never be &lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;
157				 */
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I guess the nid could be NULL after all&lt;/p&gt;</description>
                <environment></environment>
        <key id="36019">LU-8001</key>
            <summary>Null pointer dereference in nm_member_reclassify_nodemap</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="kit.westneat">Kit Westneat</assignee>
                                    <reporter username="green">Oleg Drokin</reporter>
                        <labels>
                    </labels>
                <created>Mon, 11 Apr 2016 02:35:43 +0000</created>
                <updated>Mon, 25 Jul 2016 17:35:35 +0000</updated>
                            <resolved>Wed, 27 Apr 2016 16:01:08 +0000</resolved>
                                                    <fixVersion>Lustre 2.9.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="149039" author="gerrit" created="Fri, 15 Apr 2016 03:11:43 +0000"  >&lt;p&gt;Kit Westneat (kit.westneat@gmail.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/19595&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/19595&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8001&quot; title=&quot;Null pointer dereference in nm_member_reclassify_nodemap&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8001&quot;&gt;&lt;del&gt;LU-8001&lt;/del&gt;&lt;/a&gt; nodemap: fix null deref when reclassifying&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 5ecc58393ce2c4008941dbf4370e9bc81dbbb548&lt;/p&gt;</comment>
                            <comment id="149848" author="gerrit" created="Fri, 22 Apr 2016 15:47:38 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/19595/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/19595/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8001&quot; title=&quot;Null pointer dereference in nm_member_reclassify_nodemap&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8001&quot;&gt;&lt;del&gt;LU-8001&lt;/del&gt;&lt;/a&gt; nodemap: fix null deref when reclassifying&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 475576e74ec315e316fe6528c97c437511b18872&lt;/p&gt;</comment>
                            <comment id="150377" author="jgmitter" created="Wed, 27 Apr 2016 16:01:08 +0000"  >&lt;p&gt;Landed to master for 2.9.0&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <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|hzy7ev:</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>