<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:12:50 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-7893] osd-zfs: calls dmu_objset_disown() with NULL objset_t *</title>
                <link>https://jira.whamcloud.com/browse/LU-7893</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;When a ZFS-backed target is mounted, and dmu_objset_own() fails, osd_mount() follows a goto err: and calls dmu_objset_disown(NULL).  This triggers a kernel panic due to NULL pointer dereference.&lt;/p&gt;

&lt;p&gt;dmu_objset_disown() should only be called if the dmu_objset_own() succeeded.&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;Call Trace:
 osd_mount+0x435/0x1130 [osd_zfs]
 ? keys_fill+0xd5/0x1b0 [obdclass]
 ? kmem_cache_alloc_trace+0x1cf/0x1e0
 osd_device_alloc+0x266/0x290 [osd_zfs]
 obd_setup+0x1bf/0x290 [obdclass]
 class_setup+0x259/0x930 [obdclass]
 class_process_config+0x1151/0x24c0 [obdclass]
 ? do_lcfg+0x198/0x9f0 [obdclass]
 ? __kmalloc+0x22c/0x240
 do_lcfg+0x2cf/0x9f0 [obdclass]
 lustre_start_simple+0x94/0x200 [obdclass]
 osd_start+0x54f/0x840 [obdclass]
 ? simple_strtoull+0x2c/0x50
 ? simple_strtoul+0x9/0x10
 ? target_name2index+0x78/0xc0 [obdclass]
 server_fill_super+0x253/0x1450 [obdclass]
 ? libcfs_debug_msg+0x41/0x50 [libcfs]
 lustre_fill_super+0x348/0x8c0 [obdclass]
 ? lustre_fill_super+0x0/0x8c0 [obdclass]
 get_sb_nodev+0x5f/0xa0
 lustre_get_sb+0x25/0x30 [obdclass]
 vfs_kern_mount+0x7b/0x1b0
 do_kern_mount+0x52/0x130
 do_mount+0x2fb/0x930
 sys_mount+0x90/0xe0
 system_call_fastpath+0x16/0x1b
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>lustre-2.8.0-2.6.32_573.18.1.1chaos.ch5.4.x86_64_g0bbc784&lt;br/&gt;
TOSS 2.4-7 (based on RHEL 6.7)</environment>
        <key id="35490">LU-7893</key>
            <summary>osd-zfs: calls dmu_objset_disown() with NULL objset_t *</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="utopiabound">Nathaniel Clark</assignee>
                                    <reporter username="ofaaland">Olaf Faaland</reporter>
                        <labels>
                            <label>llnl</label>
                            <label>patch</label>
                            <label>zfs</label>
                    </labels>
                <created>Mon, 21 Mar 2016 20:19:22 +0000</created>
                <updated>Thu, 9 Feb 2017 17:10:57 +0000</updated>
                            <resolved>Mon, 11 Apr 2016 13:55:30 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                                    <fixVersion>Lustre 2.9.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="146388" author="ofaaland" created="Mon, 21 Mar 2016 20:20:20 +0000"  >&lt;p&gt;The system this occurred on in testing is at 2_8_RC4, but this code is no different in 2_8_0 or in master.&lt;/p&gt;</comment>
                            <comment id="146391" author="gerrit" created="Mon, 21 Mar 2016 20:34:19 +0000"  >&lt;p&gt;Olaf Faaland-LLNL (faaland1@llnl.gov) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/19052&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/19052&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7893&quot; title=&quot;osd-zfs: calls dmu_objset_disown() with NULL objset_t *&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7893&quot;&gt;&lt;del&gt;LU-7893&lt;/del&gt;&lt;/a&gt; osd-zfs: calls dmu_objset_disown() with NULL&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: d6df23ed4529ae1f75824d1284cde86756ada948&lt;/p&gt;</comment>
                            <comment id="146392" author="ofaaland" created="Mon, 21 Mar 2016 20:38:28 +0000"  >&lt;p&gt;Other calls to dmu_objset_disown() were already conditional on o-&amp;gt;od_os != NULL.&lt;/p&gt;</comment>
                            <comment id="146495" author="pjones" created="Tue, 22 Mar 2016 17:21:20 +0000"  >&lt;p&gt;Nathaniel&lt;/p&gt;

&lt;p&gt;Could you pleae keep an eye on the test runs for this change?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="147076" author="gerrit" created="Mon, 28 Mar 2016 18:46:27 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/19052/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/19052/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7893&quot; title=&quot;osd-zfs: calls dmu_objset_disown() with NULL objset_t *&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7893&quot;&gt;&lt;del&gt;LU-7893&lt;/del&gt;&lt;/a&gt; osd-zfs: calls dmu_objset_disown() with NULL&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 1b8adfc4945860444d64719d076c4e14c0544384&lt;/p&gt;</comment>
                            <comment id="148381" author="jgmitter" created="Mon, 11 Apr 2016 13:55:30 +0000"  >&lt;p&gt;Landed to master for 2.9.0&lt;/p&gt;</comment>
                            <comment id="156013" author="gerrit" created="Thu, 16 Jun 2016 22:16:36 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/15671/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/15671/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7893&quot; title=&quot;osd-zfs: calls dmu_objset_disown() with NULL objset_t *&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7893&quot;&gt;&lt;del&gt;LU-7893&lt;/del&gt;&lt;/a&gt; osd-zfs: fix error handling in osd_mount()&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 0704fcd0e620e66743be1010c8eb1faed4d206d0&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="35611">LU-7921</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </outwardlinks>
                                                        </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|hzy54v:</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>