From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 401F8397305B; Fri, 15 May 2020 06:44:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 401F8397305B From: "wangxuszcn at foxmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug malloc/25945] ASLR information leak via Safe-Linking and tcache or fastbin chunks. Date: Fri, 15 May 2020 06:44:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: malloc X-Bugzilla-Version: 2.26 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wangxuszcn at foxmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security? X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 May 2020 06:44:04 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D25945 --- Comment #11 from wangxu --- Created attachment 12540 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D12540&action=3Ded= it patch2(tcache,fast,small,large,unsorted) and bench-malloc-xxx test result (In reply to wangxu from comment #10) > Created attachment 12538 [details] > patch and bench-malloc-xxx test result >=20 > Hi Carlos > Sorry for late reply. > I just clear other pointer from tcache and fastbin(without small,large). >=20 > 1. bench-malloc-simple-[8-64] looks like better performance than before. > 2. bench-malloc-simple-[128-4096] and bench-malloc-thread-xx are almost t= he > same. >=20 > Attachment is the results of two rounds testing of bench-malloc-simple and > bench-malloc-thread. Hi Carlos If clear pointer from tcache,fast-small-large-unsorted bin. 1. bench-malloc-simple-[8-64] look better than before. 2. bench-malloc-simple-[128-1024] are almost the same. 3. bench-malloc-simple-[2048-4096] are slightly bad. 3. bench-malloc-thread-[6-32] need more than about 10% max_rss than before. Attachment file is "patch2(tcache,fast,small,large,unsorted) and bench-malloc-xxx test result.zip" Taking into account the severity of the issue, the performance of the two patches, I suggest consider only tcache and fastbin. Thanks for any other suggestions. --=20 You are receiving this mail because: You are on the CC list for the bug.=