<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:36:09 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>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-14845] ASAN use-after-free in md5.js</title>
                <link>https://jira.mongodb.org/browse/SERVER-14845</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;ASAN build is seeing a use-after-free in the &apos;durability&apos; test suite when running the md5.js test:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://buildlogs.mongodb.org/mci_0.9_ubuntu1404-debug-asan/builds/20237/test/durability_0/md5.js&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://buildlogs.mongodb.org/mci_0.9_ubuntu1404-debug-asan/builds/20237/test/durability_0/md5.js&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="151639">SERVER-14845</key>
            <summary>ASAN use-after-free in md5.js</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="andrew.morrow@mongodb.com">Andrew Morrow</assignee>
                                    <reporter username="andrew.morrow@mongodb.com">Andrew Morrow</reporter>
                        <labels>
                            <label>address-sanitizer</label>
                    </labels>
                <created>Sat, 9 Aug 2014 14:02:06 +0000</created>
                <updated>Wed, 18 Nov 2015 22:48:04 +0000</updated>
                            <resolved>Wed, 18 Nov 2015 22:48:04 +0000</resolved>
                                                                    <component>Build</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="1092356" author="acm" created="Wed, 18 Nov 2015 22:48:04 +0000"  >&lt;p&gt;The md5.js test was deleted over a year ago, and the logs are gone. We also now run all tests under ASAN and we have not seen this issue recur. Closing as gone away.&lt;/p&gt;</comment>
                            <comment id="695897" author="acm" created="Tue, 19 Aug 2014 20:54:28 +0000"  >&lt;p&gt;Note: This failure repeated: &lt;a href=&quot;https://mci.10gen.com/ui/task/mongodb_mongo_master_sanitize_ubuntu1404_debug_asan_fe11098d32f0e002349fd2513834f6c8928fe550_14_08_19_14_28_23_durability_ubuntu1404_debug_asan&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://mci.10gen.com/ui/task/mongodb_mongo_master_sanitize_ubuntu1404_debug_asan_fe11098d32f0e002349fd2513834f6c8928fe550_14_08_19_14_28_23_durability_ubuntu1404_debug_asan&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        8 years, 13 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>andrew.morrow@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            8 years, 13 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>andrew.morrow@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrlq6f:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrdwov:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>131626</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="756">Platform D (12/11/15)</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;On ubuntu 14.04:&lt;/p&gt;

&lt;p&gt;scons --dbg=on --cc=/usr/bin/clang --cxx=/usr/bin/clang++ --allocator=system --opt=on --sanitize=address ./mongo ./mongod&lt;/p&gt;

&lt;p&gt;The start up mongod and run &lt;/p&gt;

&lt;p&gt;ASAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer-3.4 ./mongo jstests/dur/md5.js&lt;/p&gt;

&lt;p&gt;One of the mongod instances spawned by the test will fail under ASAN:&lt;/p&gt;

&lt;p&gt; m30002| =================================================================&lt;br/&gt;
 m30002| ==28406==ERROR: AddressSanitizer: heap-use-after-free on address 0x60c00000a180 at pc 0x1bdc2a5 bp 0x7fff96a6dcd0 sp 0x7fff96a6dcc8&lt;br/&gt;
 m30002| READ of size 8 at 0x60c00000a180 thread T0&lt;br/&gt;
 m30002|     #0 0x1bdc2a4 in mongo::OperationContextImpl::OperationContextImpl() /home/andrew/Documents/10gen/dev/src/mongodb/src/mongo/db/operation_context_impl.cpp:45&lt;br/&gt;
 m30002|     #1 0x1a4da23 in mongo::exitCleanly(mongo::ExitCode) /home/andrew/Documents/10gen/dev/src/mongodb/src/mongo/db/instance.cpp:1018&lt;br/&gt;
 m30002|     #2 0xb029ce in mongoDbMain(int, char*&lt;b&gt;, char&lt;/b&gt;*) /home/andrew/Documents/10gen/dev/src/mongodb/src/mongo/db/db.cpp:936&lt;br/&gt;
 m30002|     #3 0xb029ce in main /home/andrew/Documents/10gen/dev/src/mongodb/src/mongo/db/db.cpp:726&lt;br/&gt;
 m30002|     #4 0x7f4b878cdec4 (/lib/x86_64-linux-gnu/libc.so.6+0x21ec4)&lt;br/&gt;
 m30002|     #5 0xaee1fc in _start (/home/andrew/Documents/10gen/dev/src/mongodb/mongod+0xaee1fc)&lt;br/&gt;
 m30002|&lt;br/&gt;
 m30002| 0x60c00000a180 is located 0 bytes inside of 120-byte region [0x60c00000a180,0x60c00000a1f8)&lt;br/&gt;
 m30002| freed by thread T0 here:&lt;br/&gt;
 m30002|     #0 0xad8a99 in operator delete(void*) (/home/andrew/Documents/10gen/dev/src/mongodb/mongod+0xad8a99)&lt;br/&gt;
 m30002|     #1 0x2a89e01 in mongo::initGlobalStorageEngine() /home/andrew/Documents/10gen/dev/src/mongodb/src/mongo/db/storage/storage_engine.cpp:67&lt;br/&gt;
 m30002|     #2 0xaf285f in mongo::_initAndListen(int) /home/andrew/Documents/10gen/dev/src/mongodb/src/mongo/db/db.cpp:586&lt;br/&gt;
 m30002|     #3 0xaef3ea in mongo::initAndListen(int) /home/andrew/Documents/10gen/dev/src/mongodb/src/mongo/db/db.cpp:677&lt;br/&gt;
 m30002|     #4 0xb029c7 in mongoDbMain(int, char*&lt;b&gt;, char&lt;/b&gt;*) /home/andrew/Documents/10gen/dev/src/mongodb/src/mongo/db/db.cpp:935&lt;br/&gt;
 m30002|     #5 0xb029c7 in main /home/andrew/Documents/10gen/dev/src/mongodb/src/mongo/db/db.cpp:726&lt;br/&gt;
 m30002|     #6 0x7f4b878cdec4 (/lib/x86_64-linux-gnu/libc.so.6+0x21ec4)&lt;br/&gt;
 m30002|&lt;br/&gt;
 m30002| previously allocated by thread T0 here:&lt;br/&gt;
 m30002|     #0 0xad8799 in operator new(unsigned long) (/home/andrew/Documents/10gen/dev/src/mongodb/mongod+0xad8799)&lt;br/&gt;
 m30002|     #1 0x2a8989d in mongo::initGlobalStorageEngine() /home/andrew/Documents/10gen/dev/src/mongodb/src/mongo/db/storage/storage_engine.cpp:56&lt;br/&gt;
 m30002|     #2 0xaf285f in mongo::_initAndListen(int) /home/andrew/Documents/10gen/dev/src/mongodb/src/mongo/db/db.cpp:586&lt;br/&gt;
 m30002|     #3 0xaef3ea in mongo::initAndListen(int) /home/andrew/Documents/10gen/dev/src/mongodb/src/mongo/db/db.cpp:677&lt;br/&gt;
 m30002|     #4 0xb029c7 in mongoDbMain(int, char*&lt;b&gt;, char&lt;/b&gt;*) /home/andrew/Documents/10gen/dev/src/mongodb/src/mongo/db/db.cpp:935&lt;br/&gt;
 m30002|     #5 0xb029c7 in main /home/andrew/Documents/10gen/dev/src/mongodb/src/mongo/db/db.cpp:726&lt;br/&gt;
 m30002|     #6 0x7f4b878cdec4 (/lib/x86_64-linux-gnu/libc.so.6+0x21ec4)&lt;br/&gt;
 m30002|&lt;br/&gt;
 m30002| SUMMARY: AddressSanitizer: heap-use-after-free /home/andrew/Documents/10gen/dev/src/mongodb/src/mongo/db/operation_context_impl.cpp:45 mongo::OperationContextImpl::OperationContextImpl()&lt;br/&gt;
 m30002| Shadow bytes around the buggy address:&lt;br/&gt;
 m30002|   0x0c187fff93e0: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd&lt;br/&gt;
 m30002|   0x0c187fff93f0: fd fd fd fd fd fd fd fd fa fa fa fa fa fa fa fa&lt;br/&gt;
 m30002|   0x0c187fff9400: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fa&lt;br/&gt;
 m30002|   0x0c187fff9410: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd&lt;br/&gt;
 m30002|   0x0c187fff9420: fd fd fd fd fd fd fd fd fa fa fa fa fa fa fa fa&lt;br/&gt;
 m30002| =&amp;gt;0x0c187fff9430:&lt;span class=&quot;error&quot;&gt;&amp;#91;fd&amp;#93;&lt;/span&gt;fd fd fd fd fd fd fd fd fd fd fd fd fd fd fa&lt;br/&gt;
 m30002|   0x0c187fff9440: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd&lt;br/&gt;
 m30002|   0x0c187fff9450: fd fd fd fd fd fd fd fd fa fa fa fa fa fa fa fa&lt;br/&gt;
 m30002|   0x0c187fff9460: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd&lt;br/&gt;
 m30002|   0x0c187fff9470: fa fa fa fa fa fa fa fa fd fd fd fd fd fd fd fd&lt;br/&gt;
 m30002|   0x0c187fff9480: fd fd fd fd fd fd fd fd fa fa fa fa fa fa fa fa&lt;br/&gt;
 m30002| Shadow byte legend (one shadow byte represents 8 application bytes):&lt;br/&gt;
 m30002|   Addressable:           00&lt;br/&gt;
 m30002|   Partially addressable: 01 02 03 04 05 06 07&lt;br/&gt;
 m30002|   Heap left redzone:     fa&lt;br/&gt;
 m30002|   Heap right redzone:    fb&lt;br/&gt;
 m30002|   Freed heap region:     fd&lt;br/&gt;
 m30002|   Stack left redzone:    f1&lt;br/&gt;
 m30002|   Stack mid redzone:     f2&lt;br/&gt;
 m30002|   Stack right redzone:   f3&lt;br/&gt;
 m30002|   Stack partial redzone: f4&lt;br/&gt;
 m30002|   Stack after return:    f5&lt;br/&gt;
 m30002|   Stack use after scope: f8&lt;br/&gt;
 m30002|   Global redzone:        f9&lt;br/&gt;
 m30002|   Global init order:     f6&lt;br/&gt;
 m30002|   Poisoned by user:      f7&lt;br/&gt;
 m30002|   ASan internal:         fe&lt;br/&gt;
 m30002| ==28406==ABORTING&lt;/p&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrljnz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>