<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:25:01 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-9307]  NULL pointer deref in lov_delete_composite on oom</title>
                <link>https://jira.whamcloud.com/browse/LU-9307</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;It appears that when lov_init_composite cannot allocate memory and bails out,&lt;br/&gt;
lov_delete_composite is then called, but does not check the allocation succeeded and crashes like this:&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;[ 7267.735836] SLAB: Unable to allocate memory on node 0 (gfp=0x50)
[ 7267.736754]   cache: kmalloc-192, object size: 4096, order: 1
[ 7267.748259]   node 0: slabs: 63074/63074, objs: 63074/63074, free: 0
[ 7267.749119] BUG: unable to handle kernel NULL pointer dereference at 0000000000000018
[ 7267.750623] IP: [&amp;lt;ffffffffa045e708&amp;gt;] lov_delete_composite+0x128/0x560 [lov]
[ 7267.751469] PGD 486e2067 PUD 8a26d067 PMD 0 
[ 7267.752253] Oops: 0000 [#1] SMP DEBUG_PAGEALLOC
[ 7267.753031] Modules linked in: lustre(OE) ofd(OE) osp(OE) lod(OE) ost(OE) mdt(OE) mdd(OE) mgs(OE) osd_ldiskfs(OE) ldiskfs(OE) lquota(OE) lfsck(OE) obdecho(OE) mgc(OE) lov(OE) osc(OE) mdc(OE) lmv(OE) fid(OE) fld(OE) ptlrpc_gss(OE) ptlrpc(OE) obdclass(OE) ksocklnd(OE) lnet(OE) libcfs(OE) brd ext4 loop mbcache jbd2 ata_generic pata_acpi syscopyarea sysfillrect sysimgblt ttm drm_kms_helper ata_piix drm i2c_piix4 pcspkr serio_raw virtio_console libata virtio_balloon virtio_blk i2c_core floppy nfsd ip_tables rpcsec_gss_krb5 [last unloaded: libcfs]
[ 7267.760139] CPU: 3 PID: 24900 Comm: createmany Tainted: G        W  OE  ------------   3.10.0-debug-quota #2
[ 7267.761860] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 7267.762842] task: ffff880028c88900 ti: ffff88000da60000 task.ti: ffff88000da60000
[ 7267.764676] RIP: 0010:[&amp;lt;ffffffffa045e708&amp;gt;]  [&amp;lt;ffffffffa045e708&amp;gt;] lov_delete_composite+0x128/0x560 [lov]
[ 7267.766599] RSP: 0000:ffff88000da637b8  EFLAGS: 00010246
[ 7267.767573] RAX: ffff880028c88900 RBX: 0000000000000000 RCX: 0000000000000000
[ 7267.768491] RDX: 0000000000000000 RSI: ffff880063e58f80 RDI: ffff880085e54ed0
[ 7267.769318] RBP: ffff88000da63868 R08: 0000000000000000 R09: 0000000000000000
[ 7267.770139] R10: 0000000000000000 R11: 000000000000000b R12: ffff88009e48bf68
[ 7267.771692] R13: ffff88009e48bf68 R14: 0000000000000018 R15: 0000000000000018
[ 7267.772519] FS:  00007f5ec45d9740(0000) GS:ffff8800bc780000(0000) knlGS:0000000000000000
[ 7267.773994] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 7267.774781] CR2: 0000000000000018 CR3: 00000000534aa000 CR4: 00000000000006e0
[ 7267.775611] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 7267.776442] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 7267.777268] Stack:
[ 7267.777951]  000000006b0f9c81 ffff880028c88900 ffff880028c88900 ffff880085e54ed0
[ 7267.779462]  0000000000000001 0000000000000000 ffff88000da63848 0000000000000246
[ 7267.780966]  ffffffffa045cb85 0000805000000000 ffff88009e48bf68 00000001a045feda
[ 7267.782476] Call Trace:
[ 7267.783194]  [&amp;lt;ffffffffa045cb85&amp;gt;] ? lov_object_delete+0x55/0x2a0 [lov]
[ 7267.784014]  [&amp;lt;ffffffffa045cbab&amp;gt;] lov_object_delete+0x7b/0x2a0 [lov]
[ 7267.785007]  [&amp;lt;ffffffffa051a1cd&amp;gt;] lu_object_free.isra.30+0x9d/0x1a0 [obdclass]
[ 7267.786873]  [&amp;lt;ffffffffa051cf67&amp;gt;] lu_object_alloc+0x1b7/0x310 [obdclass]
[ 7267.787924]  [&amp;lt;ffffffffa051d198&amp;gt;] lu_object_find_try+0xd8/0x2b0 [obdclass]
[ 7267.788950]  [&amp;lt;ffffffff81706537&amp;gt;] ? _raw_spin_unlock+0x27/0x40
[ 7267.789972]  [&amp;lt;ffffffffa051d41c&amp;gt;] lu_object_find_at+0xac/0xe0 [obdclass]
[ 7267.791025]  [&amp;lt;ffffffffa0522595&amp;gt;] ? cl_env_get+0x65/0x2b0 [obdclass]
[ 7267.792054]  [&amp;lt;ffffffffa051dd3f&amp;gt;] lu_object_find_slice+0x1f/0x90 [obdclass]
[ 7267.793104]  [&amp;lt;ffffffffa0521945&amp;gt;] cl_object_find+0x45/0x70 [obdclass]
[ 7267.793908]  [&amp;lt;ffffffffa0f5cc0d&amp;gt;] cl_file_inode_init+0x1fd/0x310 [lustre]
[ 7267.794547]  [&amp;lt;ffffffffa0f34fd5&amp;gt;] ll_update_inode+0x335/0x620 [lustre]
[ 7267.795129]  [&amp;lt;ffffffffa0287ee7&amp;gt;] ? libcfs_debug_msg+0x57/0x80 [libcfs]
[ 7267.795723]  [&amp;lt;ffffffffa0f35327&amp;gt;] ll_read_inode2+0x67/0x420 [lustre]
[ 7267.796341]  [&amp;lt;ffffffffa0f43a4b&amp;gt;] ll_iget+0xab/0x320 [lustre]
[ 7267.796999]  [&amp;lt;ffffffffa0f37355&amp;gt;] ll_prep_inode+0x235/0xc90 [lustre]
[ 7267.797809]  [&amp;lt;ffffffffa0287ee7&amp;gt;] ? libcfs_debug_msg+0x57/0x80 [libcfs]
[ 7267.798553]  [&amp;lt;ffffffffa0f46707&amp;gt;] ll_atomic_open+0x717/0x11d0 [lustre]
[ 7267.799126]  [&amp;lt;ffffffff811fd571&amp;gt;] do_last+0xa21/0x12b0
[ 7267.800067]  [&amp;lt;ffffffff811fdec2&amp;gt;] path_openat+0xc2/0x4a0
[ 7267.801794]  [&amp;lt;ffffffff811ff6bb&amp;gt;] do_filp_open+0x4b/0xb0
[ 7267.802645]  [&amp;lt;ffffffff81706537&amp;gt;] ? _raw_spin_unlock+0x27/0x40
[ 7267.803214]  [&amp;lt;ffffffff8120d167&amp;gt;] ? __alloc_fd+0xa7/0x130
[ 7267.803775]  [&amp;lt;ffffffff811ec573&amp;gt;] do_sys_open+0xf3/0x1f0
[ 7267.804328]  [&amp;lt;ffffffff811ec68e&amp;gt;] SyS_open+0x1e/0x20
[ 7267.804871]  [&amp;lt;ffffffff8170fdc9&amp;gt;] system_call_fastpath+0x16/0x1b
[ 7267.805446] Code: a0 c7 05 4c 1f 02 00 b5 01 00 00 48 c7 05 4d 1f 02 00 00 00 00 00 c7 05 3b 1f 02 00 01 00 00 00 e8 8e 97 e2 ff 66 0f 1f 44 00 00 &amp;lt;49&amp;gt; 8b 07 48 85 c0 0f 84 f4 00 00 00 41 8b 57 f8 85 d2 0f 84 e8 
[ 7267.829728] RIP  [&amp;lt;ffffffffa045e708&amp;gt;] lov_delete_composite+0x128/0x560 [lov]
[ 7267.831699]  RSP &amp;lt;ffff88000da637b8&amp;gt;
[ 7267.832669] CR2: 0000000000000018
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Allocated (attempted to be allocated) in:&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;[ 7267.666940]  [&amp;lt;ffffffff810a4090&amp;gt;] ? wake_up_atomic_t+0x30/0x30
[ 7267.667752]  [&amp;lt;ffffffff8117c555&amp;gt;] __alloc_pages_nodemask+0xa85/0xca0
[ 7267.668586]  [&amp;lt;ffffffff811c86b3&amp;gt;] kmem_getpages+0x63/0x1d0
[ 7267.669385]  [&amp;lt;ffffffff811cc178&amp;gt;] fallback_alloc+0x198/0x270
[ 7267.670179]  [&amp;lt;ffffffff811cbfab&amp;gt;] ____cache_alloc_node+0x18b/0x1c0
[ 7267.670993]  [&amp;lt;ffffffff811cd276&amp;gt;] __kmalloc+0x3a6/0x660
[ 7267.671796]  [&amp;lt;ffffffffa045feda&amp;gt;] ? lov_init_composite+0x9a/0x370 [lov]
[ 7267.672617]  [&amp;lt;ffffffffa045feda&amp;gt;] lov_init_composite+0x9a/0x370 [lov]
[ 7267.673485]  [&amp;lt;ffffffffa045d29e&amp;gt;] lov_object_init+0x13e/0x310 [lov]
[ 7267.674338]  [&amp;lt;ffffffffa051ce8f&amp;gt;] lu_object_alloc+0xdf/0x310 [obdclass]
[ 7267.675178]  [&amp;lt;ffffffffa051d198&amp;gt;] lu_object_find_try+0xd8/0x2b0 [obdclass]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="45365">LU-9307</key>
            <summary> NULL pointer deref in lov_delete_composite on oom</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="green">Oleg Drokin</reporter>
                        <labels>
                    </labels>
                <created>Sun, 9 Apr 2017 07:01:09 +0000</created>
                <updated>Fri, 21 Apr 2017 18:05:49 +0000</updated>
                            <resolved>Fri, 21 Apr 2017 18:05:49 +0000</resolved>
                                                    <fixVersion>Lustre 2.10.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="191290" author="gerrit" created="Sun, 9 Apr 2017 09:18:58 +0000"  >&lt;p&gt;Bobi Jam (bobijam@hotmail.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/26456&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/26456&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9307&quot; title=&quot; NULL pointer deref in lov_delete_composite on oom&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9307&quot;&gt;&lt;del&gt;LU-9307&lt;/del&gt;&lt;/a&gt; lov: NULL pointer deref in lov_delete_composite&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 7a714a9dd612bb287a3aa425cefd4959799385d6&lt;/p&gt;</comment>
                            <comment id="191292" author="gerrit" created="Sun, 9 Apr 2017 09:32:09 +0000"  >&lt;p&gt;Bobi Jam (bobijam@hotmail.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/26458&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/26458&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9307&quot; title=&quot; NULL pointer deref in lov_delete_composite on oom&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9307&quot;&gt;&lt;del&gt;LU-9307&lt;/del&gt;&lt;/a&gt; lov: NULL pointer deref in lov_delete_composite&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: pfl&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 913b93edbf4bc81a855f9e4d8122b15970e5f872&lt;/p&gt;</comment>
                            <comment id="192185" author="gerrit" created="Sat, 15 Apr 2017 20:08:17 +0000"  >&lt;p&gt;Jinshan Xiong (jinshan.xiong@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/26458/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/26458/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9307&quot; title=&quot; NULL pointer deref in lov_delete_composite on oom&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9307&quot;&gt;&lt;del&gt;LU-9307&lt;/del&gt;&lt;/a&gt; lov: NULL pointer deref in lov_delete_composite&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: pfl&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: d8701abb9b576ae295fd4cb861edcbbd36c103a3&lt;/p&gt;</comment>
                            <comment id="192621" author="gerrit" created="Wed, 19 Apr 2017 04:45:18 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/26456/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/26456/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9307&quot; title=&quot; NULL pointer deref in lov_delete_composite on oom&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9307&quot;&gt;&lt;del&gt;LU-9307&lt;/del&gt;&lt;/a&gt; lov: NULL pointer deref in lov_delete_composite&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 2be85b2b93dc2e1c8a8fa809a821ea5cfa36ac39&lt;/p&gt;</comment>
                            <comment id="193063" author="pjones" created="Fri, 21 Apr 2017 18:05:49 +0000"  >&lt;p&gt;Landed for 2.10&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|hzz9mv:</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>