Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #84551

Bug#1085762: commit identified

From Salvatore Bonaccorso <carnil@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1085762: commit identified
Date 2024-11-16 22:50 +0100
Message-ID <JJyQ1-9ppj-7@gated-at.bofh.it> (permalink)
References <JAmXL-3t2j-9@gated-at.bofh.it> <JJ0bE-948S-3@gated-at.bofh.it> <JAmXL-3t2j-9@gated-at.bofh.it> <JJ0bE-948S-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Hi,

On Fri, Nov 15, 2024 at 08:41:34AM +0000, Ulrich Teichert wrote:
> 
> Hi,
> 
> I ran a lengthy git bisect yesterday and it's this commit on the stable kernel git
> which causes the issue:
> 
> b0cde867b80a5e81fcbc0383e138f5845f2005ee is the first bad commit
> commit b0cde867b80a5e81fcbc0383e138f5845f2005ee
> Author: Kees Cook <keescook@chromium.org>
> Date:   Fri Feb 16 22:25:43 2024 -0800
>     x86: Increase brk randomness entropy for 64-bit systems
>     [ Upstream commit 44c76825d6eefee9eb7ce06c38e1a6632ac7eb7d ]
>     In commit c1d171a00294 ("x86: randomize brk"), arch_randomize_brk() was
>     defined to use a 32MB range (13 bits of entropy), but was never increased
>     when moving to 64-bit. The default arch_randomize_brk() uses 32MB for
>     32-bit tasks, and 1GB (18 bits of entropy) for 64-bit tasks.
>     Update x86_64 to match the entropy used by arm64 and other 64-bit
>     architectures.
>     Reported-by: y0un9n132@gmail.com
>     Signed-off-by: Kees Cook <keescook@chromium.org>
>     Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>     Acked-by: Jiri Kosina <jkosina@suse.com>
>     Closes: https://lore.kernel.org/linux-hardening/CA+2EKTVLvc8hDZc+2Yhwmus=dzOUG5E4gV7ayCbu0MPJTZzWkw@mail.gmail.com/
>     Link: https://lore.kernel.org/r/20240217062545.1631668-1-keescook@chromium.org
>     Signed-off-by: Sasha Levin <sashal@kernel.org>
> 
> When I revert it, I can run pbuilder for ARM64 builds all day and it never crashes.

Thanks for bisecting it, I think it makes now sense to bring this to
upstream as I see there is not commit in mainline with fixes tag on
the commit.

Can you report it upstream? Make sure to include as well the
regressions list. At least the above people touching the commit should
as well be included.

Regards,
Salvatore

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1085762: commit identified Ulrich Teichert <ulrich.teichert@kumkeo.de> - 2024-11-15 09:50 +0100
  Bug#1085762: commit identified Salvatore Bonaccorso <carnil@debian.org> - 2024-11-16 22:50 +0100
    Bug#1085762: AW: Re: Bug#1085762: commit identified Salvatore Bonaccorso <carnil@debian.org> - 2024-11-18 09:10 +0100
      Processed: Re: AW: Re: Bug#1085762: commit identified "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-11-18 09:10 +0100
    Bug#1085762: AW: Re: Bug#1085762: commit identified Salvatore Bonaccorso <carnil@debian.org> - 2024-11-20 08:10 +0100
    Bug#1085762: AW: Re: Bug#1085762: commit identified Uwe Kleine-König <u.kleine-koenig@baylibre.com> - 2024-11-20 09:30 +0100
      Bug#1085762: AW: Bug#1085762: AW: Re: Bug#1085762: commit identified Uwe Kleine-König <u.kleine-koenig@baylibre.com> - 2024-11-20 12:00 +0100

csiph-web