<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:32:59 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-10205] e2fsck: buffer overflow in ext2fs_expand_extra_isize</title>
                <link>https://jira.whamcloud.com/browse/LU-10205</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;During the self-tests at the end of building e2fsprogs, I encountered:&lt;/p&gt;

&lt;p&gt;[  188s] ./run_e2fsck: line 54: 16540 Aborted                 (core dumped) $FSCK $FSCK_OPT -N test_filesys $TMPFILE &amp;gt; $OUT1.new 2&amp;gt;&amp;amp;1&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;...&amp;#93;&lt;/span&gt;&lt;br/&gt;
[  188s] +*** Error in `../e2fsck/e2fsck&apos;: free(): invalid pointer: 0x0000000000def960 ***&lt;br/&gt;
[  188s] +======= Backtrace: =========&lt;br/&gt;
[  188s] +/lib64/libc.so.6(+0x721af)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x7fdbd7c871af&amp;#93;&lt;/span&gt;&lt;br/&gt;
[  188s] +/lib64/libc.so.6(+0x779d6)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x7fdbd7c8c9d6&amp;#93;&lt;/span&gt;&lt;br/&gt;
[  188s] +../lib/libext2fs.so.2(ext2fs_expand_extra_isize+0x4e4)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x7fdbd88395f4&amp;#93;&lt;/span&gt;&lt;br/&gt;
[  188s] +../e2fsck/e2fsck(e2fsck_pass1_expand_eisize+0x41)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x412641&amp;#93;&lt;/span&gt;&lt;br/&gt;
[  188s] +../e2fsck/e2fsck(e2fsck_pass1+0x1d18)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x417008&amp;#93;&lt;/span&gt;&lt;br/&gt;
[  188s] +../e2fsck/e2fsck(e2fsck_run+0x52)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x40f942&amp;#93;&lt;/span&gt;&lt;br/&gt;
[  188s] +../e2fsck/e2fsck(main+0xc34)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x40b654&amp;#93;&lt;/span&gt;&lt;br/&gt;
[  188s] +/lib64/libc.so.6(__libc_start_main+0xf5)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x7fdbd7c356e5&amp;#93;&lt;/span&gt;&lt;br/&gt;
[  188s] +../e2fsck/e2fsck(_start+0x29)&lt;span class=&quot;error&quot;&gt;&amp;#91;0x40d419&amp;#93;&lt;/span&gt;&lt;br/&gt;
[  188s] +======= Memory map: ========&lt;br/&gt;
[  188s] +00400000-0043d000 r-xp 00000000 fd:00 330140                             /home/abuild/rpmbuild/BUILD/e2fsprogs-1.42.13/e2fsck/e2fsck&lt;br/&gt;
[  188s] +0063c000-0063d000 r--p 0003c000 fd:00 330140                             /home/abuild/rpmbuild/BUILD/e2fsprogs-1.42.13/e2fsck/e2fsck&lt;br/&gt;
[  188s] +0063d000-00642000 rw-p 0003d000 fd:00 330140                             /home/abuild/rpmbuild/BUILD/e2fsprogs-1.42.13/e2fsck/e2fsck&lt;br/&gt;
[  188s] +00dcd000-00e10000 rw-p 00000000 00:00 0                                  &lt;span class=&quot;error&quot;&gt;&amp;#91;heap&amp;#93;&lt;/span&gt;&lt;br/&gt;
[  188s] +7fdbd77dd000-7fdbd77f3000 r-xp 00000000 fd:00 409738                     /lib64/libgcc_s.so.1&lt;br/&gt;
[  188s] +7fdbd77f3000-7fdbd79f2000 ---p 00016000 fd:00 409738                     /lib64/libgcc_s.so.1&lt;br/&gt;
[  188s] +7fdbd79f2000-7fdbd79f3000 r--p 00015000 fd:00 409738                     /lib64/libgcc_s.so.1&lt;br/&gt;
[  188s] +7fdbd79f3000-7fdbd79f4000 rw-p 00016000 fd:00 409738                     /lib64/libgcc_s.so.1&lt;br/&gt;
[  188s] +7fdbd79f5000-7fdbd7a0d000 r-xp 00000000 fd:00 409639                     /lib64/libpthread-2.22.so&lt;br/&gt;
[  188s] +7fdbd7a0d000-7fdbd7c0c000 ---p 00018000 fd:00 409639                     /lib64/libpthread-2.22.so&lt;br/&gt;
[  188s] +7fdbd7c0c000-7fdbd7c0d000 r--p 00017000 fd:00 409639                     /lib64/libpthread-2.22.so&lt;br/&gt;
[  188s] +7fdbd7c0d000-7fdbd7c0e000 rw-p 00018000 fd:00 409639                     /lib64/libpthread-2.22.so&lt;br/&gt;
[  188s] +7fdbd7c0e000-7fdbd7c12000 rw-p 00000000 00:00 0 &lt;br/&gt;
[  188s] +7fdbd7c15000-7fdbd7daf000 r-xp 00000000 fd:00 409609                     /lib64/libc-2.22.so&lt;br/&gt;
[  188s] +7fdbd7daf000-7fdbd7fae000 ---p 0019a000 fd:00 409609                     /lib64/libc-2.22.so&lt;br/&gt;
[  188s] +7fdbd7fae000-7fdbd7fb2000 r--p 00199000 fd:00 409609                     /lib64/libc-2.22.so&lt;br/&gt;
[  188s] +7fdbd7fb2000-7fdbd7fb4000 rw-p 0019d000 fd:00 409609                     /lib64/libc-2.22.so&lt;br/&gt;
[  188s] +7fdbd7fb4000-7fdbd7fb8000 rw-p 00000000 00:00 0 &lt;br/&gt;
[  188s] +7fdbd7fbd000-7fdbd7fc4000 r-xp 00000000 fd:00 329940                     /home/abuild/rpmbuild/BUILD/e2fsprogs-1.42.13/lib/libe2p.so.2&lt;br/&gt;
[  188s] +7fdbd7fc4000-7fdbd81c3000 ---p 00007000 fd:00 329940                     /home/abuild/rpmbuild/BUILD/e2fsprogs-1.42.13/lib/libe2p.so.2&lt;br/&gt;
[  188s] +7fdbd81c3000-7fdbd81c4000 r--p 00006000 fd:00 329940                     /home/abuild/rpmbuild/BUILD/e2fsprogs-1.42.13/lib/libe2p.so.2&lt;br/&gt;
[  188s] +7fdbd81c4000-7fdbd81c5000 rw-p 00007000 fd:00 329940                     /home/abuild/rpmbuild/BUILD/e2fsprogs-1.42.13/lib/libe2p.so.2&lt;br/&gt;
[  188s] +7fdbd81c5000-7fdbd81c9000 r-xp 00000000 fd:00 132015                     /usr/lib64/libuuid.so.1.3.0&lt;br/&gt;
[  188s] +7fdbd81c9000-7fdbd83c8000 ---p 00004000 fd:00 132015                     /usr/lib64/libuuid.so.1.3.0&lt;br/&gt;
[  188s] +7fdbd83c8000-7fdbd83c9000 r--p 00003000 fd:00 132015                     /usr/lib64/libuuid.so.1.3.0&lt;br/&gt;
[  188s] +7fdbd83c9000-7fdbd83ca000 rw-p 00004000 fd:00 132015                     /usr/lib64/libuuid.so.1.3.0&lt;br/&gt;
[  188s] +7fdbd83cd000-7fdbd840a000 r-xp 00000000 fd:00 132034                     /usr/lib64/libblkid.so.1.1.0&lt;br/&gt;
[  188s] +7fdbd840a000-7fdbd8609000 ---p 0003d000 fd:00 132034                     /usr/lib64/libblkid.so.1.1.0&lt;br/&gt;
[  188s] +7fdbd8609000-7fdbd860d000 r--p 0003c000 fd:00 132034                     /usr/lib64/libblkid.so.1.1.0&lt;br/&gt;
[  188s] +7fdbd860d000-7fdbd860e000 rw-p 00040000 fd:00 132034                     /usr/lib64/libblkid.so.1.1.0&lt;br/&gt;
[  188s] +7fdbd860e000-7fdbd860f000 rw-p 00000000 00:00 0 &lt;br/&gt;
[  188s] +7fdbd8615000-7fdbd8618000 r-xp 00000000 fd:00 329854                     /home/abuild/rpmbuild/BUILD/e2fsprogs-1.42.13/lib/libcom_err.so.2&lt;br/&gt;
[  188s] +7fdbd8618000-7fdbd8817000 ---p 00003000 fd:00 329854                     /home/abuild/rpmbuild/BUILD/e2fsprogs-1.42.13/lib/libcom_err.so.2&lt;br/&gt;
[  188s] +7fdbd8817000-7fdbd8818000 r--p 00002000 fd:00 329854                     /home/abuild/rpmbuild/BUILD/e2fsprogs-1.42.13/lib/libcom_err.so.2&lt;br/&gt;
[  188s] +7fdbd8818000-7fdbd8819000 rw-p 00003000 fd:00 329854                     /home/abuild/rpmbuild/BUILD/e2fsprogs-1.42.13/lib/libcom_err.so.2&lt;br/&gt;
[  188s] +7fdbd881d000-7fdbd8863000 r-xp 00000000 fd:00 330105                     /home/abuild/rpmbuild/BUILD/e2fsprogs-1.42.13/lib/libext2fs.so.2&lt;br/&gt;
[  188s] +7fdbd8863000-7fdbd8a63000 ---p 00046000 fd:00 330105                     /home/abuild/rpmbuild/BUILD/e2fsprogs-1.42.13/lib/libext2fs.so.2&lt;br/&gt;
[  188s] +7fdbd8a63000-7fdbd8a64000 r--p 00046000 fd:00 330105                     /home/abuild/rpmbuild/BUILD/e2fsprogs-1.42.13/lib/libext2fs.so.2&lt;br/&gt;
[  188s] +7fdbd8a64000-7fdbd8a66000 rw-p 00047000 fd:00 330105                     /home/abuild/rpmbuild/BUILD/e2fsprogs-1.42.13/lib/libext2fs.so.2&lt;br/&gt;
[  188s] +7fdbd8a6d000-7fdbd8a8e000 r-xp 00000000 fd:00 409725                     /lib64/ld-2.22.so&lt;br/&gt;
[  188s] +7fdbd8c83000-7fdbd8c85000 rw-p 00000000 00:00 0 &lt;br/&gt;
[  188s] +7fdbd8c8b000-7fdbd8c8d000 rw-p 00000000 00:00 0 &lt;br/&gt;
[  188s] +7fdbd8c8d000-7fdbd8c8e000 r--p 00020000 fd:00 409725                     /lib64/ld-2.22.so&lt;br/&gt;
[  188s] +7fdbd8c8e000-7fdbd8c8f000 rw-p 00021000 fd:00 409725                     /lib64/ld-2.22.so&lt;br/&gt;
[  188s] +7fdbd8c8f000-7fdbd8c91000 rw-p 00000000 00:00 0 &lt;br/&gt;
[  188s] +7fdbd8c91000-7fdbd8c94000 rw-p 00000000 00:00 0 &lt;br/&gt;
[  188s] +7fffecbf6000-7fffecc17000 rw-p 00000000 00:00 0                          &lt;span class=&quot;error&quot;&gt;&amp;#91;stack&amp;#93;&lt;/span&gt;&lt;br/&gt;
[  188s] +7fffeccbd000-7fffeccc0000 r--p 00000000 00:00 0                          &lt;span class=&quot;error&quot;&gt;&amp;#91;vvar&amp;#93;&lt;/span&gt;&lt;br/&gt;
[  188s] +7fffeccc0000-7fffeccc2000 r-xp 00000000 00:00 0                          &lt;span class=&quot;error&quot;&gt;&amp;#91;vdso&amp;#93;&lt;/span&gt;&lt;br/&gt;
[  188s] +ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  &lt;span class=&quot;error&quot;&gt;&amp;#91;vsyscall&amp;#93;&lt;/span&gt;&lt;br/&gt;
[  188s] +Exit status is 134&lt;/p&gt;


&lt;p&gt;I tracked this down to the memory allocation for the value of the extended attribute using entry-&amp;gt;e_value_size and the memcpy using the rounded-up value of the same.&lt;/p&gt;</description>
                <environment></environment>
        <key id="49171">LU-10205</key>
            <summary>e2fsck: buffer overflow in ext2fs_expand_extra_isize</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="wc-triage">WC Triage</assignee>
                                    <reporter username="jeffm">Jeff Mahoney</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Tue, 7 Nov 2017 21:22:55 +0000</created>
                <updated>Tue, 23 Jan 2018 14:18:18 +0000</updated>
                            <resolved>Tue, 23 Jan 2018 14:18:18 +0000</resolved>
                                    <version>Lustre 2.10.1</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="213027" author="gerrit" created="Tue, 7 Nov 2017 21:34:51 +0000"  >&lt;p&gt;Jeff Mahoney (jeffm@suse.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/29975&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/29975&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10205&quot; title=&quot;e2fsck: buffer overflow in ext2fs_expand_extra_isize&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10205&quot;&gt;&lt;del&gt;LU-10205&lt;/del&gt;&lt;/a&gt; libext2fs: fix buffer overrun in ext2fs_expand_extra_isize&lt;br/&gt;
Project: tools/e2fsprogs&lt;br/&gt;
Branch: master-lustre&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: c21a26b52073af057eaea12c9ec85fceec9767fe&lt;/p&gt;</comment>
                            <comment id="218878" author="gerrit" created="Tue, 23 Jan 2018 05:37:43 +0000"  >&lt;p&gt;Andreas Dilger (andreas.dilger@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/29975/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/29975/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-10205&quot; title=&quot;e2fsck: buffer overflow in ext2fs_expand_extra_isize&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-10205&quot;&gt;&lt;del&gt;LU-10205&lt;/del&gt;&lt;/a&gt; libext2fs: fix buffer overrun in ext2fs_expand_extra_isize&lt;br/&gt;
Project: tools/e2fsprogs&lt;br/&gt;
Branch: master-lustre&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: ac1fceebccf21a7cee9e27b6d29e4e245b143686&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="28606" name="lu-10205-libext2fs-fix-buffer-overrun-in-ext2fs_expand_extra_isize.patch" size="973" author="jeffm" created="Tue, 7 Nov 2017 21:23:54 +0000"/>
                    </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_10030" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Epic/Theme</customfieldname>
                        <customfieldvalues>
                                        <label>e2fsprogs-1.42.13.wc6</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzznbb:</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>