<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:39:26 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-4075] osd_xattr_get()) ASSERTION( buf-&gt;lb_len == sizeof(dt_obj_version_t) ) failed:</title>
                <link>https://jira.whamcloud.com/browse/LU-4075</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;This is a minor issue since it requires root to exploit.&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;# echo 0 | tee /proc/fs/lustre/llite/*/xattr_cache
0
# getfattr -n trusted.version /mnt/lustre

Message from syslogd@t at Oct  7 09:28:05 ...
 kernel:LustreError: 10513:0:(osd_handler.c:2741:osd_xattr_get()) ASSERTION( buf-&amp;gt;lb_len == sizeof(dt_obj_version_t) ) failed:

Message from syslogd@t at Oct  7 09:28:05 ...
 kernel:LustreError: 10513:0:(osd_handler.c:2741:osd_xattr_get()) LBUG
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The special case for XATTR_NAME_VERSION should provide the usual &quot;if buf is NULL then return size...&quot; behavior.&lt;/p&gt;</description>
                <environment></environment>
        <key id="21296">LU-4075</key>
            <summary>osd_xattr_get()) ASSERTION( buf-&gt;lb_len == sizeof(dt_obj_version_t) ) failed:</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</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="jhammond">John Hammond</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>osd</label>
                    </labels>
                <created>Mon, 7 Oct 2013 17:47:54 +0000</created>
                <updated>Wed, 11 Feb 2015 17:30:06 +0000</updated>
                            <resolved>Wed, 11 Feb 2015 17:30:06 +0000</resolved>
                                    <version>Lustre 2.5.0</version>
                                    <fixVersion>Lustre 2.7.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="68643" author="tappro" created="Tue, 8 Oct 2013 22:23:04 +0000"  >&lt;p&gt;I agree that assertion is not needed there. Meanwhile dt_version_get() checks return value as well but just reports error is size is not equal to the version size so we may skip any checks in OSD. Nevertheless I wonder shouldn&apos;t we prohibit the sending this xattr to the client because this is server-internal attribute and shouldn&apos;t be accessed/modified from/by the client.&lt;/p&gt;</comment>
                            <comment id="90028" author="sarah" created="Fri, 25 Jul 2014 05:45:29 +0000"  >&lt;p&gt;hit this error when doing rolling upgrade, OSS and MDS upgrade from 2.4.3 to b2_6-rc2, clients are still 2.4.3&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;Lustre: DEBUG MARKER: == sanity test 102n: silently ignore setxattr on internal trusted xattrs == 22:31:44 (1406266304)
LustreError: 27549:0:(osd_handler.c:2925:osd_xattr_get()) ASSERTION( buf-&amp;gt;lb_len == sizeof(dt_obj_version_t) ) failed: 
LustreError: 27549:0:(osd_handler.c:2925:osd_xattr_get()) LBUG

Message fromPid: 27549, comm: mdt02_007
 syslogd@onyx-26
 at Jul 24 22:31Call Trace:
:45 ...
 kerne [&amp;lt;ffffffffa0466895&amp;gt;] libcfs_debug_dumpstack+0x55/0x80 [libcfs]
l:LustreError: 2 [&amp;lt;ffffffffa0466e97&amp;gt;] lbug_with_loc+0x47/0xb0 [libcfs]
7549:0:(osd_hand [&amp;lt;ffffffffa0d8dd62&amp;gt;] osd_xattr_get+0x2d2/0x2e0 [osd_ldiskfs]
ler.c:2925:osd_x [&amp;lt;ffffffffa1001c24&amp;gt;] lod_xattr_get+0x154/0x640 [lod]
attr_get()) ASSE [&amp;lt;ffffffffa1074b4a&amp;gt;] mdd_xattr_get+0x9a/0x270 [mdd]
RTION( buf-&amp;gt;lb_l [&amp;lt;ffffffffa0f3b899&amp;gt;] mdt_getxattr+0x989/0x1440 [mdt]
en == sizeof(dt_ [&amp;lt;ffffffffa04714b8&amp;gt;] ? libcfs_log_return+0x28/0x40 [libcfs]
obj_version_t) ) [&amp;lt;ffffffffa07f8c8c&amp;gt;] ? lustre_msg_get_transno+0x8c/0x100 [ptlrpc]
 failed: 

 [&amp;lt;ffffffffa0f12256&amp;gt;] mdt_tgt_getxattr+0x26/0x40 [mdt]
Message from sys [&amp;lt;ffffffffa0859b6c&amp;gt;] tgt_request_handle+0x23c/0xac0 [ptlrpc]
logd@onyx-26 at  [&amp;lt;ffffffffa080926a&amp;gt;] ptlrpc_main+0xd1a/0x1980 [ptlrpc]
Jul 24 22:31:45  [&amp;lt;ffffffffa0808550&amp;gt;] ? ptlrpc_main+0x0/0x1980 [ptlrpc]
...
 kernel:Lu [&amp;lt;ffffffff8109abf6&amp;gt;] kthread+0x96/0xa0
streError: 27549 [&amp;lt;ffffffff8100c20a&amp;gt;] child_rip+0xa/0x20
:0:(osd_handler. [&amp;lt;ffffffff8109ab60&amp;gt;] ? kthread+0x0/0xa0
c:2925:osd_xattr [&amp;lt;ffffffff8100c200&amp;gt;] ? child_rip+0x0/0x20
_get()) LBUG

Kernel panic - not syncing: LBUG
Pid: 27549, comm: mdt02_007 Not tainted 2.6.32-431.20.3.el6_lustre.
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="92798" author="jhammond" created="Fri, 29 Aug 2014 13:29:31 +0000"  >&lt;p&gt;Please see &lt;a href=&quot;http://review.whamcloud.com/11649&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/11649&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="106654" author="jlevi" created="Wed, 11 Feb 2015 17:30:06 +0000"  >&lt;p&gt;Patch landed to Master.&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|hzw51b:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>10930</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>