<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:51:35 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-12324] zero transno on transaction commit</title>
                <link>https://jira.whamcloud.com/browse/LU-12324</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;It was observed that when we have changelogs enabled there&apos;s a getxattr path that can create a transaction even if getxattr itself only wants the xattr size and there&apos;s no reply buffer&lt;/p&gt;

&lt;p&gt;This results in a NULL pointer deref in lustre_msg_set_transno because rq_rep is NULL like this:&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;[ 1826.910143] RIP: 0010:[&amp;lt;ffffffffc0e5012c&amp;gt;]  [&amp;lt;ffffffffc0e5012c&amp;gt;] lustre_msg_set_transno+0xc/0xa0 [ptlrpc]
[ 1826.922696] RSP: 0018:ffff8e7d974df940  EFLAGS: 00010282
[ 1826.930429] RAX: 0000002700000008 RBX: ffff8e5d4c5bb000 RCX: ffff8e5d4e9280b0
[ 1826.940192] RDX: 0000000000000000 RSI: 0000002700000008 RDI: 0000000000000000
[ 1826.949927] RBP: ffff8e7d974df950 R08: ffff8e7d913d8a40 R09: 0000000000000030
[ 1826.959650] R10: 0000000000000000 R11: ffff8e7d974df72e R12: ffff8e7d97477000
[ 1826.969402] R13: ffff8e7d913d8a40 R14: ffff8e7db37c1c80 R15: 0000000000000000
[ 1826.979089] FS:  0000000000000000(0000) GS:ffff8e7dbdfc0000(0000) knlGS:0000000000000000
[ 1826.989827] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1826.997935] CR2: 0000000000000008 CR3: 0000001ffc266000 CR4: 00000000003607e0
[ 1827.007585] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 1827.017224] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 1827.026817] Call Trace:
[ 1827.031220]  [&amp;lt;ffffffffc0eaaeba&amp;gt;] tgt_last_rcvd_update+0x21a/0xc90 [ptlrpc]
[ 1827.040631]  [&amp;lt;ffffffffc0ae4d07&amp;gt;] ? libcfs_debug_msg+0x57/0x80 [libcfs]
[ 1827.049674]  [&amp;lt;ffffffffc0eb011d&amp;gt;] tgt_txn_stop_cb+0x19d/0x490 [ptlrpc]
[ 1827.058593]  [&amp;lt;ffffffffc0c25071&amp;gt;] dt_txn_hook_stop+0x81/0xd0 [obdclass]
[ 1827.067570]  [&amp;lt;ffffffffc1269854&amp;gt;] osd_trans_stop+0x134/0x850 [osd_ldiskfs]
[ 1827.076823]  [&amp;lt;ffffffffc0bdc283&amp;gt;] ? llog_cat_add_rec+0x233/0x8b0 [obdclass]
[ 1827.086182]  [&amp;lt;ffffffffc0eca602&amp;gt;] top_trans_stop+0x92/0x930 [ptlrpc]
[ 1827.094806]  [&amp;lt;ffffffff9d0f944f&amp;gt;] ? __getnstimeofday64+0x3f/0xd0
[ 1827.103028]  [&amp;lt;ffffffffc147c5e9&amp;gt;] lod_trans_stop+0x259/0x340 [lod]
[ 1827.111424]  [&amp;lt;ffffffffc151b7ba&amp;gt;] mdd_trans_stop+0x2a/0x46 [mdd]
[ 1827.119589]  [&amp;lt;ffffffffc150f340&amp;gt;] mdd_xattr_get+0x2f0/0x5c0 [mdd]
[ 1827.127864]  [&amp;lt;ffffffffc13caf71&amp;gt;] mdt_getxattr+0x951/0x12c0 [mdt]
[ 1827.136094]  [&amp;lt;ffffffffc0c22f7f&amp;gt;] ? lu_object_find_at+0x20f/0x2b0 [obdclass]
[ 1827.145358]  [&amp;lt;ffffffffc13b477c&amp;gt;] mdt_tgt_getxattr+0x1c/0x30 [mdt]
[ 1827.153671]  [&amp;lt;ffffffffc0eb741a&amp;gt;] tgt_request_handle+0x92a/0x1370 [ptlrpc]
[ 1827.162737]  [&amp;lt;ffffffffc0e5cfeb&amp;gt;] ptlrpc_server_handle_request+0x23b/0xaa0 [ptlrpc]
[ 1827.172666]  [&amp;lt;ffffffffc0e59618&amp;gt;] ? ptlrpc_wait_event+0x98/0x340 [ptlrpc]
[ 1827.181578]  [&amp;lt;ffffffff9d0cf682&amp;gt;] ? default_wake_function+0x12/0x20
[ 1827.189891]  [&amp;lt;ffffffff9d0c52ab&amp;gt;] ? __wake_up_common+0x5b/0x90
[ 1827.197740]  [&amp;lt;ffffffffc0e60732&amp;gt;] ptlrpc_main+0xa92/0x1e40 [ptlrpc]
[ 1827.206078]  [&amp;lt;ffffffffc0e5fca0&amp;gt;] ? ptlrpc_register_service+0xe30/0xe30 [ptlrpc]
[ 1827.215631]  [&amp;lt;ffffffff9d0bb621&amp;gt;] kthread+0xd1/0xe0
[ 1827.222337]  [&amp;lt;ffffffff9d0bb550&amp;gt;] ? insert_kthread_work+0x40/0x40
[ 1827.230379]  [&amp;lt;ffffffff9d7205f7&amp;gt;] ret_from_fork_nospec_begin+0x21/0x21
[ 1827.238877]  [&amp;lt;ffffffff9d0bb550&amp;gt;] ? insert_kthread_work+0x40/0x40
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="55708">LU-12324</key>
            <summary>zero transno on transaction commit</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="green">Oleg Drokin</assignee>
                                    <reporter username="green">Oleg Drokin</reporter>
                        <labels>
                    </labels>
                <created>Wed, 22 May 2019 05:21:12 +0000</created>
                <updated>Tue, 8 Oct 2019 17:04:26 +0000</updated>
                            <resolved>Sat, 25 May 2019 05:31:54 +0000</resolved>
                                    <version>Lustre 2.13.0</version>
                    <version>Lustre 2.12.1</version>
                                    <fixVersion>Lustre 2.13.0</fixVersion>
                    <fixVersion>Lustre 2.12.3</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="247508" author="gerrit" created="Wed, 22 May 2019 05:24:54 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/34936&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34936&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12324&quot; title=&quot;zero transno on transaction commit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12324&quot;&gt;&lt;del&gt;LU-12324&lt;/del&gt;&lt;/a&gt; mdd: Do not record xattr size get in changelogs&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 978a35803fb1d683bd827b056c2b6b2ee808387b&lt;/p&gt;</comment>
                            <comment id="247684" author="gerrit" created="Sat, 25 May 2019 04:52:48 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/34936/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/34936/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12324&quot; title=&quot;zero transno on transaction commit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12324&quot;&gt;&lt;del&gt;LU-12324&lt;/del&gt;&lt;/a&gt; mdd: Do not record xattr size get in changelogs&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 8f2599c599011a50549cdc79f0b3379239cf4f0c&lt;/p&gt;</comment>
                            <comment id="247699" author="pjones" created="Sat, 25 May 2019 05:31:54 +0000"  >&lt;p&gt;Landed for 2.13&lt;/p&gt;</comment>
                            <comment id="248078" author="gerrit" created="Thu, 30 May 2019 20:27:49 +0000"  >&lt;p&gt;Minh Diep (mdiep@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/35010&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35010&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12324&quot; title=&quot;zero transno on transaction commit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12324&quot;&gt;&lt;del&gt;LU-12324&lt;/del&gt;&lt;/a&gt; mdd: Do not record xattr size get in changelogs&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 234dfa5cdefc631b14de3db6030fb7823c680732&lt;/p&gt;</comment>
                            <comment id="248806" author="gerrit" created="Sat, 8 Jun 2019 02:38:56 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/35010/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/35010/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-12324&quot; title=&quot;zero transno on transaction commit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-12324&quot;&gt;&lt;del&gt;LU-12324&lt;/del&gt;&lt;/a&gt; mdd: Do not record xattr size get in changelogs&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: f94aecf16859e2e0dcd999eb8862227e50671ee8&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                                <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|i00gpj:</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>