<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:15: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-15130] Setting an incorrect tbf rule causes a crash</title>
                <link>https://jira.whamcloud.com/browse/LU-15130</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;&lt;b&gt;Reproducer&lt;/b&gt;&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;
lctl set_param mds.MDS.mdt.nrs_policies=tbf
lctl set_param  mds.MDS.mdt.nrs_tbf_rule=&lt;span class=&quot;code-quote&quot;&gt;&quot;start tbf_name gid{500} rate=100&quot;&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The command above causes the following Kernel Oops:&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;
[30628.715305] BUG: unable to handle kernel NULL pointer dereference at           (&lt;span class=&quot;code-keyword&quot;&gt;null&lt;/span&gt;)
[30628.715865] IP: [&amp;lt;ffffffffc0ed04db&amp;gt;] nrs_tbf_conds_parse+0x21b/0x6c0 [ptlrpc]
[30628.716369] PGD 8000000020363067 PUD 6b604067 PMD 0 
[30628.716883] Oops: 0000 [#3] SMP 
[30628.717299] Modules linked in: dm_flakey osp(OE) lod(OE) mgs(OE) mgc(OE) osd_ldiskfs(OE) lustre(OE) lmv(OE) mdc(OE) lov(OE) osc(OE) ldiskfs(OE) mbcache jbd2 mdd(OE) mdt(OE) lquota(OE) lfsck(OE) fid(OE) fld(OE) ksocklnd(OE) ptlrpc(OE) obdclass(OE) lnet(OE) libcfs(OE) rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd grace fscache sunrpc ppdev iosf_mbi crc32_pclmul ghash_clmulni_intel aesni_intel snd_intel8x0 lrw gf128mul glue_helper ablk_helper cryptd snd_ac97_codec ac97_bus snd_seq snd_seq_device pcspkr sg i2c_piix4 snd_pcm parport_pc parport video vboxguest(OE) snd_timer snd soundcore ip_tables xfs libcrc32c sr_mod cdrom sd_mod crc_t10dif crct10dif_generic ata_generic pata_acpi vmwgfx drm_kms_helper crct10dif_pclmul syscopyarea crct10dif_common sysfillrect ahci sysimgblt fb_sys_fops crc32c_intel
[30628.721062]  libahci ttm ata_piix serio_raw drm libata e1000 drm_panel_orientation_quirks dm_mirror dm_region_hash dm_log dm_mod [last unloaded: dm_flakey]
[30628.722025] CPU: 3 PID: 487 Comm: lctl Kdump: loaded Tainted: G      D W  OE  ------------   3.10.0-1160.25.1.el7_lustreajmes.x86_64.debug #1
[30628.723005] Hardware name: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006
[30628.723488] task: ffffa03e1148c000 ti: ffffa03e0439c000 task.ti: ffffa03e0439c000
[30628.724028] RIP: 0010:[&amp;lt;ffffffffc0ed04db&amp;gt;]  [&amp;lt;ffffffffc0ed04db&amp;gt;] nrs_tbf_conds_parse+0x21b/0x6c0 [ptlrpc]
[30628.725196] RSP: 0018:ffffa03e0439fd78  EFLAGS: 00010206
[30628.725737] RAX: 0000000000000008 RBX: ffffa03db3990000 RCX: 000000000000007d
[30628.726224] RDX: 0000000000000000 RSI: ffffa03e15a5a3e0 RDI: ffffa03e15a5a3e8
[30628.726773] RBP: ffffa03e0439fde0 R08: 00000000001e00a0 R09: ffffa03e15a5a3e0
[30628.727254] R10: ffffa03e0439ffd8 R11: 000000000030bc07 R12: ffffa03deed64f20
[30628.727793] R13: ffffa03deed64f30 R14: ffffa03e15c574e8 R15: 0000000000000000
[30628.728273] FS:  00007fd0f05fe740(0000) GS:ffffa03e5b400000(0000) knlGS:0000000000000000
[30628.728824] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[30628.729314] CR2: 0000000000000000 CR3: 00000000cfafa000 CR4: 00000000000606e0
[30628.729887] Call Trace:
[30628.730413]  [&amp;lt;ffffffffc0ed0cbd&amp;gt;] nrs_tbf_id_parse+0x33d/0x760 [ptlrpc]
[30628.730985]  [&amp;lt;ffffffffc0b07c79&amp;gt;] ? lprocfs_counter_add+0xf9/0x160 [obdclass]
[30628.731541]  [&amp;lt;ffffffffc0ed1449&amp;gt;] nrs_tbf_parse_cmd.isra.33+0x369/0x9f0 [ptlrpc]
[30628.732056]  [&amp;lt;ffffffffc0ed266d&amp;gt;] ptlrpc_lprocfs_nrs_tbf_rule_seq_write+0x41d/0x890 [ptlrpc]
[30628.732577]  [&amp;lt;ffffffffb3eaf87c&amp;gt;] vfs_write+0xdc/0x240
[30628.733098]  [&amp;lt;ffffffffb3ed5d00&amp;gt;] ? fget_light+0x2b0/0x550
[30628.733676]  [&amp;lt;ffffffffb3eb071a&amp;gt;] SyS_write+0x8a/0x100
[30628.734147]  [&amp;lt;ffffffffb4498b12&amp;gt;] system_call_fastpath+0x25/0x2a
[30628.734966]  [&amp;lt;ffffffffb4498a55&amp;gt;] ? system_call_after_swapgs+0xa2/0x13a
[30628.735805] Code: 48 85 db 0f 84 ff 01 00 00 48 8d 55 c8 48 8d 7d b8 be 3d 00 00 00 e8 75 74 b0 ff 85 c0 74 19 8b 45 c0 83 f8 02 7e 11 48 8b 55 b8 &amp;lt;80&amp;gt; 3a 7b 0f 84 2c 01 00 00 0f 1f 40 00 f6 05 2d 01 b2 ff 01 74 
[30628.737861] RIP  [&amp;lt;ffffffffc0ed04db&amp;gt;] nrs_tbf_conds_parse+0x21b/0x6c0 [ptlrpc]
[30628.738393]  RSP &amp;lt;ffffa03e0439fd78&amp;gt;
[30628.738912] CR2: 0000000000000000
[30628.740251] ---[ end trace 62458dbd47702fcb ]---
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
</description>
                <environment>VMs + 2.14.55_28_g0daeebc</environment>
        <key id="66738">LU-15130</key>
            <summary>Setting an incorrect tbf rule causes a crash</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>Tue, 19 Oct 2021 13:17:41 +0000</created>
                <updated>Fri, 7 Jan 2022 16:32:41 +0000</updated>
                            <resolved>Fri, 7 Jan 2022 01:30:47 +0000</resolved>
                                                    <fixVersion>Lustre 2.15.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="315965" author="gerrit" created="Tue, 19 Oct 2021 14:19:43 +0000"  >&lt;p&gt;&quot;Etienne AUJAMES &amp;lt;eaujames@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/45291&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/45291&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15130&quot; title=&quot;Setting an incorrect tbf rule causes a crash&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15130&quot;&gt;&lt;del&gt;LU-15130&lt;/del&gt;&lt;/a&gt; nrs: null pointer dereference in nrs_tbf_id_parse&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: f9a0057b20a3eb0b7732cfc75ac8845a5100e8cf&lt;/p&gt;</comment>
                            <comment id="322004" author="gerrit" created="Fri, 7 Jan 2022 00:59:18 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/45291/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/45291/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15130&quot; title=&quot;Setting an incorrect tbf rule causes a crash&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15130&quot;&gt;&lt;del&gt;LU-15130&lt;/del&gt;&lt;/a&gt; nrs: null pointer dereference in nrs_tbf_id_parse&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: cec864b7938f1138d1432ab0720f4e1d51ea6ae4&lt;/p&gt;</comment>
                            <comment id="322005" author="pjones" created="Fri, 7 Jan 2022 01:30:47 +0000"  >&lt;p&gt;Landed for 2.15&lt;/p&gt;</comment>
                            <comment id="322064" author="gerrit" created="Fri, 7 Jan 2022 16:32:41 +0000"  >&lt;p&gt;&quot;Etienne AUJAMES &amp;lt;eaujames@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/46000&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/46000&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15130&quot; title=&quot;Setting an incorrect tbf rule causes a crash&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15130&quot;&gt;&lt;del&gt;LU-15130&lt;/del&gt;&lt;/a&gt; nrs: null pointer dereference in nrs_tbf_id_parse&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: f74e165ff8f43f58bba48d94da4aadf4fb9912f8&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|i027s7:</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>