<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:04:43 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-13845] Kernel crash on: lfs quota -u $(( (1&lt;&lt;32) -1))</title>
                <link>https://jira.whamcloud.com/browse/LU-13845</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The following commands cause systematically a crash on the mds:&lt;/p&gt;

&lt;p&gt;&#160;&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;
lfs quota -u|g|p $(( (1&amp;lt;&amp;lt;32) -1)) ... 
lfs set_quota -u|g|p $(( (1&amp;lt;&amp;lt;32) -1))...&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The uid/gid value &quot;(uit_t) -1&quot; is a special value use for example as default value by chown(). The valid range of UID/GID is in range of 0 to 0xFFFFFFFE.&lt;br/&gt;
 Ref: &lt;a href=&quot;https://systemd.io/UIDS-GIDS/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://systemd.io/UIDS-GIDS/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;So &quot;lfs set_quota and &quot;lfs quota&quot; should consider 0xFFFFFFFF as an invalid quota id.&lt;/p&gt;

&lt;p&gt;Here my crash console message:&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;
[18075.268361] LustreError: Skipped 7 previous similar messages
[19623.238824] BUG: unable to handle kernel NULL pointer dereference at 000000000000007e
[19623.239412] IP: [&amp;lt;ffffffffba4bdb8d&amp;gt;] dquot_get_dqblk+0x6d/0x1f0
[19623.240130] PGD 80000000d6a70067 PUD d6a71067 PMD 0
[19623.240633] Oops: 0000 [#1] SMP 
[19623.241189] Modules linked in: dm_flakey osp(OE) mdd(OE) lod(OE) mdt(OE) lfsck(OE) mgs(OE) mgc(OE) osd_ldiskfs(OE) lquota(OE) fid(OE) fld(OE) ksocklnd(OE) ptlrpc(OE) obdclass(OE) lnet(OE) ldiskfs(OE) mbcache jbd2 libcfs(OE) rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd grace fscache sunrpc ppdev iosf_mbi crc32_pclmul ghash_clmulni_intel snd_intel8x0 snd_ac97_codec ac97_bus snd_seq aesni_intel snd_seq_device lrw snd_pcm gf128mul glue_helper ablk_helper cryptd snd_timer sg snd pcspkr vboxguest(OE) soundcore i2c_piix4 parport_pc video parport ip_tables xfs libcrc32c sd_mod sr_mod cdrom crc_t10dif crct10dif_generic ata_generic pata_acpi vmwgfx drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm ahci drm ata_piix libahci crct10dif_pclmul crct10dif_common libata e1000 crc32c_intel
[19623.245675] serio_raw drm_panel_orientation_quirks dm_mirror dm_region_hash dm_log dm_mod [last unloaded: dm_flakey]
[19623.246811] CPU: 1 PID: 11998 Comm: lquota_wb_lustr Kdump: loaded Tainted: G OE ------------ 3.10.0-1127.10.1.el7_lustre_ajmes.x86_64 #1
[19623.248020] Hardware name: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006
[19623.248674] task: ffff90bc594541c0 ti: ffff90bbae1ac000 task.ti: ffff90bbae1ac000
[19623.249400] RIP: 0010:[&amp;lt;ffffffffba4bdb8d&amp;gt;] [&amp;lt;ffffffffba4bdb8d&amp;gt;] dquot_get_dqblk+0x6d/0x1f0
[19623.250018] RSP: 0018:ffff90bbae1afcd0 EFLAGS: 00010246
[19623.250558] RAX: 0000000000000000 RBX: ffff90bb44b0dac8 RCX: 0000000000000000
[19623.251190] RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffff90bb44b0db38
[19623.251719] RBP: ffff90bbae1afce0 R08: ffff90bb9fc54000 R09: 0000000000000001
[19623.252364] R10: ffff90bc5fc9ff50 R11: ffffe6a5846571c0 R12: ffffffffffffffea
[19623.252942] R13: ffff90bb4103e200 R14: 00000000ffffffff R15: ffff90bb9fc5b000
[19623.253460] FS: 0000000000000000(0000) GS:ffff90bc5fc80000(0000) knlGS:0000000000000000
[19623.254049] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[19623.254555] CR2: 000000000000007e CR3: 00000000d8290000 CR4: 00000000000606e0
[19623.255146] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[19623.255638] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[19623.256120] Call Trace:
[19623.256597] [&amp;lt;ffffffffc108a945&amp;gt;] osd_acct_index_lookup+0x235/0x480 [osd_ldiskfs]
[19623.257148] [&amp;lt;ffffffffc0fe071f&amp;gt;] lquota_disk_read+0x12f/0x390 [lquota]
[19623.257621] [&amp;lt;ffffffffc0fe852a&amp;gt;] qsd_refresh_usage+0x6a/0x2f0 [lquota]
[19623.258142] [&amp;lt;ffffffffc0fe8970&amp;gt;] qsd_lqe_read+0x1c0/0x5f0 [lquota]
[19623.258592] [&amp;lt;ffffffffc0fe31e3&amp;gt;] lqe_locate_find+0x243/0x840 [lquota]
[19623.259087] [&amp;lt;ffffffffc0ff0563&amp;gt;] qsd_upd_thread+0x853/0xc50 [lquota]
[19623.259529] [&amp;lt;ffffffffc0fefd10&amp;gt;] ? qsd_upd_add+0xe0/0xe0 [lquota]
[19623.260011] [&amp;lt;ffffffffba2c6691&amp;gt;] kthread+0xd1/0xe0
[19623.260439] [&amp;lt;ffffffffba486ac0&amp;gt;] ? end_buffer_async_read+0x130/0x130
[19623.260919] [&amp;lt;ffffffffba2c65c0&amp;gt;] ? insert_kthread_work+0x40/0x40
[19623.261415] [&amp;lt;ffffffffba992d37&amp;gt;] ret_from_fork_nospec_begin+0x21/0x21
[19623.261885] [&amp;lt;ffffffffba2c65c0&amp;gt;] ? insert_kthread_work+0x40/0x40
[19623.262292] Code: 01 00 00 89 d1 31 c0 c1 e9 03 f6 c2 04 f3 48 ab 0f 85 20 01 00 00 f6 c2 02 0f 85 ff 00 00 00 83 e2 01 0f 85 e6 00 00 00 c6 03 01 &amp;lt;41&amp;gt; 83 bc 24 94 00 00 00 01 19 c0 83 e0 fd 83 c0 04 88 43 01 49
[19623.263625] RIP [&amp;lt;ffffffffba4bdb8d&amp;gt;] dquot_get_dqblk+0x6d/0x1f0
[19623.264099] RSP &amp;lt;ffff90bbae1afcd0&amp;gt;
[19623.264485] CR2: 000000000000007e&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;I don&apos;t think that I saw this crash when I developed the patch for the&#160;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12549&quot; title=&quot;Lustre project PID 32-bit overflow&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12549&quot;&gt;&lt;del&gt;LU-12549&lt;/del&gt;&lt;/a&gt; , I was on an another environnement.&lt;/p&gt;</description>
                <environment></environment>
        <key id="60222">LU-13845</key>
            <summary>Kernel crash on: lfs quota -u $(( (1&lt;&lt;32) -1))</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="eaujames">Etienne Aujames</assignee>
                                    <reporter username="eaujames">Etienne Aujames</reporter>
                        <labels>
                    </labels>
                <created>Fri, 31 Jul 2020 16:58:23 +0000</created>
                <updated>Tue, 13 Jul 2021 15:47:06 +0000</updated>
                            <resolved>Mon, 19 Oct 2020 04:05:49 +0000</resolved>
                                    <version>Lustre 2.13.0</version>
                    <version>Lustre 2.12.5</version>
                                    <fixVersion>Lustre 2.14.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="276529" author="gerrit" created="Fri, 31 Jul 2020 18:59:42 +0000"  >&lt;p&gt;Etienne AUJAMES (eaujames@ddn.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/39559&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/39559&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13845&quot; title=&quot;Kernel crash on: lfs quota -u $(( (1&amp;lt;&amp;lt;32) -1))&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13845&quot;&gt;&lt;del&gt;LU-13845&lt;/del&gt;&lt;/a&gt; utils: Quota id 0xFFFFFFFF is invalid&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 194c0fc37dced0ae4c17dabf958180a9aa577c71&lt;/p&gt;</comment>
                            <comment id="279669" author="eaujames" created="Wed, 16 Sep 2020 07:05:59 +0000"  >&lt;p&gt;Set the priority to &apos;Major &apos; to match the priority of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13956&quot; title=&quot;crash - kernel NULL pointer deference when setting project id to 4294967295&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13956&quot;&gt;&lt;del&gt;LU-13956&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="282528" author="gerrit" created="Mon, 19 Oct 2020 03:13:11 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/39559/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/39559/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-13845&quot; title=&quot;Kernel crash on: lfs quota -u $(( (1&amp;lt;&amp;lt;32) -1))&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-13845&quot;&gt;&lt;del&gt;LU-13845&lt;/del&gt;&lt;/a&gt; utils: Quota id 0xFFFFFFFF is invalid&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 7b5c1f1404c32a922915742287371f2d137c6392&lt;/p&gt;</comment>
                            <comment id="282549" author="pjones" created="Mon, 19 Oct 2020 04:05:49 +0000"  >&lt;p&gt;Landed for 2.14&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="60752">LU-13956</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="56408">LU-12549</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="64566">LU-14740</issuekey>
        </issuelink>
                            </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_10030" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Epic/Theme</customfieldname>
                        <customfieldvalues>
                                        <label>quotas</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i016qf:</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>